Skip to content

Monthly statement close worklist (any role)

GET
/statements/close
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.

X-Invogi-Organization
string format: uuid

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.

month
string
/^[0-9]{4}-(0[1-9]|1[0-2])$/

YYYY-MM; defaults to the current UTC month

state
string

Comma-separated: MISSING, PROCESSING, NEEDS_REVIEW, FAILED, RECONCILED

supplier_id
string format: uuid
entity_scope
string

A company id, or UNSPECIFIED

currency_scope
string

A currency code, or ANY

limit
integer
default: 50 >= 1 <= 200
offset
integer
0

The month’s worklist

Media typeapplication/json
object
month
string
monthLabel
string
summary
object
expected
integer
byState
object
FAILED
number
PROCESSING
number
NEEDS_REVIEW
number
RECONCILED
number
MISSING
number
key
additional properties
integer
withDiscrepancies
integer
requested

Rows with an open request for this month and account

integer
unassignedStatements

Statements in the workspace with no close month yet (they count for no month)

integer
items
Array<object>
object
expectationId
string format: uuid
month
string
supplier
object
id
string format: uuid
name
string
company
object
id
string format: uuid
name
string | null
currency
string | null
entityScope
string
currencyScope
string
scopeLabel
string | null
state
string
Allowed values: MISSING PROCESSING NEEDS_REVIEW FAILED RECONCILED
stateReason
string | null
statement
One of:
null
alternatives

Other statements assigned to this month and account

Array<object>
object
id
string format: uuid
status
string
Allowed values: PROCESSING NEEDS_REVIEW READY FAILED
statementDate
string | null format: date
currency
string | null
closingBalance
string | null
filename
string | null
balanceCheck
string | null
reviewReasons
Array<string>
reconciledAt
string | null format: date-time
createdAt
string format: date-time
selectedBy
Any of:
null
discrepancies
object
openFindings
integer
lines
object
AMOUNT_DIFFERS
integer
MISSING_FROM_LEDGER
integer
TIMING
integer
UNMATCHED
integer
total
integer
openRequest
object
id
string format: uuid
status
string
Allowed values: PREPARED SENT
replyBy
string format: date
overdue
boolean
requestedCloseMonth
string | null
forThisMonth

False when the supplier’s open request is for another month or account

boolean
total
integer
limit
integer
offset
integer

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

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}