Voucher Type
Manage voucher types in VARIO Cloud via API, including creating, updating, activating, deactivating and deleting the types your vouchers are based on.
Gutscheinarten bearbeiten
identifier
successful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Label
Description
Voucher category, determines the tax treatment
Validity period in days from issue
Maximum number of redemptions
May an account other than the assigned one redeem?
trueMay a remaining balance be paid out in cash?
falseIs the remainder issued as a new voucher instead of staying as remaining balance?
falseMay a discount be granted on the sale of a voucher of this type?
falseIs the sale of a voucher of this type eligible for cash discount?
falseOrigin of the redemption code
GENERATEDPossible values: Order of application, lower values first
0Is the voucher type active?
trueResource was not found
Resource was not valid to process
PUT /erp/voucher-types/{id}/deactivate HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"label": "text",
"description": "text",
"category": "MULTI_PURPOSE",
"taxSchema": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"article": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"report": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"validityDays": 1,
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": false,
"noRemainderVoucher": false,
"discountable": false,
"cashDiscountable": false,
"codeOrigin": "GENERATED",
"applicationPriority": 0,
"active": true
}identifier
successful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Label
Description
Voucher category, determines the tax treatment
Validity period in days from issue
Maximum number of redemptions
May an account other than the assigned one redeem?
trueMay a remaining balance be paid out in cash?
falseIs the remainder issued as a new voucher instead of staying as remaining balance?
falseMay a discount be granted on the sale of a voucher of this type?
falseIs the sale of a voucher of this type eligible for cash discount?
falseOrigin of the redemption code
GENERATEDPossible values: Order of application, lower values first
0Is the voucher type active?
trueResource was not found
Resource was not valid to process
PUT /erp/voucher-types/{id}/activate HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"label": "text",
"description": "text",
"category": "MULTI_PURPOSE",
"taxSchema": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"article": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"report": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"validityDays": 1,
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": false,
"noRemainderVoucher": false,
"discountable": false,
"cashDiscountable": false,
"codeOrigin": "GENERATED",
"applicationPriority": 0,
"active": true
}an identifier
successful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Label
Description
Voucher category, determines the tax treatment
Validity period in days from issue
Maximum number of redemptions
May an account other than the assigned one redeem?
trueMay a remaining balance be paid out in cash?
falseIs the remainder issued as a new voucher instead of staying as remaining balance?
falseMay a discount be granted on the sale of a voucher of this type?
falseIs the sale of a voucher of this type eligible for cash discount?
falseOrigin of the redemption code
GENERATEDPossible values: Order of application, lower values first
0Is the voucher type active?
trueResource with given ID was not found
GET /erp/voucher-types/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"label": "text",
"description": "text",
"category": "MULTI_PURPOSE",
"taxSchema": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"article": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"report": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"validityDays": 1,
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": false,
"noRemainderVoucher": false,
"discountable": false,
"cashDiscountable": false,
"codeOrigin": "GENERATED",
"applicationPriority": 0,
"active": true
}an identifier
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Label
Description
Voucher category, determines the tax treatment
Validity period in days from issue
Maximum number of redemptions
May an account other than the assigned one redeem?
trueMay a remaining balance be paid out in cash?
falseIs the remainder issued as a new voucher instead of staying as remaining balance?
falseMay a discount be granted on the sale of a voucher of this type?
falseIs the sale of a voucher of this type eligible for cash discount?
falseOrigin of the redemption code
GENERATEDPossible values: Order of application, lower values first
0Is the voucher type active?
truesuccessful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Label
Description
Voucher category, determines the tax treatment
Validity period in days from issue
Maximum number of redemptions
May an account other than the assigned one redeem?
trueMay a remaining balance be paid out in cash?
falseIs the remainder issued as a new voucher instead of staying as remaining balance?
falseMay a discount be granted on the sale of a voucher of this type?
falseIs the sale of a voucher of this type eligible for cash discount?
falseOrigin of the redemption code
GENERATEDPossible values: Order of application, lower values first
0Is the voucher type active?
trueResource was not found
Resource was not valid to process
PUT /erp/voucher-types/{id} HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 390
{
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"category": "MULTI_PURPOSE",
"taxSchema": {
"id": "text"
},
"article": {
"id": "text"
},
"report": {
"id": "text"
},
"validityDays": 1,
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": false,
"noRemainderVoucher": false,
"discountable": false,
"cashDiscountable": false,
"codeOrigin": "GENERATED",
"applicationPriority": 0,
"active": true
}{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"label": "text",
"description": "text",
"category": "MULTI_PURPOSE",
"taxSchema": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"article": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"report": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"validityDays": 1,
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": false,
"noRemainderVoucher": false,
"discountable": false,
"cashDiscountable": false,
"codeOrigin": "GENERATED",
"applicationPriority": 0,
"active": true
}an identifier
successful operation
message context
message
Resource was not found
unable to delete Resource, due to constraints, existing references or internal state
DELETE /erp/voucher-types/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
"context": "text",
"messageValue": "text"
}Version Identifier for this Object (for PUT)
Unique identifier of the Object
Label
Description
Voucher category, determines the tax treatment
Validity period in days from issue
Maximum number of redemptions
May an account other than the assigned one redeem?
trueMay a remaining balance be paid out in cash?
falseIs the remainder issued as a new voucher instead of staying as remaining balance?
falseMay a discount be granted on the sale of a voucher of this type?
falseIs the sale of a voucher of this type eligible for cash discount?
falseOrigin of the redemption code
GENERATEDPossible values: Order of application, lower values first
0Is the voucher type active?
truesuccessful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Label
Description
Voucher category, determines the tax treatment
Validity period in days from issue
Maximum number of redemptions
May an account other than the assigned one redeem?
trueMay a remaining balance be paid out in cash?
falseIs the remainder issued as a new voucher instead of staying as remaining balance?
falseMay a discount be granted on the sale of a voucher of this type?
falseIs the sale of a voucher of this type eligible for cash discount?
falseOrigin of the redemption code
GENERATEDPossible values: Order of application, lower values first
0Is the voucher type active?
trueResource was not valid to process
POST /erp/voucher-types HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 390
{
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"category": "MULTI_PURPOSE",
"taxSchema": {
"id": "text"
},
"article": {
"id": "text"
},
"report": {
"id": "text"
},
"validityDays": 1,
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": false,
"noRemainderVoucher": false,
"discountable": false,
"cashDiscountable": false,
"codeOrigin": "GENERATED",
"applicationPriority": 0,
"active": true
}{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"label": "text",
"description": "text",
"category": "MULTI_PURPOSE",
"taxSchema": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"article": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"report": {
"id": "text",
"label": "text",
"description": "text",
"active": true
},
"validityDays": 1,
"maxRedemptions": 1,
"transferable": true,
"payoutAllowed": false,
"noRemainderVoucher": false,
"discountable": false,
"cashDiscountable": false,
"codeOrigin": "GENERATED",
"applicationPriority": 0,
"active": true
}Last updated
Was this helpful?