The generic file format is described in Generic file format (Extended). This documents describes all available import fields.
There are many different possible configurations for season tickets. Not all of them are available for season tickets imports.
- For fixed prices imports, the pricing information must be given in the first part (red part).
- For calculated pricing, the pricing information must be given in the second file (yellow part) and will remain empty in the first file.
The data to be imported needs to be described on two files
- The first file describes the season ticket itself.
- The optional second file describes each performance included in each season ticket.
Examples
File format for Season Tickets
Field code | Field type | Mandatory | Description |
---|---|---|---|
INSTITUTION | Text 15 | Yes | Institution code owning the data to be imported. |
ORGANIZATION | Text 15 | Yes | Organization code owning the data to be imported. By default, the organization code is the same as the institution code. |
ORDER_NR | Number | No | Order number. Will be set by import package while importing if left empty. |
ORDER_DATE | Date | Yes | Order date. By default, order date is importing date. |
OPERATION_TYPE | Text 70 | Yes | Operation type. Possible values: SALE or RESERVATION |
REMARK | Text | No | Order remark |
BUYING_CONTACT_NR | Number | Yes | Buying contact number. |
CULTURAL_CONTACT_NR | Number | No | Cultural contact number. By default it is identical to the buying contact number. |
FIRST_NAME | Text 50 | No | Beneficiary first name. Set this info only for sold tickets. |
LAST_NAME | Text 50 | No | Beneficiary last name. Set this info only for sold tickets. |
ST_NUMBER | Number | Yes | Season ticket number is a unique number for each ticket. Mandatory when calculated price because this number will be used to map data in the sheet for season ticket lines. It can be started from 1. |
SEASON | Code | Yes | Season code of the season ticket. |
ST_CODE | Code | Yes | Product code of season ticket. |
PRICE_LEVEL | Code | No | Price level |
SEAT_NUMBER | SeatNumber | Yes if fixed price | Seat number if the ticket holder is seated at the same place for all performances included in the season ticket. Mandatory when SSTK is fixed price. |
CONTINGENT | Code | No | Contingent code |
SEATCAT_CODE | Code | Yes | Seat category code |
TARIFF | Code | Yes | Tarif code |
PRICE | Amount | Yes | Price of season ticket * 100. |
VAT | Percentage | Yes | Vat rate in percent * 100 (so that 1% = 100). Choose the rate that active and valid following this: Valid from date of vat rate <= ORDER_DATE <= Valid to date of vat rate. |
PAYMENT_DATE | Date | Yes if SALE | Mandatory when the operation type is SALE and price is not 0. |
TICKET_STATE | Enum | Yes if SALE | Ticket state. Mandatory when the operation type is SALE. Allowed values: NOT_PRINTED, PRINTED or CONTROLLED |
GENERATION_DATE | Timestamp | Yes if PRINTED or CONTROLLED | Generation date. Mandatory when the ticket state is PRINTED or CONTROLLED. |
BARCODE | Text 50 | Yes if PRINTED or CONTROLLED | Bar code of the season ticket. |
TAX_NUMBER | Text 50 | Yes if PRINTED or CONTROLLED | The tax number of the season ticket. |
SHIPMENT_DATE | Date | Yes | Shipment date of the season ticket. Default value: Order date. |
SHIPMENT_MODE | Text 50 | Yes if PRINTED or CONTROLLED | Shipment mode of the season ticket. Allowed values: TBD Mandatory when the ticket state is PRINTED or CONTROLLED. |
File format for Season Ticket Lines
Each row describes one performance included in a season ticket. The rows are linked to the first file using INSTITUTION and ST_NUMBER.
Field code | Field type | Mandatory | Description |
---|---|---|---|
INSTITUTION | Text 15 | Yes | Institution code owning the data to be imported. |
ORGANIZATION | Text 15 | Yes | Organization code owning the data to be imported. By default, the organization code is the same as the institution code. |
ST_NUMBER | Text 20 | Yes | Season ticket number which is defined in the sheet for season ticket. |
SEASON | Code | Yes | Season code of the event |
ST_CODE | Code | Yes | Product code of season ticket |
EVENT_CODE | Code | Yes | The event code |
STARTTIME | Timestamp | Yes | The performance start time of the event |
SEAT_NUMBER | SeatNumber | Yes | Seat number for each performance in the season ticket. Mandatory when SSTK is calculated price. |
CONTINGENT | Code | No | Contingent code |
SEATCAT_CODE | Code | Yes | Seat category code |
TARIFF | Code | Yes | Tarif code |
PRICE | Amount | Yes | Price of the seat * 100 |
VAT | Percentage | Yes | Vat rate in percent *100 (so that 1% = 100). Choose the rate that active and valid following this: Valid from date of vat rate <= ORDER_DATE <= Valid to date of vat rate. |
PAYMENT_DATE | Date | Yes if SALE | Mandatory when the operation type is SALE and price is not 0. |
TICKET_STATE | Code | Yes if SALE | Ticket state. Allowed values: NOT_PRINTED, PRINTED or CONTROLLED |
GENERATION_DATE | Timestamp | Yes if PRINTED or CONTROLLED | Generation date. Mandatory when the ticket state is PRINTED or CONTROLLED |
BARCODE | Text 50 | Yes if PRINTED or CONTROLLED | Bar code of the ticket. |
TAX_NUMBER | Text 50 | Yes if PRINTED or CONTROLLED | The tax number of the ticket. |
SHIPMENT_DATE | Date | Yes | Shipment date. Default value: Order date. |
SHIPMENT_MODE | Text 50 | Yes if PRINTED or CONTROLLED | Shipment mode. Allowed values: TBD Mandatory when the ticket state is PRINTED or CONTROLLED |