Invoices
Get a paginated list of invoices with optional filtering.
For detailed information about the filtering system and available operators, refer to the Filter System Documentation.
Available Filters
Integer Filters
company_id(aliascustomer_id): Company (customer) IDsales_channel_id: Sales channel ID
String Filters
status: Invoice statussales_order.order_number: Sales order number (if sales order attached)payment_status: Payment statusapproval_status: Approval statuscustomer_po_number: Customer PO numbertag: Invoice tags
Date Filters
order_date: Date the invoice was createdship_by_date: Required ship by datedue_date: Date payment is due
DateTime Filters
created_at: When the invoice was createdupdated_at: When the invoice was last updated
Numeric Filters
total_qty: Total quantity of itemstotal: Invoice total amounttotal_shipping: Shipping costtotal_discount: Discount amounttotal_paid: Amount paidtotal_due: Amount still due
Custom Field Filters
custom_fields.{fieldName}: Filter by specific custom fields
Examples
# Find unpaid invoices over $500
?total[gt]=500.00&total_due[gt]=0
# Find invoices by a specific tag
?tag[eq]=Urgent
# Find completed invoices from last month
?status[eq]=completed&created_at[gte]=2024-11-01 00:00:00
# Find invoices with specific PO numbers
?customer_po_number[contains]=INV-123
# Find invoices by custom fields
?custom_fields.My Custom Field[eq]=Some value
# Find invoices where a specific custom field is empty
?custom_fields.My Custom Field[notset]
Authorizations
Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.
Query Parameters
Page number for pagination
Number of items per page (max 100)
x <= 100Comma-separated list of fields to include in each returned invoice (field projection). When omitted, the full invoice object is returned. Example: fields=id,status,total.
Filter by the ID of the company (customer) the invoice belongs to
Alias for company_id — filter by the ID of the company (customer) the invoice belongs to
Filter by the sales channel ID associated with the invoice
Filter by invoice status
Filter by sales order number (if sales order is attached to invoice)
Filter by payment status
Filter by approval status
Filter by customer PO number
Filter by tag name
Filter by order date (YYYY-MM-DD)
Filter by ship by date (YYYY-MM-DD)
Filter by due date (YYYY-MM-DD)
Filter by creation date (YYYY-MM-DD HH:mm:ss)
Filter by last update date (YYYY-MM-DD HH:mm:ss)
Filter by total quantity
Filter by invoice total amount
Filter by shipping amount
Filter by discount amount
Filter by amount paid
Filter by amount due
Filter by custom fields