Parameters
JSON body
Request body
application/jsoncodestringRequiredVoucher code to restore. Must belong to the authenticated organisation.
PRVNI20orderIdnumberRequiredInternal id of the order whose voucher attachment should be removed.
reasonstringOptionalFree-form reason recorded verbatim in the audit activity entry. Strongly recommended so the ledger explains why the usage was undone. The admin UI MUST force a confirm dialog before calling this endpoint.