invoices[].data.issuedDate object (DateModel) required - invoices[].data.issuedDate.iso8601 string ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01... Show pattern required Example: "2017-07-21"
invoices[].data.seller object (SellerInfo) required Entity that sold the items mentioned in the invoice.
- invoices[].data.seller.name string required Name of seller, usually a TMC Legal Entity.
Example: "Spotnana India Pvt. Ltd."
invoices[].data.seller.address string required Example: "115 Broadway Suite 04-101,\nNew York, NY 10006"
invoices[].data.seller.idInfo Array of objects (IdInfo) The seller ID information.
+ Show 2 array properties
invoices[].data.seller.taxId string Deprecated Tax number for the seller, for ex GSTN in India
Example: "TXG239023092"
invoices[].data.buyer object (BuyerInfo) required Buyer of items mentioned in the invoice.
- invoices[].data.buyer.name string required Name of buyer, usually a traveler.
Example: "John Doe"
invoices[].data.buyer.address string required Address of buyer. Could be office, legal entity or org address.
Example: "115 Broadway Suite 04-101,\nNew York, NY 10006"
invoices[].data.buyer.idInfo Array of objects (IdInfo) The seller ID information.
+ Show 2 array properties
invoices[].data.buyer.taxId string Deprecated Tax number for the seller, for ex GSTN in India
Example: "TXG239023092"
invoices[].data.items Array of objects (Item) required - invoices[].data.items[].name string required Example: "Air Ticket SFO-EWR"
invoices[].data.items[].identifier string required Number identifying the item, for ex, the ticket number for air ticket.
Example: "00129383829"
invoices[].data.items[].purchaseType string required Type of item, indicates what type of item is being sold
Enum "TRIP_FEE" "FLIGHT" "ANCILLARY" "HOTEL" "CAR" "RAIL"
Example: "TRIP_FEE"
invoices[].data.items[].type string required Type of item, indicates if the item was purchased vs refunded.
Enum "PURCHASE" "REFUND"
Example: "PURCHASE"
invoices[].data.items[].amount object (FareAmount) required - invoices[].data.items[].amount.base object (Money) required + Show 5 properties
invoices[].data.items[].amount.tax object (Money) required + Show 5 properties
invoices[].data.items[].travelerName string required Example: "John Doe"
invoices[].data.items[].taxBreakdown Array of objects (TaxBreakdown) Tax breakdown for the invoice, this will be present for UK invoices with VAT
+ Show 3 array properties
invoices[].data.items[].itemNameMetadata ticketMetadata (object) or ticketMetadata (object) or ticketMetadata (object) (ItemNameMetadata) One of:
ticketMetadata ticketMetadata ticketMetadata
Metadata for the item name.
+ Show 4 properties
invoices[].data.payments Array of objects (PaymentInformation) required Information on how the items have been paid for.
- invoices[].data.payments[].id string Example: "sdkljhafisudlls"
invoices[].data.payments[].transactionTime object (DateTimeOffset) + Show property
invoices[].data.payments[].amount object (Money) required - invoices[].data.payments[].amount.amount number (double) required The numeric value for the amount of money.
Example: 510
invoices[].data.payments[].amount.currencyCode string required The 3-letter currency code for the money amount (defined using ISO 4217 standard).
Example: "GBP"
invoices[].data.payments[].amount.convertedAmount number (double) The converted currency and amount that has been converted (if a currency conversion has been requested). For example, if the call requests that money be sent in a specified currency (because the frontend requested the backend to send money in the user's preferred currency).
Example: 715.42
invoices[].data.payments[].amount.convertedCurrency string The 3-letter currency code for the converted currency (defined using ISO 4217 standard).
Example: "USD"
invoices[].data.payments[].amount.otherCoinage Array of objects (OtherCoinage) List of the dollar amount in other coinage systems like reward points, cryptocurrency etc.
+ Show 4 array properties
invoices[].data.payments[].paymentMode string required Mode of Payment shown on invoice.
Enum "CREDIT_CARD" "ON_ACCOUNT" "DIRECT" "EXCHANGE" "BREX_POINTS" "CASH" "QANTAS_POINTS" "VENDOR_PROGRAM_PAYMENT" "AMADEUS_CHECKOUT" "PREVIOUS_BOOKING_VALUE" +2 more
Example: "CREDIT_CARD"
invoices[].data.payments[].paymentInstrumentIdentifier string required An identifier for the payment instrument used. For example, last four credit card number digits in case a credit card was used.
Example: "**2343"
invoices[].data.payments[].actualPayment object (ActualPayment) Details of how payment was done
+ Show 2 properties
invoices[].data.payments[].exchangePayment object (ExchangePayment) Details of how payment was done
+ Show property
invoices[].data.productId string required ID of the product being invoiced
Example: "123243223"
invoices[].data.productType string (ProductType) required Type of product for which invoice is generated.
Enum "PNR" "SERVICE_FEE"
invoices[].data.invoiceAmount object (FareAmount) required - invoices[].data.invoiceAmount.base object (Money) required - invoices[].data.invoiceAmount.base.amount number (double) required The numeric value for the amount of money.
Example: 510
invoices[].data.invoiceAmount.base.currencyCode string required The 3-letter currency code for the money amount (defined using ISO 4217 standard).
Example: "GBP"
invoices[].data.invoiceAmount.base.convertedAmount number (double) The converted currency and amount that has been converted (if a currency conversion has been requested). For example, if the call requests that money be sent in a specified currency (because the frontend requested the backend to send money in the user's preferred currency).
Example: 715.42
invoices[].data.invoiceAmount.base.convertedCurrency string The 3-letter currency code for the converted currency (defined using ISO 4217 standard).
Example: "USD"
invoices[].data.invoiceAmount.base.otherCoinage Array of objects (OtherCoinage) List of the dollar amount in other coinage systems like reward points, cryptocurrency etc.
+ Show 4 array properties
invoices[].data.invoiceAmount.tax object (Money) required - invoices[].data.invoiceAmount.tax.amount number (double) required The numeric value for the amount of money.
Example: 510
invoices[].data.invoiceAmount.tax.currencyCode string required The 3-letter currency code for the money amount (defined using ISO 4217 standard).
Example: "GBP"
invoices[].data.invoiceAmount.tax.convertedAmount number (double) The converted currency and amount that has been converted (if a currency conversion has been requested). For example, if the call requests that money be sent in a specified currency (because the frontend requested the backend to send money in the user's preferred currency).
Example: 715.42
invoices[].data.invoiceAmount.tax.convertedCurrency string The 3-letter currency code for the converted currency (defined using ISO 4217 standard).
Example: "USD"
invoices[].data.invoiceAmount.tax.otherCoinage Array of objects (OtherCoinage) List of the dollar amount in other coinage systems like reward points, cryptocurrency etc.
+ Show 4 array properties
invoices[].data.taxBreakdown Array of objects (TaxBreakdown) Tax breakdown for the invoice, this will be present for UK invoices with VAT
+ Show 3 array properties
invoices[].data.referenceIds Array of objects (ReferenceId) required Reference Numbers to be shown on the invoice, for ex, Trip ID, PNR ID etc.
- invoices[].data.referenceIds[].label string required Label for the reference ID on invoice.
Enum "TRIP_ID" "PNR_ID" "AGENCY_REFERENCE"
Example: "AGENCY_REFERENCE"
invoices[].data.referenceIds[].value string required Example: "122332432"
invoices[].data.regionCode string (RegionCode) The region code for which the invoice is generated.
Enum "US" "UK" "NL" "SG" "CA" "MX" "DO" "AR" "BR" "CO" +66 more
Example: "US"
invoices[].data.documentType string Enum "INVOICE" "RECEIPT" "NONE"
Example: "INVOICE"
invoices[].data.footerText string
Text shown at bottom of the PDF document. Nothing is shown if not set.
Example: "This document is proof of payment. If you require a tax invoice, please request one from the travel provider."
invoices[].data.supplierType string (ThirdPartySource) SupplierType for PNR, for eg. NDC, Sabre etc.
Enum "UNKNOWN_SOURCE" "SABRE" "TRAVEL_FUSION" "AVIA" "NDC" "TRAINLINE" "ATPCO_NDC" "FARELOGIX_NDC" "OFFLINE" "CONNEXUS" +15 more