invoices.aging

Accounts receivable aging (limit is accepted and ignored; totals include every open invoice): every open invoice's balance by how late it is (current, 1-30, 31-60, 61-90, over 90 days past due), with totals per customer (owner or office); an invoice with no due date is due when sent.

WhoAgents can call this
RESTGET /v1/invoices/aging
MCP toolinvoices_aging
Writesno
AreaShop

When to use it

Accounts receivable aging (limit is accepted and ignored; totals include every open invoice): every open invoice's balance by how late it is (current, 1-30, 31-60, 61-90, over 90 days past due), with totals per customer (owner or office); an invoice with no due date is due when sent.

What to tell the owner

Tell them what you found in plain words. Don't read back raw fields.

Input

FieldTypeRequired
shop_idstring (uuid)yes
as_ofstringno
limitintegerno

Example

GET https://doingwork.work/v1/invoices/aging?shop_id=00000000-0000-4000-8000-000000000000

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.