Voucher
Issue vouchers in VARIO Cloud via API: create them, assign codes, check and book balances, release reservations, cancel bookings and activate or deactivate.
Gutscheine ausstellen, bebuchen und prüfen
OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
POST /erp/vouchers/{id}/records/{recordId}/cancel HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
}Origin of the record
Amount, always positive
Record date, today if omitted
Transaction number
Comment
Reference of the calling system; a repeated booking with the same reference is not executed a second time
Expiry of a reservation
OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
POST /erp/vouchers/{id}/records HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 178
{
"origin": "ISSUE",
"amount": 1,
"recordDate": "2026-01-01",
"number": "text",
"comment": "text",
"externalReference": "text",
"expiresAt": "2026-01-01T00:00:00.000Z",
"account": {
"id": "text"
}
}OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
}OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
POST /erp/vouchers/{id}/recalculate HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
}OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
POST /erp/vouchers/{id}/deactivate HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
}OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
POST /erp/vouchers/{id}/assign-code?code=text HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
}OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
POST /erp/vouchers/{id}/activate HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
}Legt einen Gutschein an, vergibt Nummer, Gültigkeit und Code und stellt ein mitgegebenes Guthaben aus
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
POST /erp/vouchers HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 478
{
"version": "text",
"info": {},
"id": "text",
"voucherType": {
"id": "text"
},
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"account": {
"id": "text"
},
"remainderOfVoucher": {
"id": "text"
},
"taxRate": {
"id": "text"
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text"
},
"sourceCountry": {
"id": "text"
},
"currency": {
"id": "text"
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text"
},
"balance": 1,
"comment": "text"
}OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
}OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
GET /erp/vouchers/{id} HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
}OK
Can be redeemed?
Code of the rejection reason
Description of the rejection reason
GET /erp/vouchers/by-code/{code} HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"voucher": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
},
"redeemable": true,
"rejectionCode": "text",
"rejectionMessage": "text",
"rejectionMessageParameters": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}OK
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Internal voucher number
Redemption code
External number
Valid from
Valid until
Released for use?
falseBlocked by a document?
Category adopted on issue
Maximum number of redemptions, adopted on issue
Transferability, adopted on issue
Payout permission, adopted on issue
No remainder voucher, adopted on issue
Discountability of the sale, adopted on issue
Cash discountability of the sale, adopted on issue
Tax situation of the issue
Tax state of the issue
Exchange rate used
Sum of top-ups
Sum of redemptions
Balance bound by reservations
Balance disregarding reservations; on creation the opening amount, which is booked as issue
Balance still available
Number of redemptions
Balance state
Comment
Is the voucher locked?
DELETE /erp/vouchers/{id}/reservations/{externalReference} HTTP/1.1
Host: api.example.com
Accept: */*
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"voucherType": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"number": "text",
"code": "text",
"externalNumber": "text",
"validFrom": "2026-01-01",
"validUntil": "2026-01-01",
"active": false,
"blockedByDocument": true,
"account": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"remainderOfVoucher": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"category": "MULTI_PURPOSE",
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": true,
"noRemainderVoucher": true,
"discountable": true,
"cashDiscountable": true,
"taxRate": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"taxPerformanceLocation": "DOMESTIC",
"taxState": "TAX_FREE",
"performanceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sourceCountry": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"currency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"exchangeRate": 1,
"baseCurrency": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"sumIssued": 1,
"sumRedeemed": 1,
"sumReserved": 1,
"balance": 1,
"availableBalance": 1,
"redemptionCount": 1,
"balanceState": "OPEN",
"comment": "text",
"locked": true,
"records": []
}Last updated
Was this helpful?