Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

File format for Service import

The generic file format is described in Generic file format (Extended). This documents describes all available import fields.


Field codeField typeMandatoryDescription
INSTITUTIONText 15Yes

Institution code owning the data to be imported.

ORGANIZATIONText 15Yes

Organization code owning the data to be imported.

By default, the organization code is the same as the institution code.

ORDER_NRNumberYesOrder number.
ORDER_DATEDateYesOrder date.
OPERATION_TYPEEnumYes

Operation type.

Allowed values: SALE or RESERVATION.

REMARKTextNoOrder remark.

BUYING_CONTACT_NR

NumberNoBuying contact number. If it is empty, the sale is anonymous.
ORIGIN_COUNTRYText 50NoCountry of buying contact (only if Buying contact is not specified).
ORIGIN_REGIONText 50NoRegion of buying contact (only if Buying contact is not specified).
ORIGIN_ZIPCODEText 50NoZip code of buying contact (only if Buying contact is not specified).
CULTURAL_CONTACT_NRNumberNo

Cultural contact number.

If left empty and first/last name are empty, the buying contact number is used.

FIRST_NAMEText 50NoBeneficiary first name (only if Cultural contact number is not specified).
LAST_NAMEText 50NoBeneficiary last name (only if Cultural contact number is not specified).
SEASONCodeYesSeason code of service product.
SERVICE_CODECodeYesProduct code of service.
ITEM_CODECodeYesItem code of service.
TARIFFCodeYesTarif code.
PRICEAmountYesPrice of the service * 100.
CHARGEAmountYesCharge of service * 100.
VATPercentageYes

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_DATEDateYes if SALE

Mandatory when the operation type is SALE and price is not 0.

Default value: Order date.

TICKET_STATEEnumYes if SALE

The state of ticket.

Mandatory when the operation type is SALE.

Allowed values: NOT_PRINTED, PRINTED or CONTROLLED.

GENERATION_DATETimestampYes if PRINTED or CONTROLLED

Generation date.

Mandatory if the ticket has been printed or controlled.

Default value: Order date.

BARCODEText 50Yes 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_NUMBERText 50Yes 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_DATEDateYes

Shipment date of the service.

Default value: Order date.

SHIPMENT_MODECodeYes if PRINTED or CONTROLLED

Shipment mode of the service.

Allowed values: TBD.

Mandatory if the ticket has been printed or controlled.


  • No labels