Monthly statement close worklist (any role)
const url = 'https://api.invogi.com/v1/statements/close?limit=50&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.invogi.com/v1/statements/close?limit=50&offset=0' \ --header 'Authorization: Bearer <token>'One row per supplier account expected to send a statement for the
month (docs/48 Feature A). A statement answers a row only when a
person confirmed it for that month and it is in the account’s scope:
same supplier, same legal entity (a statement with no entity never
answers a named one), and the account’s currency when it has one.
Several statements for one account count once; the latest usable one
(by statement date, arrival, id) is chosen unless a person selected
another. Recomputed on every read. summary covers every row matching
the filters other than state, independent of the page.
state is receipt only: RECONCILED means a READY statement was
matched against the ledger, not that every line matched or that the
close was approved; see discrepancies for what is still open,
timing items included.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Query Parameters
Section titled “Query Parameters”YYYY-MM; defaults to the current UTC month
Comma-separated: MISSING, PROCESSING, NEEDS_REVIEW, FAILED, RECONCILED
A company id, or UNSPECIFIED
A currency code, or ANY
Responses
Section titled “Responses”The month’s worklist
object
object
object
Rows with an open request for this month and account
Statements in the workspace with no close month yet (they count for no month)
object
object
object
object
Other statements assigned to this month and account
object
object
object
object
False when the supplier’s open request is for another month or account
Example
{ "month": "2026-11", "monthLabel": "November 2026", "summary": { "expected": 2, "byState": { "MISSING": 1, "PROCESSING": 0, "NEEDS_REVIEW": 0, "FAILED": 0, "RECONCILED": 1 }, "withDiscrepancies": 1, "requested": 1, "unassignedStatements": 3 }, "items": [ { "expectationId": "3f6c1d2e-5b4a-4c3d-8e9f-0a1b2c3d4e5f", "month": "2026-11", "supplier": { "id": "6a1f9c1e-2b3c-4d5e-8f90-1a2b3c4d5e6f", "name": "Acme Supplies" }, "company": null, "currency": null, "entityScope": "UNSPECIFIED", "currencyScope": "ANY", "scopeLabel": null, "state": "MISSING", "stateReason": null, "statement": null, "alternatives": [], "discrepancies": null, "openRequest": { "id": "9b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e", "status": "SENT", "replyBy": "2026-12-07", "overdue": false, "requestedCloseMonth": "2026-11", "forThisMonth": true } } ]}Invalid request