Reports

Consolidated financials

Read-only firm staff report for a saved group. Returns companies (organizationId, name, label, basis, error when one company's report failed), mixedBasis, eliminatedAccounts with matched, incomeStatement (sections of rows with byCompany, eliminationCents, consolidatedCents, and accounts listing each combined account on a heading row; netIncome) and balanceSheet (sections, totalLiabilitiesAndEquity, outOfBalanceCents). Accounts match across companies by type and name; code is set only when every company uses the same one. Group headings combine differently named accounts. Eliminated revenue and expense also leave Current Earnings so the Balance Sheet stays tied. Integer cents.

get/reports/consolidations/{id}/report

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/reports/consolidations/{id}/report
  • 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

idstring uuid required

Query parameters

period'this_month' | 'last_month' | 'this_quarter' | 'last_quarter' | 'ytd' | 'this_year' | 'last_year'

Preset Profit & Loss range; defaults to ytd. startDate/endDate override it.

startDatestring date

Inclusive Profit & Loss start, YYYY-MM-DD.

endDatestring date

Inclusive Profit & Loss end, YYYY-MM-DD.

asOfstring date

Balance Sheet date, YYYY-MM-DD; defaults to endDate.

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

Consolidated Profit & Loss and Balance Sheet

Changes

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