Query raw general-ledger entries with filters: version, period, entity, business unit, account prefix (e.g
Query raw general-ledger entries with filters: version, period, entity, business unit, account prefix (e.g. "411" for all AR accounts under French PCG), and free-text search on the entry description. Returns matching rows (capped by limit, default 100, max 500) plus aggregates (total count, sum of debits and credits) computed over ALL matches, not just the returned page.
Request
- Base URL: https://k-phi.com (the document declares no server; this is the origin it was published from)
- URL: https://k-phi.com/api/v1/query_gl
- Auth: HTTP bearer
Query parameters
GL version label (e.g. "2026-06"), from kphi_list_versions. Required when more than one version exists: without it the tool answers needs_version with the list instead of picking one.
Filter to a single period (YYYY-MM). Omit to include all periods in the version.
Filter to a single entity code. Omit for consolidated view across all entities.
Filter to a single business unit. Omit for all BUs.
Account number prefix filter, e.g. "411" or "70".
Case-insensitive substring match on the entry description.
Max rows to return (default 100, max 500).
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.