• AI reference · Always listed
invoices
See invoices. See invoices, read only: draft, open, late or paid, or one person's, newest first. A paid one has paid_on (the day it was paid); test: true means Stripe's test mode paid it: never count it as money in (the Money page leaves it out too).
Where it is
Always listed: call it by its name.
Does it need a yes?
Reads only: it changes nothing. Here: the invoice list.
Inputs
| Input | Type | Needed | About |
|---|---|---|---|
status | "draft" | "open" | "late" | "paid" | no | Only these (late: sent and past due). |
person_id | string | no | Only this person's. · format `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$` |
before | integer | no | The next of an earlier list: the invoices numbered below it (the list after that page). · 1 to 1000000000 |
response_format | "concise" | "detailed" | no | concise (the default): the usual fields and ids. detailed: everything. |
run_id | string | no | The run_id from start. Pass it on every call: it keeps your task held. · 1 to 100 characters |
Example
{
"name": "invoices",
"arguments": {}
}When it is refused
invalid: The input isn't right. The sentence names the field and the fix; nothing was done. Fix it and call again.not_found: No such thing in this company (a task, file, person, record). Check the number or name, or list first.not_allowed: Not without another step: the owner's yes, your own task held with pick_up, or a setting the owner turns on. The sentence says which.taken: Someone else holds it (another AI on that task). Pick another task.stale: It changed since you read it. Read it again and use the new version.failed: On our side or a service's, never your input. Try again in a minute; if it keeps failing, call report_problem.