Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type must be set to application/json
Path Parameters
The UUID of the business to export the P&L line items for
Query Parameters
Start date for the line item report (ISO 8601 format)
End date for the line item report (ISO 8601 format)
Name of the specific line item to export details for
Accounting basis for the report
ACCRUAL
, CASH
P&L structure template to use
Response
Pre-signed URL for downloading the Excel export
A pre-signed URL to download a document
Resource type. Value will be 'S3_Presigned_Url'.
"S3_Presigned_Url"
Pre-signed URL to download a document
"https://example-bucket.s3.amazonaws.com/example-object?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=FAKEAWSACCESSKEY%2F20240710%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240710T000000Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=FAKESIGNATURE1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef\n"
The file type of the document
"csv"