latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-041561443.9 MB

791e242d1faf

Accounts receivable

List invoices

The List invoices endpoint returns a list of invoices for a given company's connection.

Invoices are itemized records of goods sold or services provided to a customer.

Before using this endpoint, you must have retrieved data for the company.

Useful queries

  • Outstanding invoices - query = amountDue > 0
  • Invoices due after a certain date: query = dueDate > 2021-01-28

Read more about querying.

Tips and traps

To access the paymentAllocations property, ensure that the payments data type is queued and cached in Codat before retrieving invoices from Codat's cache.

get/companies/{companyId}/data/invoices

Query parameters

pageinteger
Example:1

Page number. Read more.

pageSizeinteger
Example:100

Number of records to return in a page. Read more.

querystring

Codat query string. Read more.

orderBystring
Example:-modifiedDate

Field to order results by. Read more.

Response

Success

AccountingInvoices required— unresolved $ref