FX-Port API
Flights

Flight pricing

What each flight price field means, the b2bPrice formula, and how the exchange rate is presented.

Every flight pricing block exposes the same set of agency-facing money fields.

Field meanings

FieldMeaning
basePriceBase fare set by the airline, before taxes (agency currency)
taxesAndFeesTaxes plus all platform-side fees, folded together. Excludes your agency commission
agencyCommissionYour own markup — what you charge the traveller on top
finalPriceWhat the traveller pays = basePrice + taxesAndFees + agencyCommission
b2bPriceThe amount debited from your agency balance = finalPrice − agencyCommission
totalAmountAlias of b2bPrice on endpoints that expose it — the amount debited

The formula

finalPrice = basePrice + taxesAndFees + agencyCommission
b2bPrice   = finalPrice − agencyCommission   (= debited from your balance)

Example (Egyptian Pound, EGP):

{
  "supplierCurrency": "EGP",
  "agencyCurrency": "EGP",
  "basePrice": 4200.00,
  "taxesAndFees": 1850.00,
  "agencyCommission": 300.00,
  "finalPrice": 6350.00,
  "b2bPrice": 6050.00
}

Check: 4200 + 1850 + 300 = 6350 ✓ and 6350 − 300 = 6050 ✓

Exchange rate

When supplierCurrency differs from agencyCurrency (for example a supplier prices in USD and your agency settles in NGN), an exchangeRate field appears at the response top level — not inside the pricing block.

{
  "exchangeRate": 1620.0,
  "pricing": {
    "supplierCurrency": "USD",
    "agencyCurrency": "NGN",
    "basePrice": 291600.00,
    "taxesAndFees": 145800.00,
    "agencyCommission": 8100.00,
    "finalPrice": 445500.00,
    "b2bPrice": 437400.00
  }
}

When both currencies are the same (e.g. EUR → EUR), no exchangeRate is included.

Per-traveler pricing

Search, price, and booking responses also include a travelerPricing array with a per-traveler price object (base, total, and b2bPrice), so you can display a breakdown per passenger. The per-traveler b2bPrice is that traveller's share of the amount debited.

acd (Algerian Currency Declaration)

Amadeus Algeria pricing blocks can include an acd object:

{
  "pricing": {
    "supplierCurrency": "DZD",
    "agencyCurrency": "DZD",
    "basePrice": 3160.0,
    "taxesAndFees": 1921.44,
    "agencyCommission": 5.09,
    "finalPrice": 5086.53,
    "b2bPrice": 5081.44,
    "acd": { "applied": false }
  }
}

acd.applied: true means part of the fare was settled in foreign currency, which can require the traveler to present a currency declaration or foreign-currency exchange receipt at departure — this is specific to routes where Algeria enforces that requirement. When applied is true on a confirmed booking, get_booking additionally exposes require_acd and acd_submitted on the stored booking so you can track whether the traveler has uploaded the required document. This only ever appears for Amadeus Algeria bookings priced in DZD; it does not apply to other suppliers.

On this page