wafeq_account_ledger
List journal entries with real transaction dates to trace account history, reconcile periods, and explain balances without misreporting created timestamps.
Instructions
๐ข READ-ONLY ยท Journal Line Items ยท convenience tool
List journal line items WITH their real transaction date attached as date.
Use this instead of the raw journal-line-items tool whenever the date matters โ for tracing an account's history, reconciling a period, or explaining a balance. The raw endpoint returns created_ts (when the row reached Wafeq), which is regularly a different month from the transaction and must not be reported as the transaction date.
Both dates are required and the window must be 92 days or fewer for dates to be resolved; a wider range still returns rows, but without date. Costs one request per month plus one per day in months that contain rows, so quiet periods are cheap. The result reports requests_made.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch id to filter by. | |
| account | No | Account id to filter by, e.g. "acc_2SrR5fcutXPNtgrrwPmrUU". | |
| contact | No | Contact id to filter by. | |
| journal | No | Journal id to filter by. | |
| project | No | Project id to filter by. | |
| currency | No | Currency code to filter by, e.g. "EUR". | |
| max_rows | No | Stop after this many rows (default 2000). | |
| tax_rate | No | Tax rate id to filter by. | |
| date_after | Yes | Start of the range, inclusive (YYYY-MM-DD). Required. | |
| cost_center | No | Cost center id to filter by. | |
| date_before | Yes | End of the range, inclusive (YYYY-MM-DD). Required. | |
| resolve_dates | No | Set false to skip date resolution and fetch the whole range in one pass โ faster, but rows come back without `date`. Default true. |