Skip to main content
GET
Export P&L as Excel

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json.

Path Parameters

businessId
string
required

The UUID of the business to export the P&L for.

Query Parameters

start_date
string<date-time>
required

Start date for the P&L report (ISO 8601 format).

end_date
string<date-time>
required

End date for the P&L report (ISO 8601 format).

reporting_basis
enum<string>

Accounting basis for the report.

Available options:
ACCRUAL,
CASH
structure
string

P&L structure template to use.

Response

Pre-signed URL for downloading the Excel export.

data
object
required

A pre-signed URL to download a document.