Skip to main content
GET
Fetch P&L line items

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 fetch 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 fetch details for.

reporting_basis
enum<string>

Accounting basis for the report.

Available options:
ACCRUAL,
CASH
structure
string

P&L structure template to use.

Response

P&L line item detail report.

data
object
required

Detailed report for a specific P&L line item showing all ledger entries that contribute to it.