wafeq_reports_trial_balance_list
Generate a trial balance report for any date range, with optional P&L openings and zero-balance accounts. Filter by branch, contact, project, or cost center to review account balances.
Instructions
๐ข READ-ONLY ยท Reports ยท GET /reports/trial-balance/
Trial Balance
Generate trial balance report from from_date to to_date optionally with PNL openings with_pnl_openings and accounts with zero balances include_zero_balances.
PARAMETERS: this report uses from_date and to_date (NOT date_after/date_before, and NOT date_from/date_to). Both are optional; omitting them returns the current financial year. Verified 2026-09-04: the dates ARE honoured when spelled correctly โ a narrower range returns a smaller report. Wafeq silently ignores misspelled query parameters rather than erroring, so a wrong name looks like a working call that returns the default period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | The ending date of the report. | |
| from_date | No | The starting date of the report. | |
| branch__in | No | The unique identifier of the branch. Multiple values may be provided. The special value '__null__' may be provided to filter for null values. | |
| contact__in | No | The unique identifier of the contact. Multiple values may be provided. The special value '__null__' may be provided to filter for null values. | |
| project__in | No | The unique identifier of the project. Multiple values may be provided. The special value '__null__' may be provided to filter for null values. | |
| cost_center__in | No | The unique identifier of the cost center. Multiple values may be provided. The special value '__null__' may be provided to filter for null values. | |
| with_pnl_openings | No | Whether the report should include PNL openings. | |
| include_zero_balances | No | Whether the report should include accounts with zero balances. |