Move a void reversal to another day

Moves a voided bill's reversal as previewed with bill.voidReversal.redatePreview: for each void entry it posts that entry's inverse on the entry's own date and a new reversal of the bill on reversal_date, both Bills Reversal entries, and writes the move into the bill's history. Nothing is deleted or edited, the bill stays voided (its void reason and time are kept), and a later bill.reverse still reopens it. Send the same reversal_date, the preview's confirmation_token, the same Idempotency-Key and the bill's ETag as If-Match. If the bill or its void entries changed since the preview, the answer is 412 (preview again); a token sent with another Idempotency-Key, by another person, for another company or operation, or expired is refused with bill_void_redate_token_invalid, one already used with confirmation_already_claimed, and the preview's refusals apply. Posts exact mirrors only; else bill_void_unbalanced_journal (422). Returns the bill with its new ETag. Requires 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

Confirmed values used to move a void reversal to another day, including the confirmation token returned by bill.voidReversal.redatePreview.

Moving a voided bill's reversal (bill.voidReversal.redate): the same
reversal_date as the preview, its token, the preview's Idempotency-Key
and the bill's If-Match.

date
required

The day the void's reversal moves to (YYYY-MM-DD): the one previewed.

string
required
length ≤ 8192

The confirmation_token from bill.voidReversal.redatePreview, sent with the same Idempotency-Key.

Headers
string
required
length ≤ 191

Required unique key whose request hash and terminal response are stored durably for 24 hours.

string

Required. ETag from the latest representation; a stale value returns 412 precondition_failed. Send this header, not the standard If-Match: some HTTP intermediaries evaluate a standard If-Match themselves and can answer 412 even though the change was applied. Never send both; both with different ETags returns 400 conflicting_precondition_headers.

string
deprecated

Accepted with the same value and meaning as Cybooks-If-Match, but do not send it: an intermediary can answer 412 to it after the change was applied. Send Cybooks-If-Match instead.

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
*/*