The AP Aging object
An extracted accounts payable aging report, in summary or detail form.
The retrieve endpoint returns this object on its own. The list endpoint
returns one per document, wrapped as
{ "borrower_id": …, "agings": [ { "extracted_document_id", "document_category", "report_data" } ] },
and takes ?form=summary or ?form=detail to keep one form.
report_subtype is summary or detail and decides the shape: a summary
carries one row per vendor in customers (the key is shared with AR agings)
with the aging buckets as printed, a detail carries transactions with
customer_subtotals. grand_totals carries the totals the document prints
and computed_totals the same totals taken over the rows, so the two can be
compared.
The documents behind this object carry document_category ap, accounts_payable, ap_aging_platform, ap_aging, accounts_payable_summary, accounts_payable_detail, ap_aging_detail, ap_detail_platform or ap_detail. Money keys are JSON strings with exactly two decimals ("9200000.00", "-1250.50"). Date keys are as printed on the document unless a key’s Type column states a format.
report_subtype says which shape follows. Each shape’s fields are listed under its own heading.
Summary
A summary aging: one row per counterparty with the balance per aging column.
computed_totals
The counterparty rows added together, column by column, beside the printed totals.
bucket_columns[]
One aged column as the report prints it.
formula_census
Present when the report is a workbook whose printed total is a cell the workbook computes itself from only some of its rows, rather than a typed value: how many rows that total covers, how many it leaves out, and what those left out add up to, so the rows and the printed total can be read together.
Detail
A detail aging: one row per open transaction.
transactions[]
One open transaction on a detail aging.
customer_subtotals[]
One counterparty’s subtotal on a detail aging.
computed_totals
The transaction rows added together.
Shared objects
Object types that several keys above carry. The Type column names them.
AgingCustomerRow
One counterparty row of a summary aging: a customer on a receivables aging, a vendor on a payables aging. A column the report prints beyond the standard tiers appears under its own bucket_ key.
AgingGrandTotals
The report’s own printed totals row. Each aged column the report prints beyond the standard five carries its own key.
AgingSignal
A note about the report’s as-of date.