Search invoices
sellsy_search_invoicesSearch invoices by status (draft/due/payinprogress/paid/late/cancelled), number, date, currency, owner, or related company/individual/opportunity. Use it for unpaid or late invoices. Needs invoices.read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| embed | No | Related objects to include (each may need an extra scope and is null without it), e.g. ["invoicing_address","main_contact","cf.1542"]. | |
| field | No | Only return these fields, e.g. ["id","name"] or ["address.id"], to keep replies small. | |
| limit | No | Records per page, 1-100 (default 25). | |
| order | No | Sort field: id, number, created, date, amount, due_date. | |
| offset | No | Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit. | |
| filters | No | Search filters as an object. Unknown keys are refused by Sellsy. Keys: status ["draft"|"due"|"payinprogress"|"paid"|"late"|"cancelled"], number (exact), currency, date {start,end} dates YYYY-MM-DD, created {start,end} ISO date-times, updated {start,end} ISO date-times, owners [staff ids], assigned_staff_ids [..], contacts [contact ids], related_objects [{type,id}] (type company|individual|opportunity), is_deposit (bool), is_progress_invoice (bool). | |
| direction | No | Sort direction (default asc). |