List invoices
Sales invoices with customer, dates, total and balance due, filtered by status.
GET https://cotlet.dev/api/v1/myob/invoices
read
Returns sales invoices, newest first. Status open means unpaid, closed means paid, credit means a negative sale, and overdue returns the open invoices past their due date, the same list as Sales > Invoices > Overdue in MYOB. Each item carries the balance due and the days overdue, so a script can sort without a second call. Pages hold up to 100 invoices.
Parameters
| Name | Type | Description |
|---|---|---|
| status enum | enum | all, open, overdue, closed or credit. Default: all. |
| customer_id string | string | Only invoices for this customer. |
| due_before date | date | Only invoices with a due date before this date. |
| limit integer | integer | 1 to 100. Default: 50. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/myob/invoices \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("myob", "list_invoices") const result = await cotlet.call('myob', 'list_invoices'); cotlet call myob list_invoices Example response
{
"invoices": [
{
"invoice_number": "00000139",
"customer_id": "CUS000014",
"customer": "Coast Hardware",
"date": "2026-09-02",
"due_date": "2026-09-16",
"total": 1320,
"balance_due": 1320,
"status": "open",
"days_overdue": 28
}
],
"next_cursor": null
}