Tenant Sales
The tenant's own sales labels mapped to the org's categories, each over a half-open [effective_from, effective_to) range. Used by CSV import.
Required scope: sales:read
Pagination: none
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/sales-category-mappings'{ "data": [ { "effective_from": "2019-08-24", "effective_to": "2019-08-24", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704", "source_label": "string" } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Full replacement; [] clears them. effective_to is exclusive and null for open-ended. One source label may not map twice on the same day.
Required scope: sales:write
Error codes: VALIDATION_FAILED, NOT_FOUND, SALES_CONFIG_INVALID
access-tokenAuthorizationBearer <token>id*stringapplication/json- body
mappings*array<>application/json- response
data*array<>meta*curl -X PUT 'https://api.acreum.io/v1/contracts/string/sales-category-mappings' \ -H 'Content-Type: application/json' \ -d '{ "mappings": [ { "effective_from": "2019-08-24", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704", "source_label": "string" } ]}'{ "data": [ { "effective_from": "2019-08-24", "effective_to": "2019-08-24", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704", "source_label": "string" } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}The reporting obligation: cadence, due days, annual statement terms, measurement basis and the required categories with their allowed deductions. effective_reporting_start_date is the stored start, else the lease anchor (rent commencement, else start date). 404 SALES_CONFIG_NOT_FOUND when the lease does not report sales.
Required scope: sales:read
Error codes: NOT_FOUND, SALES_CONFIG_NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/sales-config'{ "data": { "annual_statement_certified": true, "annual_statement_due_days": 0, "annual_statement_required": true, "categories": [ { "allowed_deductions": [ "sales_tax" ], "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "effective_reporting_start_date": "2019-08-24", "fiscal_year_end_month": 1, "measurement_basis": "lease_year", "reminder_emails": "inherit", "report_due_days": 0, "reporting_cadence": "monthly", "reporting_start_date": "2019-08-24" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Full replacement, so PUT: an omitted optional field takes its default (monthly, due 20 days after period end, annual statement required and due 60 days after the measurement year, not certified, calendar year, reminder emails inherit the org switch), and allowed_deductions defaults to sales tax and returns. The category list replaces the old one. Every category must be an active category of the org. 422 SALES_CONFIG_INVALID when a calendar change (cadence, basis, fiscal month, reporting start, annual statement) would take a submitted report off the reporting calendar; errors[] names each period. 422 SALES_CONFIG_NOT_A_LEASE when the contract is not a lease: only a lease reports sales.
Required scope: sales:write
Error codes: VALIDATION_FAILED, NOT_FOUND, SALES_CONFIG_INVALID, SALES_CONFIG_NOT_A_LEASE
access-tokenAuthorizationBearer <token>id*stringapplication/json- body
annual_statement_certified?booleanfalseannual_statement_due_days?number0 <= value60annual_statement_required?booleantruecategories*array<>At least one; each category at most once.
fiscal_year_end_month?|Required (1-12) exactly when measurement_basis is tenant_fiscal.
1 <= value <= 12measurement_basis?string"calendar_year""lease_year""calendar_year""tenant_fiscal"reminder_emails?string"inherit""inherit""on""off"report_due_days?number0 <= value20reporting_cadence?string"monthly""monthly""quarterly""annual"reporting_start_date?|Omit or null to derive it from the lease.
dateapplication/json- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/contracts/string/sales-config' \ -H 'Content-Type: application/json' \ -d '{ "categories": [ { "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ]}'{ "data": { "annual_statement_certified": true, "annual_statement_due_days": 0, "annual_statement_required": true, "categories": [ { "allowed_deductions": [ "sales_tax" ], "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "effective_reporting_start_date": "2019-08-24", "fiscal_year_end_month": 1, "measurement_basis": "lease_year", "reminder_emails": "inherit", "report_due_days": 0, "reporting_cadence": "monthly", "reporting_start_date": "2019-08-24" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Every reminder email sent (or attempted) for the lease, newest first: its report period, kind, sequence, status, the addresses it went to, attempts and the last error. search matches the last error.
Required scope: sales:read
Pagination: cursor
Error codes: NOT_FOUND, INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>id*stringcursor?stringlimit?number1..100, default 100
1 <= value <= 100sort?stringDefault: -created_at
"-created_at""created_at"search?stringCase-insensitive substring match on: error.
ids?stringUp to 100 ids; returns those rows regardless of other filters and ignores search.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/sales/reminders'{ "data": [ { "attempt_count": 0, "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "error": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_annual_statement": true, "kind": "due_soon", "period_end": "2019-08-24", "period_start": "2019-08-24", "recipients": [ "string" ], "sent_at": "2019-08-24T14:15:22Z", "sequence": 0, "status": "pending" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Reported sales by period and category (current submitted versions, last 24 months, newest first) with year-over-year change, plus the trailing 12 whole months: total sales, sales per square foot, the pre-tax subtotal of posted contract invoices minus contract credit memos (rent and the charges on the rent invoice; year-end recovery reconciliations excluded), and occupancy cost % (billed ÷ sales). Ratios are exact, 2 decimals, rounded half-up. 404 SALES_CONFIG_NOT_FOUND when the lease does not report sales.
Required scope: sales:read
Error codes: VALIDATION_FAILED, NOT_FOUND, SALES_CONFIG_NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/contracts/string/sales/summary'{ "data": { "as_of": "2019-08-24", "breakpoint_progress": {}, "currency_code": "USD", "occupancy_cost_pct": "8.00", "periods": [ { "by_category": [ { "name": "string", "qualifying_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "period_end": "2019-08-24", "period_start": "2019-08-24", "prior_year_total": "1234.50", "qualifying_total": "1234.50", "version": 0, "yoy_change_pct": "8.00" } ], "rentable_sqft": "1000.00", "sales_per_sqft": "120.00", "trailing_12_billed": "1234.50", "trailing_12_total": "1234.50" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}The org's sales categories, active and inactive unless is_active filters them. search matches code or name.
Required scope: sales:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>is_active?booleanFilter by active state. Omit to return both.
cursor?stringlimit?number1..100, default 100
1 <= value <= 100sort?stringDefault: name
"name""code"search?stringCase-insensitive substring match on: name, code.
ids?stringUp to 100 ids; returns those rows regardless of other filters and ignores search.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/sales/categories'{ "data": [ { "code": "string", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_active": true, "name": "string", "updated_at": "2019-08-24T14:15:22Z" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Adds a category. code is upper snake case and unique per org, inactive categories included.
Required scope: sales:write
Error codes: VALIDATION_FAILED, SALES_CATEGORY_CODE_TAKEN, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>Idempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
code*stringUpper snake case, unique per org.
^[A-Z][A-Z0-9_]*$1 <= length <= 64name*string1 <= length <= 128application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/sales/categories' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "code": "string", "name": "string"}'{ "data": { "code": "string", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_active": true, "name": "string", "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Renames, deactivates or reactivates a category. The code is fixed. Deactivating keeps every config and report that uses it intact; a config cannot newly require an inactive category.
Required scope: sales:write
Error codes: VALIDATION_FAILED, SALES_CATEGORY_NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- body
is_active?booleanSet false to retire the category; categories are never deleted.
name?string1 <= length <= 128application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/sales/categories/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "code": "string", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_active": true, "name": "string", "updated_at": "2019-08-24T14:15:22Z" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Newest first by default, each with its outcome counts as of now. search matches the file name.
Required scope: sales:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>status?string"open""committed""discarded"cursor?stringlimit?number1..100, default 100
1 <= value <= 100sort?stringDefault: -created_at
"-created_at""created_at"search?stringCase-insensitive substring match on: file_name.
ids?stringUp to 100 ids; returns those rows regardless of other filters and ignores search.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/sales/imports'{ "data": [ { "committed_at": "2019-08-24T14:15:22Z", "counts": { "blocked": 0, "committed": 0, "ready": 0, "restatement": 0 }, "created_at": "2019-08-24T14:15:22Z", "discarded_at": "2019-08-24T14:15:22Z", "file_name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "row_count": 0, "status": "open", "updated_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Parses the CSV and stages its rows for review; nothing is reported until commit. Columns: contract_ref (contract id or external ref), period_start, period_end (YYYY-MM-DD or M/D/YYYY), category (a category code or name, or a label mapped on the lease's /sales-category-mappings), gross, and optional deduction columns named by deduction type. Header names are case-insensitive; other columns are ignored. At most 2 MiB and 5,000 rows. The same file cannot be uploaded twice while its import is open or committed.
Required scope: sales:write
Error codes: VALIDATION_FAILED, EMPTY_FILE, SALES_IMPORT_NOT_CSV, SALES_IMPORT_TOO_LARGE, SALES_IMPORT_FILE_INVALID, SALES_IMPORT_DUPLICATE_FILE, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>Idempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255multipart/form-data- body
file*unknownThe CSV.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/sales/imports' \ -H 'Idempotency-Key: string' \ -F 'file=null'{ "data": { "committed_at": "2019-08-24T14:15:22Z", "counts": { "blocked": 0, "committed": 0, "ready": 0, "restatement": 0 }, "created_at": "2019-08-24T14:15:22Z", "discarded_at": "2019-08-24T14:15:22Z", "file_name": "string", "groups": [ { "blocked_by": { "code": "INVALID_DATE", "message": "string" }, "committed_report_id": "198d4e75-e95b-4ab5-9692-cad0eb4e9749", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "contract_title": "string", "is_annual_statement": true, "lines": [ { "deductions": { "property1": "string", "property2": "string" }, "gross_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "outcome": "ready", "period_end": "2019-08-24", "period_start": "2019-08-24", "prior_report_id": "b0ef8651-8992-480e-9b5c-31371fe53c1d", "row_numbers": [ 0 ] } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "row_count": 0, "rows": [ { "issue": { "code": "INVALID_DATE", "message": "string" }, "raw": { "property1": "string", "property2": "string" }, "row_number": 0, "status": "pending" } ], "status": "open", "updated_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}The import, its rows, and one group per (contract, period) saying what committing would do: ready (a new report), restatement (a new version of a submitted report), blocked (with the reason), or committed. Evaluated live: a mapping added since upload applies.
Required scope: sales:read
Error codes: SALES_IMPORT_NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/sales/imports/string'{ "data": { "committed_at": "2019-08-24T14:15:22Z", "counts": { "blocked": 0, "committed": 0, "ready": 0, "restatement": 0 }, "created_at": "2019-08-24T14:15:22Z", "discarded_at": "2019-08-24T14:15:22Z", "file_name": "string", "groups": [ { "blocked_by": { "code": "INVALID_DATE", "message": "string" }, "committed_report_id": "198d4e75-e95b-4ab5-9692-cad0eb4e9749", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "contract_title": "string", "is_annual_statement": true, "lines": [ { "deductions": { "property1": "string", "property2": "string" }, "gross_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "outcome": "ready", "period_end": "2019-08-24", "period_start": "2019-08-24", "prior_report_id": "b0ef8651-8992-480e-9b5c-31371fe53c1d", "row_numbers": [ 0 ] } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "row_count": 0, "rows": [ { "issue": { "code": "INVALID_DATE", "message": "string" }, "raw": { "property1": "string", "property2": "string" }, "row_number": 0, "status": "pending" } ], "status": "open", "updated_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Re-evaluates the import and submits one csv report per group that is ready (a restatement supersedes the period's submitted version). Blocked groups stay pending: fix them (map a label, fix the lease) and commit again. The import becomes committed once nothing is pending. Nothing ready is not an error: the review comes back as is.
Required scope: sales:write
Error codes: SALES_IMPORT_NOT_FOUND, SALES_IMPORT_NOT_OPEN, SALES_IMPORT_CONFLICT, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/sales/imports/string/commit' \ -H 'Idempotency-Key: string'{ "data": { "committed_at": "2019-08-24T14:15:22Z", "counts": { "blocked": 0, "committed": 0, "ready": 0, "restatement": 0 }, "created_at": "2019-08-24T14:15:22Z", "discarded_at": "2019-08-24T14:15:22Z", "file_name": "string", "groups": [ { "blocked_by": { "code": "INVALID_DATE", "message": "string" }, "committed_report_id": "198d4e75-e95b-4ab5-9692-cad0eb4e9749", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "contract_title": "string", "is_annual_statement": true, "lines": [ { "deductions": { "property1": "string", "property2": "string" }, "gross_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "outcome": "ready", "period_end": "2019-08-24", "period_start": "2019-08-24", "prior_report_id": "b0ef8651-8992-480e-9b5c-31371fe53c1d", "row_numbers": [ 0 ] } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "row_count": 0, "rows": [ { "issue": { "code": "INVALID_DATE", "message": "string" }, "raw": { "property1": "string", "property2": "string" }, "row_number": 0, "status": "pending" } ], "status": "open", "updated_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Skips every pending row and closes the import. Reports already committed from it stay. Refused unless the import is open.
Required scope: sales:write
Error codes: SALES_IMPORT_NOT_FOUND, SALES_IMPORT_NOT_OPEN
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/sales/imports/string/discard'{ "data": { "committed_at": "2019-08-24T14:15:22Z", "counts": { "blocked": 0, "committed": 0, "ready": 0, "restatement": 0 }, "created_at": "2019-08-24T14:15:22Z", "discarded_at": "2019-08-24T14:15:22Z", "file_name": "string", "groups": [ { "blocked_by": { "code": "INVALID_DATE", "message": "string" }, "committed_report_id": "198d4e75-e95b-4ab5-9692-cad0eb4e9749", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "contract_title": "string", "is_annual_statement": true, "lines": [ { "deductions": { "property1": "string", "property2": "string" }, "gross_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "outcome": "ready", "period_end": "2019-08-24", "period_start": "2019-08-24", "prior_report_id": "b0ef8651-8992-480e-9b5c-31371fe53c1d", "row_numbers": [ 0 ] } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "row_count": 0, "rows": [ { "issue": { "code": "INVALID_DATE", "message": "string" }, "raw": { "property1": "string", "property2": "string" }, "row_number": 0, "status": "pending" } ], "status": "open", "updated_at": "2019-08-24T14:15:22Z", "uploaded_by": "e134ce2c-a199-4e99-9c11-627b70a7ff28" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Emails the tenant's contacts that receive notices a reminder for one expected report on the lease's calendar, whether or not automatic reminders are on (kind manual, the next free sequence). Returns the send row, failed when the email provider refused it. 422 SALES_REMINDER_NOT_OWED for a period off the calendar, not yet ended, or already received (a period covered only by an estimate is still owed); 422 SALES_REMINDER_NO_RECIPIENT when the tenant has no active contact that receives notices.
Required scope: sales:write
Error codes: VALIDATION_FAILED, NOT_FOUND, SALES_CONFIG_NOT_FOUND, SALES_REMINDER_NOT_OWED, SALES_REMINDER_NO_RECIPIENT
access-tokenAuthorizationBearer <token>application/json- body
contract_id*stringuuidis_annual_statement?booleanTrue for the annual statement of a measurement year.
falseperiod_end*stringdateperiod_start*stringdateapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/sales/reminders/send' \ -H 'Content-Type: application/json' \ -d '{ "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "period_end": "2019-08-24", "period_start": "2019-08-24"}'{ "data": { "attempt_count": 0, "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "error": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_annual_statement": true, "kind": "due_soon", "period_end": "2019-08-24", "period_start": "2019-08-24", "recipients": [ "string" ], "sent_at": "2019-08-24T14:15:22Z", "sequence": 0, "status": "pending" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Every version of every report, newest period first by default. from_date/to_date filter on period_end. Lines are not included; read one report for its lines and qualifying sales.
Required scope: sales:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>contract_id?stringuuidstatus?string"draft""submitted""superseded""verified"from_date?stringOnly reports whose period ends on or after this date.
dateto_date?stringOnly reports whose period ends on or before this date.
dateis_annual_statement?booleanAnnual statements only (true) or periods only (false).
cursor?stringlimit?number1..100, default 100
1 <= value <= 100sort?stringDefault: -period_start
"-period_start""period_start"search?stringCase-insensitive substring match on: notes.
ids?stringUp to 100 ids; returns those rows regardless of other filters and ignores search.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/sales/reports'{ "data": [ { "certified_at": "2019-08-24T14:15:22Z", "certified_by": "string", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_annual_statement": true, "notes": "string", "period_end": "2019-08-24", "period_start": "2019-08-24", "source": "manual", "status": "draft", "submitted_at": "2019-08-24T14:15:22Z", "submitted_by": "6703ac2f-9eb5-40e9-9fde-511b2dbf4be5", "superseded_by_id": "6b86439a-ba84-4137-9924-cffddd52399a", "updated_at": "2019-08-24T14:15:22Z", "version": 0 } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}A manual version-1 draft for one period on the lease's reporting calendar (or one measurement year with is_annual_statement). Lines may be partial. Refused for an off-calendar period, a period that already has a real submitted version (restate it instead) or a draft. A period holding only an estimate is not refused: the draft is version 2 and submitting it replaces the estimate.
Required scope: sales:write
Error codes: VALIDATION_FAILED, NOT_FOUND, SALES_CONFIG_NOT_FOUND, SALES_REPORT_OFF_CALENDAR, SALES_REPORT_LINES_INVALID, SALES_REPORT_PERIOD_ALREADY_REPORTED, SALES_REPORT_DRAFT_EXISTS
access-tokenAuthorizationBearer <token>application/json- body
contract_id*stringuuidis_annual_statement?booleanTrue for the annual statement of a measurement year.
falselines?array<>Category lines; may be partial on a draft. Submit requires every category the config requires.
notes?|length <= 2000period_end*stringdateperiod_start*stringdateapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/sales/reports' \ -H 'Content-Type: application/json' \ -d '{ "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "period_end": "2019-08-24", "period_start": "2019-08-24"}'{ "data": { "certified_at": "2019-08-24T14:15:22Z", "certified_by": "string", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_annual_statement": true, "lines": [ { "deductions": { "returns": "25.00", "sales_tax": "80.00" }, "gross_amount": "1234.50", "qualifying_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "notes": "string", "period_end": "2019-08-24", "period_start": "2019-08-24", "qualifying_total": "1234.50", "source": "manual", "status": "draft", "submitted_at": "2019-08-24T14:15:22Z", "submitted_by": "6703ac2f-9eb5-40e9-9fde-511b2dbf4be5", "superseded_by_id": "6b86439a-ba84-4137-9924-cffddd52399a", "updated_at": "2019-08-24T14:15:22Z", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}One submitted report per contract (1-500, each contract once) for one regular period — the bulk entry grid. All or nothing: every row is validated first, and any failure answers 422 SALES_REPORT_BULK_INVALID naming each failing row in context.errors and writes nothing. Each period must have no real submitted version and no draft. A period holding an estimate is replaced: the estimate is superseded by the submitted report.
Required scope: sales:write
Error codes: VALIDATION_FAILED, SALES_REPORT_BULK_INVALID
access-tokenAuthorizationBearer <token>application/json- body
period_end*stringdateperiod_start*stringdatereports*array<>1 <= items <= 500application/json- response
data*array<>meta*curl -X POST 'https://api.acreum.io/v1/sales/reports/bulk' \ -H 'Content-Type: application/json' \ -d '{ "period_end": "2019-08-24", "period_start": "2019-08-24", "reports": [ { "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "lines": [ { "gross_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ] } ]}'{ "data": [ { "certified_at": "2019-08-24T14:15:22Z", "certified_by": "string", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_annual_statement": true, "lines": [ { "deductions": { "returns": "25.00", "sales_tax": "80.00" }, "gross_amount": "1234.50", "qualifying_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "notes": "string", "period_end": "2019-08-24", "period_start": "2019-08-24", "qualifying_total": "1234.50", "source": "manual", "status": "draft", "submitted_at": "2019-08-24T14:15:22Z", "submitted_by": "6703ac2f-9eb5-40e9-9fde-511b2dbf4be5", "superseded_by_id": "6b86439a-ba84-4137-9924-cffddd52399a", "updated_at": "2019-08-24T14:15:22Z", "version": 0 } ], "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}One report version with its lines. qualifying_amount per line and qualifying_total use the lease's current allowed deductions.
Required scope: sales:read
Error codes: VALIDATION_FAILED, SALES_REPORT_NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/sales/reports/string'{ "data": { "certified_at": "2019-08-24T14:15:22Z", "certified_by": "string", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_annual_statement": true, "lines": [ { "deductions": { "returns": "25.00", "sales_tax": "80.00" }, "gross_amount": "1234.50", "qualifying_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "notes": "string", "period_end": "2019-08-24", "period_start": "2019-08-24", "qualifying_total": "1234.50", "source": "manual", "status": "draft", "submitted_at": "2019-08-24T14:15:22Z", "submitted_by": "6703ac2f-9eb5-40e9-9fde-511b2dbf4be5", "superseded_by_id": "6b86439a-ba84-4137-9924-cffddd52399a", "updated_at": "2019-08-24T14:15:22Z", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Draft only. lines, when sent, replaces every line. A submitted report answers 409 SALES_REPORT_NOT_DRAFT: restate it instead.
Required scope: sales:write
Error codes: VALIDATION_FAILED, SALES_REPORT_NOT_FOUND, SALES_CONFIG_NOT_FOUND, SALES_REPORT_NOT_DRAFT, SALES_REPORT_LINES_INVALID
access-tokenAuthorizationBearer <token>id*stringapplication/json- body
certified_at?|date-timecertified_by?|Who certified an annual statement (name and title).
length <= 200lines?array<>Replaces every line of the draft; [] clears them.
notes?|length <= 2000application/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/sales/reports/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "certified_at": "2019-08-24T14:15:22Z", "certified_by": "string", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_annual_statement": true, "lines": [ { "deductions": { "returns": "25.00", "sales_tax": "80.00" }, "gross_amount": "1234.50", "qualifying_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "notes": "string", "period_end": "2019-08-24", "period_start": "2019-08-24", "qualifying_total": "1234.50", "source": "manual", "status": "draft", "submitted_at": "2019-08-24T14:15:22Z", "submitted_by": "6703ac2f-9eb5-40e9-9fde-511b2dbf4be5", "superseded_by_id": "6b86439a-ba84-4137-9924-cffddd52399a", "updated_at": "2019-08-24T14:15:22Z", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}:id must be the period's current submitted version. Creates a draft version + 1 with its lines copied; submitting that draft supersedes :id. Refused while the period already has a draft.
Required scope: sales:write
Error codes: VALIDATION_FAILED, SALES_REPORT_NOT_FOUND, SALES_REPORT_NOT_CURRENT, SALES_REPORT_DRAFT_EXISTS
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/sales/reports/string/restate'{ "data": { "certified_at": "2019-08-24T14:15:22Z", "certified_by": "string", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_annual_statement": true, "lines": [ { "deductions": { "returns": "25.00", "sales_tax": "80.00" }, "gross_amount": "1234.50", "qualifying_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "notes": "string", "period_end": "2019-08-24", "period_start": "2019-08-24", "qualifying_total": "1234.50", "source": "manual", "status": "draft", "submitted_at": "2019-08-24T14:15:22Z", "submitted_by": "6703ac2f-9eb5-40e9-9fde-511b2dbf4be5", "superseded_by_id": "6b86439a-ba84-4137-9924-cffddd52399a", "updated_at": "2019-08-24T14:15:22Z", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Draft only; every category the config requires must have a line. The period's submitted version, if any, becomes superseded with superseded_by_id set to this report, in the same transaction.
Required scope: sales:write
Error codes: VALIDATION_FAILED, SALES_REPORT_NOT_FOUND, SALES_CONFIG_NOT_FOUND, SALES_REPORT_NOT_DRAFT, SALES_REPORT_LINES_INVALID, SALES_REPORT_PERIOD_ALREADY_REPORTED, SALES_REPORT_DRAFT_EXISTS
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/sales/reports/string/submit'{ "data": { "certified_at": "2019-08-24T14:15:22Z", "certified_by": "string", "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "created_at": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_annual_statement": true, "lines": [ { "deductions": { "returns": "25.00", "sales_tax": "80.00" }, "gross_amount": "1234.50", "qualifying_amount": "1234.50", "sales_category_id": "2cf259a7-9720-47c9-a4e7-a641ae172704" } ], "notes": "string", "period_end": "2019-08-24", "period_start": "2019-08-24", "qualifying_total": "1234.50", "source": "manual", "status": "draft", "submitted_at": "2019-08-24T14:15:22Z", "submitted_by": "6703ac2f-9eb5-40e9-9fde-511b2dbf4be5", "superseded_by_id": "6b86439a-ba84-4137-9924-cffddd52399a", "updated_at": "2019-08-24T14:15:22Z", "version": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}A tenant × period grid: one row per lease with a sales config, one cell per expected report (period or annual statement) overlapping [from_date, to_date], with its due date, derived status, days late and the current version's qualifying total. Statuses are judged on the org's local today. Rows are sorted by property name, then tenant name. Not paged: one envelope for the whole grid; the window is at most 36 months (400 VALIDATION_FAILED beyond that, or when from_date is after to_date).
Required scope: sales:read
Error codes: VALIDATION_FAILED
access-tokenAuthorizationBearer <token>property_id?stringOnly leases with a location on this property.
uuidfrom_date?stringWindow start. Defaults to the first day of the month 11 months before to_date, so the default window is 12 calendar months.
dateto_date?stringWindow end. Defaults to the org's today (its time zone). The window is at most 36 months.
dateapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/sales/tracker'{ "data": { "as_of": "2019-08-24", "from_date": "2019-08-24", "rows": [ { "cells": [ { "days_late": 0, "due_date": "2019-08-24", "is_annual_statement": true, "last_reminder": { "kind": "due_soon", "sent_at": "2019-08-24T14:15:22Z", "sequence": 0, "status": "pending" }, "period_end": "2019-08-24", "period_start": "2019-08-24", "qualifying_total": "1234.50", "reminder_count": 0, "report_id": "5ed7905a-4735-4cf7-b1ab-521e066fb971", "status": "upcoming", "version": 0 } ], "contract_id": "9aafc1a8-e497-46c9-ba0b-bd5b03c353e4", "contract_name": "string", "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5", "property_name": "string", "space_label": "string", "tenant_name": "string" } ], "to_date": "2019-08-24" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}