Table of Contents

Autoinvoice

In Application autoinvoice remarks from transferred PNRs can be found and voided manually via main menu Tools → Autoinvoice Remarks.

Workflow

1. To initiate AutoInvoice process one should insert an AutoInvoice remark to PNR.

Amadeus remark starts with AUTOINV. Everything that follows RM AUTOINV words is accepted as AutoInvoice parameter

Example:
RM AUTOINV,HFADT75,SELLADT2000,HFCHD76,SELLCHD1000,COMMINF5,HFINF77,SELLINF200,USERIRA,AUTOPRINT

WorldSpan remark goes within N line and starts with AUTOINV. Everything that follows \AUTOINV words is accepted as AutoInvoice parameter

Example: …\AUTOINV/HFADT175/SELLFV/USERROBOT/AUTOPRINT

2. TAIR parses the PNR and writes all AutoInvoice parameters to a DB field referring to the PNR’s number

3. TW waits 2 minutes for possible other parameters for the same PNR and then a TW function processes parameters that have been written and creates a new invoice based on the parameters

Parameters

1. AUTOPRINT – the parameter indicates that the invoice should be Printed \ Emailed automatically (otherwise the invoice will be saved as an Offer only)

2. SELL – contains selling price specified per Pax type, the price's amount is placed to IATA-line: 'Unit Price' -field

Syntax: SELLADT2000, SELLCHD1000, SELLINF200

SELLFV – selling price = face value. Face value is what is printed in the fare field of the ticket. The system shall take the face value from tair files and insert them into selling price in TW.

Example:
Amadeus:
K-FDKK620 ;;;;;;;;;;;;DKK1162 ;;;
KFTF; DKK180 YR VA; DKK121 ZO AD; DKK75 DK TR; DKK106 ZY AE; DKK60 AT SE
Here DKK620 is the face value.
Face value = Net Price = Unit Exp when airline commission = 0 (just for info).
:!: NOTE:
If there is no any SELL parameter for a specific Pax type (i.e. an ADT ticket comes in Autoinvoice PNR but there is no SELLADTxxx parameter in the airfile) then AI will invoice this ADT ticket with PNR price (which comes in F- lines, see Fares for more details)

3. COMM – contains commission specified per Pax type. The commission affects 'UnitExp' calculating: 'UnitExp' is set as Fare (which comes in F- lines) decremented by the commission's amount

Syntax:

COMMINF5 - Commission PERCENT - means that commission for infant is 5% of fare amount

COMMACHD10 - Commission AMOUNT - means that commission for child is 10 DKK

Examples:

Amadeus: We get some prices in K-line, e.g. for INF
KN-IDKK375 ;;;;;;;;;;;;DKK375 ;;;
KS-IDKK375 ;;;;;;;;;;;;DKK375 ;;;
In AUTOINVOICE remark the commission COMMINF5 comes
Then
UnitExp = 356,25 = 375,00 - COMMISSION amount = 375,00 - 375,00 x 0,05 = 375,00 - 18,75.

WorlSpan:
GDKK00000080\XZO00000155\XYQ00000284\XYA00000126\DKK00000645\*
In AUTOINVOICE remark the commission COMMALL10 comes
AUTOINV/HFADT175/SELLFV/COMMALL10/USERIBE/AUTOPRINT
Then
UnitExp = 72,00 = 80,00 - COMMISSION amount = 80,00 - 80,00 x 0,10 = 80,00 - 8,00.

4. HF – contains handling fee (currency) amount, the parameter is specified per Pax type. Line for handling fee product is created in the Invoice

Syntax: HFADT75, HFINF77, HFALL75

5. USER - screenname of the user, who creates the PNR. This user name is shown as Invoice issued user.

Syntax: USER ROBOT – ‘Robot’ will be set as the ‘Issued User’

:!: NOTE:
CASENUM parameter used to be processed earlier (so that airfile was opened and invoice was created in the given order in TW). But now it is ignored.

Amadeus:
RM AUTOINV,HFADT75,SELLFV,USERROBOT,CASENUM552171,AUTOPRINT
Another examples:
Amadeus:
(2LASII:)
RC CPHS12279-W/AUTOINV,HFADT75,SELLFV,USERROBOT,AUTOPRINT
(246X3T):
RC CPHS12279-W,OSLS12262/AUTOINV,HFADT75,SELLFV,USERROBOT,AUTOPRINT

WorldSpan (893G41.0):
NPOR ARN\INV AIRADT /SEL180/TAX565/NET80\INV PAYFEE /SEL2.25\AUTOINV/HFADT175/SELLFV/USERIBE/AUTOPRINT\CUST1739\PLINE ADDLINE CC-GEBYR/1/2.25/2.25/KREDITKORTGEBYR 4T691003201011261\PLINE ADDLINE FLYGARANTI/1/50/50/KONKURSSIKRING\PLINE PAID 797.25\AB /NA-ASGER JOERNOW/A1-SOEGADE 10A/A2-/ZP-4180/CI-SOROE\APE AJ@BILLETKONTORET.DK\APM 20278040\APH 57833834\INV INLINE /SEL50/NET20/TXTKONKURSDAEKNING/NUM1\- 1 SK 408O 04MAY TU CPHARN ACKN CPHSK ZW57V\- 2 SK 403O 11MAY TU ARNCPH ACKN CPHSK ZW57V\TK-3513042452\PID-* ELECTRONIC TICKET * POSITIVE IDENTIFICATION REQUIRED AT CHECK-IN\LNS-* *REQUEST TERMS/CONDITIONS OF TRAVEL AND CARRIER LIABILITY NOTICES FROM TRAVEL AGENCY OR THE TRANSPORTING CARRIER.* *