For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Storniert eine Gutscheinbuchung durch eine Gegenbuchung

post
Path parameters
idinteger · int64Required
recordIdinteger · int64Required
Query parameters
commentstringOptional
Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

post/erp/vouchers/{id}/records/{recordId}/cancel
POST /erp/vouchers/{id}/records/{recordId}/cancel HTTP/1.1
Host: api.example.com
Accept: */*
200

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": []
}

Bucht auf einen Gutschein

post
Path parameters
idinteger · int64Required
Body
originstring · enumRequired

Origin of the record

Possible values:
amountnumberRequired

Amount, always positive

recordDatestring · dateOptional

Record date, today if omitted

numberstringOptional

Transaction number

commentstringOptional

Comment

externalReferencestringOptional

Reference of the calling system; a repeated booking with the same reference is not executed a second time

expiresAtstring · date-timeOptional

Expiry of a reservation

Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

post/erp/vouchers/{id}/records
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"
  }
}
200

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": []
}

Berechnet das Guthaben neu und gleicht es bei Bedarf per Saldenanpassung an

post
Path parameters
idinteger · int64Required
Query parameters
newBalancenumberOptional
Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

post/erp/vouchers/{id}/recalculate
POST /erp/vouchers/{id}/recalculate HTTP/1.1
Host: api.example.com
Accept: */*
200

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": []
}

Nimmt einem Gutschein die Freigabe

post
Path parameters
idinteger · int64Required
Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

post/erp/vouchers/{id}/deactivate
POST /erp/vouchers/{id}/deactivate HTTP/1.1
Host: api.example.com
Accept: */*
200

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": []
}

Versieht einen Gutschein mit einem gescannten Code

post
Path parameters
idinteger · int64Required
Query parameters
codestringRequired
Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

post/erp/vouchers/{id}/assign-code
POST /erp/vouchers/{id}/assign-code?code=text HTTP/1.1
Host: api.example.com
Accept: */*
200

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": []
}

Gibt einen Gutschein zur Nutzung frei

post
Path parameters
idinteger · int64Required
Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

post/erp/vouchers/{id}/activate
POST /erp/vouchers/{id}/activate HTTP/1.1
Host: api.example.com
Accept: */*
200

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

post
Body
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

post/erp/vouchers
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"
}
200

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": []
}

Liest einen Gutschein

get
Path parameters
idinteger · int64Required
Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

get/erp/vouchers/{id}
GET /erp/vouchers/{id} HTTP/1.1
Host: api.example.com
Accept: */*
200

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": []
}

Prüft, ob ein Gutschein über den angegebenen Betrag eingelöst werden kann

get
Path parameters
codestringRequired
Query parameters
amountnumberOptional
Responses
200

OK

application/json
redeemablebooleanOptional

Can be redeemed?

rejectionCodestringOptional

Code of the rejection reason

rejectionMessagestringOptional

Description of the rejection reason

get/erp/vouchers/by-code/{code}
GET /erp/vouchers/by-code/{code} HTTP/1.1
Host: api.example.com
Accept: */*
200

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": {}
  }
}

Gibt eine Vormerkung über die Kennung des vormerkenden Systems frei

delete
Path parameters
idinteger · int64Required
externalReferencestringRequired
Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

numberstringRead-onlyOptional

Internal voucher number

codestringOptional

Redemption code

externalNumberstringOptional

External number

validFromstring · dateOptional

Valid from

validUntilstring · dateOptional

Valid until

activebooleanOptional

Released for use?

Default: false
blockedByDocumentbooleanRead-onlyOptional

Blocked by a document?

categorystring · enumRead-onlyOptional

Category adopted on issue

Possible values:
maxRedemptionsinteger · int32Read-onlyOptional

Maximum number of redemptions, adopted on issue

transferablebooleanRead-onlyOptional

Transferability, adopted on issue

payoutAllowedbooleanRead-onlyOptional

Payout permission, adopted on issue

noRemainderVoucherbooleanRead-onlyOptional

No remainder voucher, adopted on issue

discountablebooleanRead-onlyOptional

Discountability of the sale, adopted on issue

cashDiscountablebooleanRead-onlyOptional

Cash discountability of the sale, adopted on issue

taxPerformanceLocationstring · enumOptional

Tax situation of the issue

Possible values:
taxStatestring · enumOptional

Tax state of the issue

Possible values:
exchangeRatenumberOptional

Exchange rate used

sumIssuednumberRead-onlyOptional

Sum of top-ups

sumRedeemednumberRead-onlyOptional

Sum of redemptions

sumReservednumberRead-onlyOptional

Balance bound by reservations

balancenumberOptional

Balance disregarding reservations; on creation the opening amount, which is booked as issue

availableBalancenumberRead-onlyOptional

Balance still available

redemptionCountinteger · int32Read-onlyOptional

Number of redemptions

balanceStatestring · enumRead-onlyOptional

Balance state

Possible values:
commentstringOptional

Comment

lockedbooleanRead-onlyOptional

Is the voucher locked?

delete/erp/vouchers/{id}/reservations/{externalReference}
DELETE /erp/vouchers/{id}/reservations/{externalReference} HTTP/1.1
Host: api.example.com
Accept: */*
200

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?