List bills
Supplier bills with supplier, dates, total and balance due, filtered by status.
GET https://cotlet.dev/api/v1/myob/bills
read
Returns supplier bills, newest first. Status open means unpaid, closed means paid, and debit means a negative purchase. Each item carries the supplier's invoice number, so a script can check for a bill that was already entered. Pages hold up to 100 bills.
Parameters
| Name | Type | Description |
|---|---|---|
| status enum | enum | all, open, closed or debit. Default: all. |
| supplier_id string | string | Only bills from this supplier. |
| due_before date | date | Only bills 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/bills \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("myob", "list_bills") const result = await cotlet.call('myob', 'list_bills'); cotlet call myob list_bills Example response
{
"bills": [
{
"bill_number": "00000298",
"supplier_id": "SUP000004",
"supplier": "Bayside Property",
"supplier_invoice_number": "INV-8802",
"date": "2026-09-10",
"due_date": "2026-10-10",
"total": 2200,
"balance_due": 0,
"status": "closed"
}
],
"next_cursor": null
}