Calculate cash close totals
POST/api/v2/cash-closes/:id/calculate
Recomputes payment-method totals and period boundaries from underlying Cobro rows ({@code CajaService.calcularCierre}). Does not persist ÔÇö call PUT/POST afterwards to save counts and withdrawals.
Request
Responses
- 200
- 401
- 403
- 404
- 500
Calculated cash close (not persisted)
Missing or invalid JWT (Bearer token).
Authenticated user is missing the EDITAR_CAJAS permission
Cash close not found
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.