Skip to main content

Calculate cash close totals (stateless)

POST 

/api/v2/cash-closes/calculate

Recomputes payment-method totals for a not-yet-persisted cash close. Send a {@link CashCloseDocument} without {@code id} (at minimum {@code warehouseId} and {@code closeAt}). Parity with the legacy JSF "Calcular" action before the first save. Does not persist.

Request​

Responses​

Calculated cash close preview (not persisted)