Reverse a bill void

Reopens a voided bill by reversing its void entries, so the bill is open again as it was. If-Match and Idempotency-Key are required. Refusals name their code in error.code and at the start of the message: bill_void_reverse_not_voided (409: only a voided bill), bill_void_reverse_no_journal (422: no void entry left to reverse), bill_void_reverse_duplicate (409: a live bill has the same supplier, number, amount and date), bill_void_reverse_locked_period and bill_void_reverse_filed_vat_period (409: the bill or one of its entries is in a locked or filed period), bill_void_active_payment and bill_void_vendor_credit (422), the ownership refusals of bill.void (bill_void_expense_claim, bill_void_opening_balance, bill_void_archived, bill_void_payment_account) and bill_void_changed. A void needing a manual adjustment answers 422 manual_adjustment_required. 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
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
*/*