Profit and loss
columns=class returns one column per class with activity in the period, then Unassigned, plus a Total column equal to the standard report: columns (key, classId, code, name, isActive), revenue/expenses/managementReview rows with amounts keyed by column key and totalCents, columnTotals, and report totals. rollup=true folds subclasses into their parent column. Amounts are integer cents.
Request
- Base URL: https://ledgerhq.pro/api/v1
- URL: https://ledgerhq.pro/api/v1/reports/profit-and-loss
- Auth: one of:
- HTTP bearer and API key in header x-organization-id
- HTTP bearer and API key in header x-organization-id
Query parameters
Financial reporting basis. Omit to use the company's default_report_basis. Cash responses include coverage metadata and structured issues; amounts remain integer cents.
Inclusive period start, YYYY-MM-DD.
Inclusive period end, YYYY-MM-DD.
total for one amount column; class for Profit & Loss by Class.
With columns=class, show subclasses inside their parent class column.
Response
Profit and loss with resolved basis and coverage metadata
Changes
No recorded changes to this operation across all 5 revisions of this API.