Create cash close
POST/api/v2/cash-closes
Creates and optionally closes a cash register period. Set needsRecalculation=true (or call calculate first) when closeAt changed so totals are refreshed from underlying payments. Writable line fields: countedAmount per payment method; withdrawals when the branch tracks register withdrawals.
Request
Responses
- 201
- 400
- 401
- 403
- 500
Cash close created
Validation error ÔÇö the request body or a query parameter failed constraint validation. The response payload includes a errors array with field-level details.
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_CAJAS permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.