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

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

Deactivate an existing resource

put
Path parameters
idinteger · int64Required

identifier

Responses
200

successful operation

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

labelstringOptional

Label

descriptionstringOptional

Description

categorystring · enumOptional

Voucher category, determines the tax treatment

Possible values:
validityDaysinteger · int32Optional

Validity period in days from issue

maxRedemptionsinteger · int32Optional

Maximum number of redemptions

transferablebooleanOptional

May an account other than the assigned one redeem?

Default: true
payoutAllowedbooleanOptional

May a remaining balance be paid out in cash?

Default: false
noRemainderVoucherbooleanOptional

Is the remainder issued as a new voucher instead of staying as remaining balance?

Default: false
discountablebooleanOptional

May a discount be granted on the sale of a voucher of this type?

Default: false
cashDiscountablebooleanOptional

Is the sale of a voucher of this type eligible for cash discount?

Default: false
codeOriginstring · enumOptional

Origin of the redemption code

Default: GENERATEDPossible values:
applicationPriorityinteger · int32Optional

Order of application, lower values first

Default: 0
activebooleanOptional

Is the voucher type active?

Default: true
put/erp/voucher-types/{id}/deactivate
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
}

Activate an existing resource

put
Path parameters
idinteger · int64Required

identifier

Responses
200

successful operation

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

labelstringOptional

Label

descriptionstringOptional

Description

categorystring · enumOptional

Voucher category, determines the tax treatment

Possible values:
validityDaysinteger · int32Optional

Validity period in days from issue

maxRedemptionsinteger · int32Optional

Maximum number of redemptions

transferablebooleanOptional

May an account other than the assigned one redeem?

Default: true
payoutAllowedbooleanOptional

May a remaining balance be paid out in cash?

Default: false
noRemainderVoucherbooleanOptional

Is the remainder issued as a new voucher instead of staying as remaining balance?

Default: false
discountablebooleanOptional

May a discount be granted on the sale of a voucher of this type?

Default: false
cashDiscountablebooleanOptional

Is the sale of a voucher of this type eligible for cash discount?

Default: false
codeOriginstring · enumOptional

Origin of the redemption code

Default: GENERATEDPossible values:
applicationPriorityinteger · int32Optional

Order of application, lower values first

Default: 0
activebooleanOptional

Is the voucher type active?

Default: true
put/erp/voucher-types/{id}/activate
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
}

Find an existing Resource by identifier

get
Path parameters
idinteger · int64Required

an identifier

Responses
200

successful operation

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

labelstringOptional

Label

descriptionstringOptional

Description

categorystring · enumOptional

Voucher category, determines the tax treatment

Possible values:
validityDaysinteger · int32Optional

Validity period in days from issue

maxRedemptionsinteger · int32Optional

Maximum number of redemptions

transferablebooleanOptional

May an account other than the assigned one redeem?

Default: true
payoutAllowedbooleanOptional

May a remaining balance be paid out in cash?

Default: false
noRemainderVoucherbooleanOptional

Is the remainder issued as a new voucher instead of staying as remaining balance?

Default: false
discountablebooleanOptional

May a discount be granted on the sale of a voucher of this type?

Default: false
cashDiscountablebooleanOptional

Is the sale of a voucher of this type eligible for cash discount?

Default: false
codeOriginstring · enumOptional

Origin of the redemption code

Default: GENERATEDPossible values:
applicationPriorityinteger · int32Optional

Order of application, lower values first

Default: 0
activebooleanOptional

Is the voucher type active?

Default: true
get/erp/voucher-types/{id}
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
}

Update existing Resource

put
Path parameters
idinteger · int64Required

an identifier

Body
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

labelstringOptional

Label

descriptionstringOptional

Description

categorystring · enumOptional

Voucher category, determines the tax treatment

Possible values:
validityDaysinteger · int32Optional

Validity period in days from issue

maxRedemptionsinteger · int32Optional

Maximum number of redemptions

transferablebooleanOptional

May an account other than the assigned one redeem?

Default: true
payoutAllowedbooleanOptional

May a remaining balance be paid out in cash?

Default: false
noRemainderVoucherbooleanOptional

Is the remainder issued as a new voucher instead of staying as remaining balance?

Default: false
discountablebooleanOptional

May a discount be granted on the sale of a voucher of this type?

Default: false
cashDiscountablebooleanOptional

Is the sale of a voucher of this type eligible for cash discount?

Default: false
codeOriginstring · enumOptional

Origin of the redemption code

Default: GENERATEDPossible values:
applicationPriorityinteger · int32Optional

Order of application, lower values first

Default: 0
activebooleanOptional

Is the voucher type active?

Default: true
Responses
200

successful operation

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

labelstringOptional

Label

descriptionstringOptional

Description

categorystring · enumOptional

Voucher category, determines the tax treatment

Possible values:
validityDaysinteger · int32Optional

Validity period in days from issue

maxRedemptionsinteger · int32Optional

Maximum number of redemptions

transferablebooleanOptional

May an account other than the assigned one redeem?

Default: true
payoutAllowedbooleanOptional

May a remaining balance be paid out in cash?

Default: false
noRemainderVoucherbooleanOptional

Is the remainder issued as a new voucher instead of staying as remaining balance?

Default: false
discountablebooleanOptional

May a discount be granted on the sale of a voucher of this type?

Default: false
cashDiscountablebooleanOptional

Is the sale of a voucher of this type eligible for cash discount?

Default: false
codeOriginstring · enumOptional

Origin of the redemption code

Default: GENERATEDPossible values:
applicationPriorityinteger · int32Optional

Order of application, lower values first

Default: 0
activebooleanOptional

Is the voucher type active?

Default: true
put/erp/voucher-types/{id}
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
}

Delete an existing Resource

delete
Path parameters
idinteger · int64Required

an identifier

Responses
200

successful operation

application/json
contextstringOptional

message context

messageValuestringOptional

message

delete/erp/voucher-types/{id}
DELETE /erp/voucher-types/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
  "context": "text",
  "messageValue": "text"
}

Create new Resource

post
Body
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

labelstringOptional

Label

descriptionstringOptional

Description

categorystring · enumOptional

Voucher category, determines the tax treatment

Possible values:
validityDaysinteger · int32Optional

Validity period in days from issue

maxRedemptionsinteger · int32Optional

Maximum number of redemptions

transferablebooleanOptional

May an account other than the assigned one redeem?

Default: true
payoutAllowedbooleanOptional

May a remaining balance be paid out in cash?

Default: false
noRemainderVoucherbooleanOptional

Is the remainder issued as a new voucher instead of staying as remaining balance?

Default: false
discountablebooleanOptional

May a discount be granted on the sale of a voucher of this type?

Default: false
cashDiscountablebooleanOptional

Is the sale of a voucher of this type eligible for cash discount?

Default: false
codeOriginstring · enumOptional

Origin of the redemption code

Default: GENERATEDPossible values:
applicationPriorityinteger · int32Optional

Order of application, lower values first

Default: 0
activebooleanOptional

Is the voucher type active?

Default: true
Responses
200

successful operation

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

labelstringOptional

Label

descriptionstringOptional

Description

categorystring · enumOptional

Voucher category, determines the tax treatment

Possible values:
validityDaysinteger · int32Optional

Validity period in days from issue

maxRedemptionsinteger · int32Optional

Maximum number of redemptions

transferablebooleanOptional

May an account other than the assigned one redeem?

Default: true
payoutAllowedbooleanOptional

May a remaining balance be paid out in cash?

Default: false
noRemainderVoucherbooleanOptional

Is the remainder issued as a new voucher instead of staying as remaining balance?

Default: false
discountablebooleanOptional

May a discount be granted on the sale of a voucher of this type?

Default: false
cashDiscountablebooleanOptional

Is the sale of a voucher of this type eligible for cash discount?

Default: false
codeOriginstring · enumOptional

Origin of the redemption code

Default: GENERATEDPossible values:
applicationPriorityinteger · int32Optional

Order of application, lower values first

Default: 0
activebooleanOptional

Is the voucher type active?

Default: true
post/erp/voucher-types
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?