List invoices
distru_list_invoicesRetrieve invoice records from Distru with filters for status, IDs, order, company, invoice number, and date range, including paid and remaining amounts and voided status.
Instructions
List invoices (GET /public/v1/invoices). Status is one of NOT_PAID, PARTIALLY_PAID, FULLY_PAID, OVER_PAID. paid_amount and remaining_amount are decimal strings. A voided invoice keeps its row and carries a voided_datetime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| page | No | 1-indexed page number. Page size is not guaranteed stable; follow next_page instead. | |
| statuses | No | ||
| is_voided | No | ||
| order_ids | No | ||
| company_ids | No | ||
| invoice_number | No | Substring match on invoice number. | |
| invoice_datetime | No | Comma-delimited datetime range. "T," = on or after T; ",T" = on or before T; "A,B" = between A and B inclusive. Format: YYYY-MM-DDTHH:MM:SS.MSZ. |