Page tree

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

Compare with Current View Page History

« Previous Version 16 Next »

File format for Single Entries

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

Each line import one single ticket. If an existing order contains several tickets with the same seat category, same tarif, same contingent, they have to be duplicated.

Examples

No files shared here yet.


Field codeField typeMandatoryDescription
INSTITUTIONCodeYes

Institution code owning the data to be imported.

ORGANIZATIONCodeYes

Organization code owning the data to be imported.
If leave it empty, the institution code will be used.

ORDER_NRNumberNo

If leave it empty, order number will be set while importing by default.
One line is one ticket. So each line is a unique order number if leave it empty.
Many tickets can be in an order if leave them the same order number. This number can be started from 1 in a new data file. Then it will be given new one while importing.
This will be file number also.

ORDER_DATEDateNo

Buying date.
If leave it empty, it will be imported date by default.

OPERATION_TYPEEnumYes

Allowed values: SALE or RESERVATION.

CONFIRMATION_DATEDateNoExpiration date to confirm reservation.
REMARKText 2000NoInternal remark of order.

BUYING_CONTACT_NR

NumberNoContact number who buys the order.
If leave it empty, the sale will be anonymous by default.
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).
SEASONCodeYesSeason code of the event/competition.
EVENTCodeYesProduct code of event/competition.
START_TIME

Timestamp

YesThe performance start time of the event or the match start time of the competition.
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).
SEAT_NUMBERSeatNumberNoSeat number. If the seat number is not specified, the single entry will be imported in a non-numbered zone according to the seat category.
CONTINGENTCodeNoContingent code.
SEATCAT_CODECodeYesSeat category code.
TARIFFCodeYesTariff code. It is looked up first in a mapping table and if not found, it will checked against a code of the tarifs in SecuTix.
PRICEAmountYesPrice of the seat * 100.
CHARGEAmountYesCharge of ticket * 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.

TAX_NUMBERText 50Yes if PRINTED or CONTROLLED

The tax number of the ticket. Mandatory if the ticket has been printed or controlled.

SHIPMENT_DATEDateYes

Shipment date of the ticket.

Default value: Order date.

SHIPMENT_MODECodeYes if PRINTED or CONTROLLED

Shipment mode of the ticket.

Allowed values: TBD.

Mandatory if the ticket has been printed or controlled.

  • No labels