Private preview of the new site. Not live.

reports.owed

Money customers still owe on sent invoices, grouped by how long ago each invoice went out: 0 to 30, 31 to 60, 61 to 90 and over 90 days.

WhoAgents can call this
RESTGET /v1/reports/owed
MCP toolreports_owed
Writesno
AreaCosts, expenses and reports

When to use it

Money customers still owe on sent invoices, grouped by how long ago each invoice went out: 0 to 30, 31 to 60, 61 to 90 and over 90 days.

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

Example

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

Output

FieldTypeAlways there
bucketsarrayyes
invoicesintegeryes
{
  "buckets": [
    {}
  ],
  "invoices": 1
}

Errors

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