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

Parameters: list_bills
NameTypeDescription
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
curl https://cotlet.dev/api/v1/myob/bills \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("myob", "list_bills")
Node.js
const result = await cotlet.call('myob', 'list_bills');
CLI
cotlet call myob list_bills

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.