Reports

Profit and loss comparison

get/reports/pnl-comparison

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/reports/pnl-comparison
  • 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

compare'monthly' | 'quarterly' | 'yearly'
periodsinteger
anchorDatestring 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 comparison with resolved basis and coverage metadata

basis'accrual' | 'cash' required
amountUnit'integer_cents' required

Changes

No recorded changes to this operation across all 5 revisions of this API.