Skip to main content
GET
Export P&L line items 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 line items for.

Query Parameters

start_date
string<date-time>
required

Start date for the line item report (ISO 8601 format).

end_date
string<date-time>
required

End date for the line item report (ISO 8601 format).

line_item_name
string
required

Name of the specific line item to export details for.

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.