Get invoice list
https://core-api.ancon.io/api/v1/Outlets/{outletId}/InvoicesFiltering
Filter the list with filter[field]=operator:value; see how filtering works.
- created (datetime)
- companyname (string)
- totalamount (decimal)
- totalcurrency (string)
- referencenumber (integer)
Authorization
Access-TokenheaderrequiredTenant- or outlet-level token from the backoffice. See Get started.
Path parameters
outletIdstring (uuid)required
Query parameters
OutletIdstring (uuid)HandledbooleanTrue or false.
For true invoices that are handled are returned.
For false invoices that are unhandled are returned.
Offsetinteger (int32)Offset the result, defaults to 0
Limitinteger (int32)Limits how many items to get, defaults to 100 min 0, max 1000.
OrderstringOrder the result.
SearchstringFiltermap<string, array<string>>Filter the result. Filter[created]=gte:2022-01-02 12:00:00&Filter[created]=lte:2022-08-03 22:00:00
Filter takes filter[field]=operator:value on 5 fields. Build a filter
Header parameters
correlationIdstringCorrelation Id for the request
Responses
200OK
itemsarray<object> | null8 fields in
itemsidstring (uuid)Invoice id is the same as order id.
referenceNumberinteger (int64)Reference number for the invoice / order.
createdAtstring (date-time)companyIdstring (uuid)companyNamestring | nulltotalobject | nullTotal amount of the invoice.
2 fields in
totalamountnumber (double)currencystring | null
handlingStatusinteger (int32)Bitwise status of the invoice. 5 for example means that the invoice and refund is both unhandled. 10 means that both are handled. Allowed values:
1,2,4,8.integrationStatusstring | nullA text representation of the handling status, will be one of the following values: "Invoice Unhandled" "Refund Unhandled" "Invoice and Refund UnHandled" or null.
metaobject | null2 fields in
metacountinteger (int32)offsetinteger (int32)
401Unauthorized
messagestring | null
404Not Found
messagestring | nullerrorCodestring (uuid)