Refund amounts & reconciliation

Which amount is authoritative, what each field means, and why an estimate and the final executed amount can differ.

Terms used below: GDS/PSS (Global Distribution System / Passenger Service System) — the airline reservation or host system (Amadeus, Sabre, Galileo, and airline PSS) that holds the ticket and performs the refund. BSP (Billing and Settlement Plan) — the IATA settlement layer between airline and agency.

Quote vs. executed amount

  • Quote amount — an estimate. createQuote projects the refund from fare rules, taxes, and penalties. No money has moved.
  • Executed amount — the authoritative figure, recorded when the refund is processed and exposed as Document.refund.total. It comes straight from the GDS/PSS/BSP response; Deal Engine does not recompute it.

Reconcile against Document.refund.total, never against the quote.

Amount field glossary

Quote / refund candidate

FieldMeaning
refundAmountTotal estimated refund (fare + taxes − penalties)
refundFareAmountEstimated fare portion
refundTaxAmountEstimated tax portion
refundPenaltyAmountEstimated penalty withheld
refundableBaseFareAmountRefundable base fare before penalties
secondPenaltyAmountSecond penalty component, where fare rules define one

Fulfillment

FieldMeaning
fareToRefundFare to refund
taxesToRefundTaxes to refund
fareRulePenaltyPenalty deducted from fare
vatOnPenaltyVAT on the penalty
serviceFeeService fee deducted from taxes
totalRefundAmountNet refund (formula below)
totalRefundAmount = max(0, fareToRefund − fareRulePenalty)
                  + max(0, taxesToRefund − vatOnPenalty − serviceFee)

Each side floors at zero — a penalty larger than the fare can't produce a negative component.

unifiedRefund (executed view on a Document)

FieldMeaning
totalRefundTotal refunded — the executed figure
totalFareFare portion
totalTaxTax portion
totalPenaltyPenalty withheld

Why quote and executed can differ

  1. GDS/PSS/BSP recalculation — the airline recalculates taxes and penalties at execution time.
  2. FX date — currency conversion uses a rate tied to a date; quote and execution can fall on different dates.
  3. Rounding at quote time.
  4. Manual overridemanuallyRefunded / manualTotalAmount supersede automated values when present; treat them as the source of truth.

Differences are typically a few minor currency units and expected. Reconciling against the executed total absorbs them.

Form of payment

Default: one aggregate refund amount. A per-FoP breakdown is available via Quote.fopInfo[] when FoP distribution is enabled for your account:

FieldMeaning
fopTypePayment type (e.g. card, cash)
brandCard brand
cardNumberMasked card number
amountAmount refunded to this FoP
currencyCodeCurrency

FoP distribution is opt-in per account. Confirm with Deal Engine whether it is enabled for yours before relying on fopInfo[]; without it you receive aggregates only.

Do not use cardRefund / cashRefund on AmountsSummary — they always return 0 and are pending deprecation.

Miles / award tickets

The mile-denominated fare is not refunded through Deal Engine — only the monetary taxes are quoted and refunded (decision reason: VOLUNTARY MILES). Mile reinstatement happens in the airline's loyalty programme, outside Deal Engine.


Did this page help you?