File format for Service import
The generic file format is described in Generic file format (Extended). This documents describes all available import fields.
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 | Yes | Order number. |
ORDER_DATE | Date | Yes | Order date. |
OPERATION_TYPE | Enum | Yes | Operation type. Allowed values: SALE or RESERVATION. |
REMARK | Text | No | Order remark. |
BUYING_CONTACT_NR | Number | No | Buying contact number. If it is empty, the sale is anonymous. |
ORIGIN_COUNTRY | Text 50 | No | Country of buying contact (only if Buying contact is not specified). |
ORIGIN_REGION | Text 50 | No | Region of buying contact (only if Buying contact is not specified). |
ORIGIN_ZIPCODE | Text 50 | No | Zip code of buying contact (only if Buying contact is not specified). |
CULTURAL_CONTACT_NR | Number | No | Cultural contact number. If left empty and first/last name are empty, the buying contact number is used. |
FIRST_NAME | Text 50 | No | Beneficiary first name (only if Cultural contact number is not specified). |
LAST_NAME | Text 50 | No | Beneficiary last name (only if Cultural contact number is not specified). |
SEASON | Code | Yes | Season code of service product. |
SERVICE_CODE | Code | Yes | Product code of service. |
ITEM_CODE | Code | Yes | Item code of service. |
TARIFF | Code | Yes | Tarif code. |
PRICE | Amount | Yes | Price of the service * 100. |
CHARGE | Amount | Yes | Charge of service * 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. Default value: Order date. |
TICKET_STATE | Enum | Yes if SALE | The state of ticket. 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 if the ticket has been printed or controlled. Default value: Order date. |
BARCODE | Text 50 | Yes if PRINTED or CONTROLLED | Bar code of the ticket. Mandatory if the ticket has been printed or controlled. Not yet used. Default now is 'IMP-' + ticket id. |
TAX_NUMBER | Text 50 | Yes if PRINTED or CONTROLLED | The tax number of the ticket. Mandatory if the ticket has been printed or controlled. Not yet used. Default now is 'IMP-' + ticket id. |
SHIPMENT_DATE | Date | Yes | Shipment date of the service. Default value: Order date. |
SHIPMENT_MODE | Code | Yes if PRINTED or CONTROLLED | Shipment mode of the service. Allowed values: TBD. Mandatory if the ticket has been printed or controlled. |