Void a statement
Void statement
Description
Void statement Voids the active Statement for(tenantUserId, periodStart..periodEnd).
Only draft or finalized statements can be voided.
Authorization:
- Required role:
adminor higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Body
Response
Statement voided.
Every statements response wraps the payload in { status, message, data }.
data carries the per-endpoint payload PLUS the per-tenant feature flag.
success, error Response payload shared by the ITEM 2 lifecycle mutations (finalize,
payments, adjustments, hold, resume, void, disputes): the updated
Statement row, shaped via the same shapeForClient mapper as
StatementRosterRow, plus ok: true. The underlying Sequelize row
carries additional endpoint-specific detail (e.g. statusHistory)
not exhaustively modeled here — treat this as the roster-row core.