Jolene.pro

Why airline vendor cost can double-count after a ticket export join

Fictional booking P1. Ticket numbers T11 and T12 share fare F1 with a single cost of USD 140.

Sum each confirmed fare once when several ticket numbers share the same vendor cost. In the fictional exports below, joining cost directly to ticket rows produces USD 450. The fare register supports USD 310. Fare F1 explains the full USD 140 difference.

How to check your records

  1. Preserve the booking reference, fare reference, ticket number and entity scope. Ask the export owner how the records connect. If you have no confirmed fare key or crosswalk, leave the relationship open for review.
  2. Check the fare register for duplicate keys and conflicting amounts. Use the documented scope for the key, such as booking plus fare ID within one supplier, currency and accounting window. Keep the child ticket numbers for evidence and sum from the verified fare rows.
  3. Keep gross fare cost and refunds in separate columns. Attribute a refund only where the confirmed link identifies the fare. A single booking can include multiple valid fares.

Worked example with fictional records

Import each example CSV into its own spreadsheet tab. Keep the original row order and headers for the cell references below.

FindingRecord or amountCells to checkWhat the records show
Gross vendor costUSD 310Fares!A2:C4USD 140 + USD 90 + USD 80.
At ticket-row levelUSD 450Fares!A2:C4, TicketNumbers!A2:C5Joining the amount to each ticket repeats USD 140 for F1.
Confirmed and open refundsUSD 30 linked, USD 20 openRefunds!A2:C3The first has fare F2. The second supplies booking P1 only.

Try it in Jolene.pro

What to review before acting

Within P1, dropping every row except the first fare would lose the legitimate USD 90 for F2. Review an unmatched ticket row or an unexplained fare duplicate before relying on the total. The product documentation describes ticket and fare groupings. Confirm available IDs and refund fields in your own authorized export.

Download the fictional practice files

Copy the practice data
Fares.csv
bookingfarecost_usd
P1F1140
P1F290
P2F380
Refunds.csv
bookingfarerefund_usd
P1F230
P120
TicketNumbers.csv
bookingfareticket
P1F1T11
P1F1T12
P1F2T21
P2F3T31

Find more spreadsheet practices and workbook studies.

Sources

Leave a comment