Download an Order-to-Cash report (CSV/XLSX)

GET/api/v1/contracts/reports/{report_type}

Generate and download an O2C report as a CSV or XLSX file.

Path Parameters:

  • report_type: one of contract_register, ar_aging, deferred_revenue_waterfall, hours_ledger, billing_schedule.

Query Parameters:

  • format: csv (default) or xlsx.

Returns: A streamed file download.

Operation ID: download_o2c_report_api_v1_contracts_reports__report_type__get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

report_typestringrequired

Query

formatstringdefault: csv

Output format: 'csv' or 'xlsx'.

Responses

200Successful Response

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject