DisplayInvoice Data Type

An invoice is the grouping of tickets into a single transaction for recording purposes.

Properties
name data type description
number string The identifier of the invoice.
tickets array of DisplayTicket The tickets associated with this invoice.
totalCharged string The total amount charged with this invoice.
totalTax string The total of tax paid with this invoice.
taxes array of DisplayCode The breakdown, if available, of each tax.
totalAirfare string The total amount charged for airfare alone.
totalServicefee string The total charged for services rendered by the travel agency.
totalCredit string The total amount credited back to the client.
name string The name of the invoice, if it is ordered by something other than the number.
totalRefunded string
totalMisc string

Example

{
  "number" : "...",
  "tickets" : [ {
    "ticketNumber" : "...",
    "issueDate" : 12345,
    "type" : "...",
    "passengerName" : "...",
    "baseAmount" : "...",
    "totalAmount" : "...",
    "totalTax" : "...",
    "payment" : "...",
    "vendor" : "...",
    "invoiceNumber" : "..."
  }, {
    "ticketNumber" : "...",
    "issueDate" : 12345,
    "type" : "...",
    "passengerName" : "...",
    "baseAmount" : "...",
    "totalAmount" : "...",
    "totalTax" : "...",
    "payment" : "...",
    "vendor" : "...",
    "invoiceNumber" : "..."
  } ],
  "totalCharged" : "...",
  "totalTax" : "...",
  "taxes" : [ {
    "code" : "...",
    "value" : "..."
  }, {
    "code" : "...",
    "value" : "..."
  } ],
  "totalAirfare" : "...",
  "totalServicefee" : "...",
  "totalCredit" : "...",
  "name" : "...",
  "totalRefunded" : "...",
  "totalMisc" : "..."
}