Preview moving a void reversal to another day

For a voided bill whose reversal was posted on the wrong day (for example voided today, in the next VAT quarter, while the bill's own period is still open), shows what moving the reversal to reversal_date would write, without writing anything: each void entry that moves (moves[]: reversal_entry_id, from, to), the reversing lines (unchanged, base currency), original_date and current_reversal_date. Nothing is edited in place: the commit posts the inverse of each void entry on its own date (that period nets to zero) and a new reversal on reversal_date, so the bill stays voided and the trail is whole. reversal_date must be on or after the bill's date and the entry the void undoes (original_date: the posting entry, or the entry that reopened the bill when a void was reversed and the bill voided again), not after today, and in an open period no filed VAT return covers; the void entry's own date must be open too, because its inverse is posted there. Refusals name their code in error.code and at the start of the message: bill_void_redate_not_voided (409), bill_void_redate_no_journal (422), bill_void_redate_same_date (422: the reversal is already on that day), bill_void_redate_reversal_locked_period and bill_void_redate_reversal_filed_vat_period (409: the reversal sits in a closed period and stays), bill_void_redate_stock (409: a bill that moved stock, whose stock movements cannot move with the reversal), the reversal_date refusals of bill.void (422) and the ownership refusals of bill.void. Returns the bill's etag and the confirmation_token bill.voidReversal.redate needs. Requires Idempotency-Key (send the same key on the commit) and the bills:action OAuth scope with update_bills and void_bills.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

Proposed values used to preview moving a void reversal to another day without persisting changes.

Previewing a move of a voided bill's reversal
(bill.voidReversal.redatePreview): the day it moves to. A confirmation
token is refused here.

date
required

The day the void's reversal moves to (YYYY-MM-DD): on or after the bill's date and the entry the void undoes (original_date), not after today, in an open period no filed VAT return covers.

Headers
string
required
length ≤ 191

Required operation-specific request key. This requirement does not imply durable public API response replay.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*