DollarBooks
Modules

Reports

Financial statement JSON available to LedgerHQ integrations.

Reports are documented around the current public integration contract. The primary LedgerHQ handoff is JSON; LedgerHQ owns PDF or HTML packet rendering.

Financial Packet

MethodPathPurpose
GET/api/v1/reports/financial-packetGenerate LedgerHQ-ready 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

MCP Tool

  • generate_financial_packet_json

Other MCP report tools remain available, but this page documents only the LedgerHQ-ready report contract.

On this page