200 Successful Response
Schema: InvoiceAgingResponse
-
as_of_datestring required -
Report date in YYYY-MM-DD format.
-
customersarray · AgingCustomerSummary requiredAgingCustomerSummary -
Per-customer aging summary rows.
8 fields
-
customer_idstring -
customer_namestring -
currentinteger -
days_1_30integer -
days_31_60integer -
days_61_90integer -
days_91_plusinteger -
totalinteger
-
-
invoicesarray · AgingInvoiceItem requiredAgingInvoiceItem -
Individual invoices with aging bucket for drill-down.
11 fields
-
idstring required -
invoice_numberstring -
customer_idstring required -
customer_namestring -
statusstring required -
totalinteger required -
Invoice total in cents.
-
total_paidinteger -
Total paid in cents.
-
balance_dueinteger required -
Remaining balance in cents.
-
due_datestring -
days_past_dueinteger -
bucketstring required -
Aging bucket: 'current', '1_30', '31_60', '61_90', '91_plus'.
-
-
totalsAgingCustomerSummary requiredAgingCustomerSummary -
Grand totals across all customers.
8 fields
-
customer_idstring -
customer_namestring -
currentinteger -
days_1_30integer -
days_31_60integer -
days_61_90integer -
days_91_plusinteger -
totalinteger
-