List payables
GET/payables
Returns a cursor-paginated page of payables (accounts payable) for the workspace tied to the token's sub claim. Each row includes denormalised display names (person_name, category_name, cost_center_name) and aggregate counts (tax_charges_count, cost_center_allocations_count, attachments_count) — full child collections live in the per-resource detail endpoints. Each row also carries the settlement amounts (interest_amount, discount_amount, ticket_amount) and a derived nominal_amount = amount + interest - discount. Status is the raw DB enum (pending / paid / cancelled); derive overdue client-side via status === "pending" AND due_date < today. Default sort is due_date ascending. Requires scope finance.payables.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Page of payables plus pagination metadata.
Malformed query (unknown filter / operator, invalid limit, bad cursor).
Missing / invalid / expired / revoked token.
Token authenticated but lacks the finance.payables scope, or sub does not match any workspace.
Unhandled server error.