- a stable key (for example
invoice.v1) - a name and description
- the columns it can return
- the date range its data covers
List available report types
GET /v2/reporting/reports returns the full active catalog as a single items array. There’s no pagination. Discovery returns only active report types. The version is part of the report_type key (for example invoice.v1).
report_type value (for example invoice.v1) as the key when you create a run.
Get one report type
GET /v2/reporting/reports/{report_type} returns a single catalog entry. It has the same shape as one items entry above. An unknown key returns 404 (problem type report-type-not-found).
Columns
available_columns lists every column the report type can return.
Pass a
columns array to select a subset. Each column you pass must be one of the report type’s available_columns. Omit the array to get the default set. Column order in the output file matches the order you submit.
Available date range
data_availability describes the window you can query. All timestamps are integer UTC epoch seconds. The date-range interval is the only filter on a run.
Reporting API data is refreshed periodically throughout the day, so recent invoice activity may not appear immediately.
Interval rules when you create a run:
endmust be strictly greater thanstart. Otherwise you get422(problem typevalidation-error).- The max span is 92 days. Exceeding it returns
400(problem typeinvalid-parameter). Split larger ranges into multiple runs. - The interval must fall inside the
readywindow. An out-of-window orpendingrequest returns404(problem typedata-unavailable).
start 2023-01-01, end 2024-02-01):
Next steps
Create and poll a report run
Submit a run, poll until it reaches
SUCCEEDED, and download the signed file.Reporting API reference
Full request and response schemas for every endpoint.