Agedreceivable data model
View field support, webhooks, and list parameters for each integration on the Supported Integrations page.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | synthetic, one row per currency / date window |
created_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
updated_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
currency | string | No | ISO 4217 |
start_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
end_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
total_current_amount | number | No | open balances not yet past due; distinct from the first past-due period |
total_overdue_amount | number | No | sum of open balances across all past-due periods |
total_amount | number | No | |
periods | AccountingAgedPeriod[] | No | |
periods[].name | string | No | |
periods[].start_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
periods[].end_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
periods[].total_amount | number | No | |
periods[].sub_items | AccountingAgedRow[] | No | |
periods[].sub_items[].contact | AccountingAgedRow_contact | No | |
periods[].sub_items[].contact.id | string | No | |
periods[].sub_items[].contact.name | string | No | |
periods[].sub_items[].transaction | AccountingAgedRow_transaction | No | |
periods[].sub_items[].transaction.id | string | No | |
periods[].sub_items[].transaction.name | string | No | |
periods[].sub_items[].posted_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
periods[].sub_items[].due_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
periods[].sub_items[].total_amount | number | No | |
periods[].sub_items[].balance_amount | number | No | |
organization_id | string | No | |
metadata | AccountingMetadata[] | No | |
metadata[].id | string | No | The ID of the custom field definition (from the metadata/metadata endpoint). |
metadata[].slug | string | No | The integration's API name (key) of an existing custom field. List valid slugs for this object with the metadata/metadata endpoint; unknown slugs are rejected by the integration. |
metadata[].value | object | No | The field's value, typed by format: DATE as ISO-8601 (YYYY-MM-DD, or YYYY-MM-DDTHH:MM:SSZ for date-times); NUMBER, PRICE and CURRENCY as a number; BOOLEAN and YES_NO as true/false; MULTIPLE_SELECT as an array of option values; otherwise a string. |
metadata[].namespace | string | No | |
metadata[].format | enum | No | The data type of the custom field, which determines how value is formatted. Values: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE_SELECT, MULTIPLE_SELECT, MEASUREMENT, PRICE, YES_NO, CURRENCY, URL |
metadata[].extra_data | object | No |
Are we missing anything? Let us know
Was this page helpful?