LedgerHQ
Modules

Reports

Financial statement JSON available to LedgerHQ integrations.

Reports are documented around the current public integration contract and the current LedgerHQ report export behavior. Partner routes primarily return JSON. LedgerHQ app and MCP workflows can also render PDF or spreadsheet outputs using the server-side report exporter.

Financial Packet

MethodPathPurpose
GET/api/v1/reports/financial-packetGenerate financial packet JSON

Query parameters:

ParameterDescription
startDateOptional start date in YYYY-MM-DD format
endDateOptional end date in YYYY-MM-DD format
includeOptional comma-separated report list
generalLedgerLimitOptional max general-ledger lines before truncation warning

Packet output includes:

  • Organization metadata
  • Period and generated timestamp
  • amountUnit: "integer_cents"
  • Profit and loss
  • Balance sheet
  • Trial balance
  • General ledger lines
  • Bank reconciliation status
  • Warnings, including general ledger truncation

Supported Statement Routes

MethodPathPurpose
GET/api/v1/reports/trial-balanceTrial balance
GET/api/v1/reports/balance-sheetBalance sheet
GET/api/v1/reports/profit-and-lossProfit and loss
GET/api/v1/reports/general-ledgerGeneral ledger
GET/api/v1/reports/bank-reconciliation-statusBank reconciliation status

Exports

Core report pages support polished PDF and spreadsheet exports where the app workflow exposes them. PDF exports use LedgerHQ's report template with title, date context, firm branding when available, pagination, and clean amount formatting. The Management Financial Statements PDF packet combines the main financial statements into a client-ready export.

Excel exports remain report-specific and are better for analysis or follow-up work outside LedgerHQ.

MCP Tools

  • generate_financial_packet_json
  • get_report_pdf
  • get_report_export_url
  • balance_sheet
  • profit_and_loss
  • trial_balance
  • cash_flow_statement

Use get_report_pdf when an agent needs actual PDF bytes to save, inspect, or validate. Use get_report_export_url when the goal is a browser or user download link with the required headers.

On this page