Partner API
Run a profit and loss report
get/companies/{companyId}/reports/profit-and-loss
Request
- Base URL: https://ledgerhq.pro/api/v1
- URL: https://ledgerhq.pro/api/v1/companies/{companyId}/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
Path parameters
companyIdstring uuid required
LedgerHQ company UUID
Query parameters
limitinteger
cursorstring
updatedSincestring date-time
ISO timestamp for pull-based sync. Tables without updated_at use their stable created/parent timestamp.
startDatestring date
endDatestring date
basis'accrual' | 'cash'
Financial reporting basis. Omit to use the company's default_report_basis. Cash responses include coverage metadata and structured issues; amounts remain integer cents.
Response
Profit and loss
Changes
No recorded changes to this operation across all 5 revisions of this API.