Reports
The reports endpoints allow you to generate, customize, and retrieve financial reports for your entities. These reports provide insights into your financial health and performance.
Report Objects
A report in Open Ledger represents a financial statement or analysis that provides insights into your entity’s financial status. The API returns comprehensive financial data including hierarchical account structures, detailed balances, and PDF generation capabilities.
Available Reports
Open Ledger provides the following standard financial reports:
- Balance Sheet: Shows assets, liabilities, and equity at a specific point in time
- Income Statement (Profit & Loss): Shows revenue, expenses, and profit over a period of time
- Cash Flow Statement: Shows changes in cash position over a period of time
- General Ledger: Shows all transactions across all accounts
- Trial Balance: Shows the balance of all accounts at a specific point in time
Generate Financial Reports
Generate comprehensive financial statements for an entity, including balance sheet, income statement, and cash flow statement.
Query Parameters
Response (JSON format)
Generate a General Ledger Report
Generate a general ledger report, which includes a detailed view of all accounts and their transactions.
Query Parameters
Response (JSON format)
Report Customization and Filters
You can customize reports with these additional parameters:
Error Handling
Example error response:
Best Practices
-
Regular reporting: Generate and save reports at consistent intervals (monthly, quarterly, yearly) for historical comparison.
-
Export formats: Choose appropriate formats based on your needs:
- JSON: For programmatic analysis and integration
- PDF: For presentation and sharing
-
Date ranges: Use consistent date ranges for comparable reports by specifying
month
andyear
parameters. -
Data quality: Ensure all transactions are properly categorized before generating reports.
-
Caching: Cache report results when appropriate to improve performance for frequently accessed reports.