# Get a Booking Fetches details of a booking using its ID. Endpoint: GET /api/external/accounting/booking/{reference} Version: 1.5.0 Security: API_AUTHENTICATION ## Path parameters: - `reference` (string, required) bookingId, quoteId or externalReference ## Response 200 fields (application/json): - `accountEntries` (array) - `accountEntries.accountCode` (string) - `accountEntries.amount` (number) Amount Example: 5.23 - `accountEntries.billable` (boolean) - `accountEntries.categoryAccountCode` (string) - `accountEntries.currency` (string) Currency Example: "EUR" - `accountEntries.date` (string) Epoch date value Example: 1732188260064 - `accountEntries.description` (string) Notes Example: "Account discount" - `accountEntries.flightNumber` (string) Flight number Example: 34343 - `accountEntries.id` (integer) Example: 33423 - `accountEntries.legId` (integer) Leg ID Example: 2323 - `accountEntries.quantity` (number) - `accountEntries.rate` (number) - `accountEntries.status` (string) Status Enum: "TRANSFERRED", "READY_TO_INVOICE", "TRANSFERRING" - `accountEntries.supplierId` (integer) - `accountEntries.supplierName` (string) - `accountEntries.taxable` (boolean) - `accountEntries.unit` (string) - `accountEntries.attachments` (array) - `accountEntries.attachments.customName` (string) Custom name Example: "Custom name" - `accountEntries.attachments.fileSize` (integer) File size Example: 31633 - `accountEntries.attachments.id` (integer) Document ID Example: 94318 - `accountEntries.attachments.imageSizeX` (integer) Image Width - `accountEntries.attachments.imageSizeY` (integer) Image Height - `accountEntries.attachments.isThumbnail` (boolean) Is thumbnail - `accountEntries.attachments.name` (string) Document name Example: "20241121-122428-220-PIOJG_Cancellation.pdf" - `accountEntries.attachments.originalName` (string) Original document name Example: "PIOJG_Cancellation.pdf" - `accountEntries.attachments.thumbnail` (object) - `accountEntries.attachments.uuid` (string) Document UUID Example: "71b0ea5c-f985-4032-ab58-21376c3c17e0" - `accountEntries.actual` (object) - `accountEntries.actual.baseCurrency` (string) Base currency Example: "USD" - `accountEntries.actual.quantity` (number) Quantity Example: 1 - `accountEntries.actual.rate` (number) Rate Example: 1.23 - `accountEntries.actual.unit` (string) Unit - `aircraft` (object) - `aircraft.ambulance` (boolean) Indicates whether the aircraft is an ambulance or not Example: true - `aircraft.aoc` (object) - `aircraft.aoc.id` (integer) AOC ID Example: 33453 - `aircraft.aoc.name` (string) AOC name - `aircraft.cabinHeight` (number) Cabin height Example: 1.8 - `aircraft.cabinLength` (number) Cabin length Example: 10 - `aircraft.cabinWidth` (number) Cabin width Example: 2 - `aircraft.cargo` (boolean) Indicates whether the aircraft is a cargo aircraft or not - `aircraft.category` (string) Category Enum: "PISTON", "TURBO_PROP", "VERY_LIGHT_JET", "LIGHT_JET", "SUPER_LIGHT_JET", "MIDSIZE_JET", "SUPER_MIDSIZE_JET", "HEAVY_JET", "ULTRA_LONG_RANGE_JET", "VIP_JET", "AIRLINER", "AMPHIBIAN", "GYROCOPTER", "HELICOPTER", "SEA_PLANE", "TILT_ROTOR" - `aircraft.equipment` (object) - `aircraft.equipment.baggageVolume` (number) Baggage volume Example: 493 - `aircraft.equipment.cd_dvd` (boolean) Indicates whether CD/DVD is available or not Example: true - `aircraft.equipment.coffeePot` (boolean) Indicates whether a coffee pot is available or not - `aircraft.equipment.enclosedLavatory` (boolean) Indicates whether an enclosed lavatory is available or not - `aircraft.equipment.entertainmentSystem` (boolean) Indicates whether an entertainment system is available or not Example: true - `aircraft.equipment.espresso` (boolean) Indicates whether espresso is available or not Example: true - `aircraft.equipment.golfBags` (boolean) Indicates whether golf bags are available or not - `aircraft.equipment.headsets` (boolean) Indicates whether headsets is available or not Example: true - `aircraft.equipment.iceBin` (boolean) Indicates whether an ice-bin is available or not Example: true - `aircraft.equipment.lavatory` (boolean) Indicates whether a lavatory is available or not Example: true - `aircraft.equipment.maxWeight` (number) Max weight Example: 2170 - `aircraft.equipment.microwaveOven` (boolean) Indicates whether microwave oven is available or not Example: true - `aircraft.equipment.petsAllowed` (boolean) Indicates whether pets are allowed or not Example: true - `aircraft.equipment.satPhone` (boolean) Indicates whether satellite phone is available or not Example: true - `aircraft.equipment.satTV` (boolean) Indicates whether satellite tv is available or not - `aircraft.equipment.skiTube` (boolean) Indicates whether ski tube is available or not - `aircraft.equipment.smokingAllowed` (boolean) Indicates whether smoking is allowed or not. - `aircraft.equipment.standardSuitcases` (integer) Indicates the number of Standard Suitcases Example: 18 - `aircraft.equipment.tv` (boolean) Indicates whether tv is available or not. Example: true - `aircraft.equipment.v110` (boolean) Indicates whether there is 110V socket available Example: true - `aircraft.equipment.v230` (boolean) Indicates whether there is 230V socket available - `aircraft.equipment.warmingOven` (boolean) Indicates whether a warming oven is available or not. Example: true - `aircraft.equipment.wifi` (boolean) Indicates whether wi-fi is available or not. Example: true - `aircraft.externalHeight` (number) External height Example: 3 - `aircraft.externalLength` (number) External length Example: 20 - `aircraft.flightNumberToken` (string) Flight number token - `aircraft.homebase` (string) Homebase Example: "LMML" - `aircraft.id` (integer) FL3XX Aircraft ID - `aircraft.keyAccountManager` (object) - `aircraft.keyAccountManager.internalId` (integer) Internal ID Example: 485949 - `aircraft.keyAccountManager.externalReference` (string) External reference Example: "665321646" - `aircraft.keyAccountManager.firstName` (string) First Name Example: "Luke" - `aircraft.keyAccountManager.lastName` (string) Last name Example: "Joe" - `aircraft.keyAccountManager.gender` (string) Gender Enum: "FEMALE", "MALE", "OTHER" - `aircraft.keyAccountManager.birthDate` (string) Date of birth Example: "1988-03-18" - `aircraft.keyAccountManager.birthPlace` (string) Place of birth Example: "Conroe" - `aircraft.keyAccountManager.acronym` (string) Acronym Example: "LJ" - `aircraft.keyAccountManager.birthCountry` (string) Country of birth Example: "US" - `aircraft.keyAccountManager.account` (object) - `aircraft.keyAccountManager.account.accountNumber` (string) Account number Example: 1111 - `aircraft.keyAccountManager.account.accountid` (integer) FL3XX generated account ID Example: 1111 - `aircraft.keyAccountManager.account.email` (string) Email address Example: "email@fl3xx.com" - `aircraft.keyAccountManager.account.mobile` (string) Mobile phone Example: 111111111 - `aircraft.keyAccountManager.account.name` (string) Account name Example: "Account" - `aircraft.keyAccountManager.account.notes` (string) Notes Example: "Notes" - `aircraft.keyAccountManager.account.phone` (string) Phone number Example: 111111111 - `aircraft.keyAccountManager.account.vatNumber` (string) VAT Number Example: "A11111111111" - `aircraft.keyAccountManager.account.address` (object) - `aircraft.keyAccountManager.account.address.buildingDetails` (string) Building details Example: "14th" - `aircraft.keyAccountManager.account.address.city` (string) City Example: "Lisbon" - `aircraft.keyAccountManager.account.address.country` (string) Country Example: "Portugal" - `aircraft.keyAccountManager.account.address.latitude` (number) Latitude Example: 0.1 - `aircraft.keyAccountManager.account.address.links` (object) - `aircraft.keyAccountManager.account.address.links.empty` (boolean) - `aircraft.keyAccountManager.account.address.longitude` (number) longitude Example: 0.1 - `aircraft.keyAccountManager.account.address.recipient` (string) Recipient Example: "Recipient" - `aircraft.keyAccountManager.account.address.street` (string) Street Example: "My Street" - `aircraft.keyAccountManager.account.address.type` (string) Enum: "WORK", "HOME", "OTHER", "APIS" - `aircraft.keyAccountManager.account.address.zip` (string) ZIP Code Example: 111111 - `aircraft.keyAccountManager.documentExpiration` (string) Expiration date Example: "2030-04-03" - `aircraft.keyAccountManager.documentExternalReference` (integer) Document reference Example: 69905 - `aircraft.keyAccountManager.documentNumber` (string) Document number Example: "CC4AA3390294NJ" - `aircraft.keyAccountManager.documentType` (string) Type of document Enum: "PASSPORT", "IDCARD", "VISA", "OTHER", "CREWID", "AIRPORT_ID", "DRIVING_LICENSE", "US_GLOBAL", "GREEN_CARD", "PILOT_LICENSE", "ALIEN_REGISTRATION_CARD", "PERMANENT_RESIDENCE_CARD", "FACILITATION_DOCUMENT", "MILITARY_CARD", "NEXUS_CARD", "REFUGEE_TRAVEL_DOCUMENT", "EXEMPT_FROM_IRPA_DOCUMENT", "REDRESS_NUMBER" - `aircraft.keyAccountManager.issueCountry` (string) Country of issue Example: "USA" - `aircraft.keyAccountManager.issueDate` (string) Issuance date Example: "2020-04-02" - `aircraft.keyAccountManager.logName` (string) - `aircraft.keyAccountManager.mobile` (string) Mobile phone number Example: 1111111111 - `aircraft.keyAccountManager.nationality` (string) Nationality Example: "US" - `aircraft.keyAccountManager.personnelNumber` (string) Personnel number Example: 996659598 - `aircraft.keyAccountManager.radiationProtectionRegistryId` (string) Radiation projection registry id Example: 1112221112221 - `aircraft.keyAccountManager.salutation` (string) Enum: "Mr", "Mrs", "Miss", "Ms", "unDef", "Dr", "Ing", "Prof", "Mag", "Captain", "Prince", "Princess", "Shaikh", "Shaikhah", "HRH", "HE", "Sir", "Lady", "Mx", "HM", "Sr", "Fr", "Br", "Rev", "Dr_Med", "Prof_Dr", "Lord" - `aircraft.keyAccountManager.siflType` (string) Enum: "CONTROL", "NON_CONTROL", "SECURITY" - `aircraft.keyAccountManager.status` (string) Record status Enum: "ACTIVE", "DELETED", "INACTIVE", "MIGRATED_US" - `aircraft.keyAccountManager.weight` (number) Weight Example: 80.5 - `aircraft.layout` (object) - `aircraft.layout.cabinCrew` (integer) - `aircraft.layout.flightCrew` (integer) - `aircraft.layout.onboardEngineer` (integer) - `aircraft.maxFuel` (number) Max fuel Example: 1000 - `aircraft.maxPayload` (number) Maximum payload. Unit is kg (kilograms). Example: 1000 - `aircraft.maxRange` (number) Maximum range at 0 payload. Unit is m/s (meters per second) Example: 1000 - `aircraft.minRunway` (number) Minimum runway Example: 1000 - `aircraft.model` (string) Model Example: "Clipper" - `aircraft.normalCruiseSpeed` (number) Normal cruise speed in m/s (meters per second). Formula to find kt value based on the data returned -> Knots (kt) = Meters per second (m/s) * 1.944 Example: 0.8 - `aircraft.numberOfSeats` (integer) Number of seats Example: 3 - `aircraft.subcharter` (boolean) Indicates whether the aircraft is subcharter or not Example: true - `aircraft.tailNumber` (string) Tail number Example: "SX-HIC" - `aircraft.type` (string) Type Example: "R44" - `aircraft.typeName` (string) Type name Example: "Robi 44" - `aircraft.typeOfUse` (string) Type of use Enum: "CHARTER", "PRIVATE" - `aircraft.typeRating` (string) Type rating - `aircraft.wingSpan` (number) Wing span - `aircraftAccountCode` (string) - `bookingIdentifier` (string) Custom booking identifier Example: "PXXJG" - `bookingStatus` (string) Booking status Enum: "QUOTE", "OPTION", "BOOKING", "CLOSED", "CANCELED" - `customer` (object) - `customerAccountCode` (string) - `exchangeRates` (array) - `exchangeRates.baseCurrency` (string) The base currency of the exchange rate Example: "USD" - `exchangeRates.exchangeRate` (number) The exchange rate - `exchangeRates.targetCurrency` (string) The target currency of the exchange rate Example: "EUR" - `invoiceStatus` (string) Enum: "TRANSFERRED", "READY_TO_INVOICE", "TRANSFERRING" - `paymentGuarantee` (string) Payment guarantee Enum: "NOT_GUARANTEED", "SAFE_CLIENT", "CREDIT_CARD_AUTHORIZED", "FINANCIAL_RELEASE_OK" - `paymentMethod` (string) Payment method Enum: "TRANSFER", "DIRECT_DEBIT", "CREDIT_CARD", "ON_ACCOUNT", "OTHER", "ELECTRONIC_PAYMENT", "NOT_REQUIRED", "JET_CARD" - `paymentStatus` (string) Payment status Enum: "NOT_PAID", "PAID"