Invoiced items report

Returns what was sold over the period, read from the invoice lines and from the lines of external incomes, ranked by the requested measure. An external income is a payment that settles no invoice: a store synchronised in payments mode, an income entered by hand, through the API, by CSV import or by a bank rule. A seller who raises no invoice is ranked from those alone, and a product sold both ways is a single row whose measures add the two. The response does not say which source fed a row. This report answers a commercial question and not an accounting one, and it never reconciles with turnover: amounts are rounded and converted line by line, disbursements carry no row, and proportional credit notes appear under a row of their own.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

First calendar day of the period, resolved to the start of that day in the effective timezone. It bounds an invoice on its issue date and an external income on the date it was paid

string
required

Last calendar day of the period, resolved to the end of that day in the effective timezone. It bounds an invoice on its issue date and an external income on the date it was paid

string

Filter on one or more activities, as comma separated identifiers

string

Filter on one or more document statuses, as comma separated values among issued, not_paid, paid, cancelled and overdue. Absent means all five, cancelled included. It applies to invoices and credit notes only: a status describes a billing document, so no value of it, known or not, ever removes an external income

integer
0 to 10000
Defaults to 0

Rank to start from in the sorted list The deepest offset served is 10000; beyond it the request is refused with 400.

integer
1 to 250
Defaults to 20

Page size

string
enum
Defaults to amount

Measure to rank on. A bare measure name, always descending: a signed value is refused rather than silently accepted

Allowed:
string
enum
Defaults to variant

One row per variant sold, or one row per product with its variants summed

Allowed:
Headers
string

Set the time zone. An absent or unknown zone falls back silently to the company zone

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json