post
https://api.cybooks.com.cy/v1/dividend-set-offs//reverse/preview
Shows the reversal dividend.setOff.reverse will post for a set-off (its id from dividend.show's set_offs), writing nothing: the same journal with debit and credit swapped, dated as the set-off, and the dividend's outstanding amount after. Refused with 409 dividend_set_off_in_use while a payment the set-off allowed still stands (undo that payment first) and 409 nothing_left_to_undo once it is undone; 422 period_closed while the set-off's month is closed. Requires Idempotency-Key (reuse it on the commit), the dividends:action OAuth scope with update_bank_accounts, dividends.pay and dividends.view.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
