Document History API Reference
POST |
documents/history Base path: Note the following base path does not include air and varies from other JSON Air APIs.
Pre-production https://api.pp.travelport.com/11/ Production https://api.travelport.com/11/ |
Related Content: Air Booking Guide
Document History retrieves the history of up to six documents associated with a record locator code. This request can retrieve this information even after the booking and tickets are purged from the airline's database. The response can return the following documents as applicable:
-
Tickets, including issuance, exchange, void, and refund transactions
-
Service fees
-
Invoices
Request
Also see Authorization and Common Headers.
Query Parameters
None.
Request Body
You can send only the booking locator code, which returns up to six documents associated with that booking, or the locator code plus a specific document number to return only that document.

Object |
Description |
Required/Optional |
---|---|---|
locator |
String. Supports sending one record locator code. If documentNumbers is not also sent, the response returns up to six documents associated with the locator code. |
Required |
documentNumbers |
Array of document numbers, up to 6. The document number in each instance must be associated with the record locator code sent in the locator object. If sent, the response returns the history of only the requested document/s. Key value pairs:
|
Optional |
Response
Th.
The objects returned in documentHistories can vary according to the type of document. See the developer toolkits for the Swagger files for full specifications.

Object |
Description |
---|---|
DocumentHistoryResponse |
Wrapper object for response. |
documentHistories |
Array. One instance returned for each unique document. Specific objects returned vary according to the type of document. |
number |
Document number and type. Key value pairs:
|
issueDateTimeUTC |
String. Transaction date and time stamp of document issuance in UTC. |
issuingGTID |
String. The issuing terminal ID. |
issuingAgent |
String. The initials of the agent issuing the document. |
issuingPseudoCityCode |
String. PCC issuing the document. |
issuingIATA |
String. Issuing IATA number. |
countryCode |
String. ISO country code where document was issued. |
travelportLocator |
Travelport-issued locator or cancellation code for the document. Key value pairs:
|
supplierLocator |
The external or supplier-issued locator or cancellation code for the document. Key value pairs:
|
name |
String. Traveler name the document was issued for. |
pricingDateTimeUTC |
String. Pricing date and time stamp in UTC. |
pricingPseudoCityCode |
String. PCC pricing the document. |
agentEnteredDetails |
Any agent-entered details submitted at pricing or ticketing. May include the following:
|
formOfPayment |
Form of payment applied to this document. Key value pairs:
|
ticketSegments |
Flight details. For each flight segment (returned as sequence), returns the standard objects ClassOfService, Departure, Arrival, etc. See Offer/Product/FlightSegment in the Reservation Retrieve API Reference for details. |
documentDetail |
Pricing for this document. Objects returned vary by document type. |
mcoDetail |
MCO detail information. May include the following:
|
relatedDocument |
Any documents related to this document, such as a ticket or invoice. Key value pairs:
|
associatedDocument |
Any documents associated with this document, such as an EMD or MCO. Key value pairs:
|
exchanges |
For exchanged tickets, pricing for the exchange, including original and previous issue details, new pricing for the exchange. Specific objects returned vary by exchange details. |
Example Request
The request payload requires the locator code. Sending one ore more document numbers associated with that locator code is optional.

{
"locator": "BXVCNS"
}

{
"locator": "BXVCNS",
"documentNumbers": [
{
"number": "7959905312629",
"documentType": "TKT"
}
]
}
Example Response
In response to a request that sends a record locator and a specific ticket number, the following response returns one instance of documentHistories, for the requested document.

{
"DocumentHistoryResponse": {
"@type": "DocumentHistoryResponse",
"documentHistories": [
{
"number": {
"number": "7959905312629",
"numberOfConjunctiveTickets": 0,
"documentType": "TKT"
},
"issueDateTimeUTC": "2025-06-19T20:39:00.000Z",
"issuingGTID": "4A21FB",
"issuingAgent": "IF",
"issuingPseudoCityCode": "XB7",
"issuingIATA": "96120603",
"countryCode": "AU",
"travelportLocator": {
"value": "BXVCNS",
"locatorType": "GDS",
"source": "1G"
},
"supplierLocator": {
"value": "JWGLFY",
"source": "GDS"
},
"name": "GATER/ALLIE",
"pricingDateTimeUTC": "2025-06-19",
"pricingPseudoCityCode": "XB7",
"platingAirline": "VA",
"agentEnteredDetails": {
"ticketModifierString": [
"P01/S1.2/FEX7959905312628/CVA/1"
]
},
"formOfPayment": [
{
"formOfPaymentType": "CA",
"amount": 144.99
}
],
"ticketSegments": [
{
"sequence": 1,
"ClassOfService": "M",
"FareBasisCode": "NZLT0",
"Status": "OpenForUse",
"Carrier": "VA",
"Number": "0951",
"Departure": {
"@type": "Departure",
"location": "SYD",
"date": "2025-07-05",
"time": "15:00:00"
},
"Arrival": {
"@type": "Arrival",
"location": "BNE"
},
"FlightStatusCode": "HK",
"ValidDateRange": {
"start": "2025-07-05",
"end": "2025-07-05"
},
"TicketBaggage": {
"quantity": 0,
"soldByPieceInd": true
},
"connectionInd": false
},
{
"sequence": 2,
"ClassOfService": "M",
"FareBasisCode": "UZLT0",
"Status": "OpenForUse",
"Carrier": "VA",
"Number": "0912",
"Departure": {
"@type": "Departure",
"location": "BNE",
"date": "2025-07-23",
"time": "06:35:00"
},
"Arrival": {
"@type": "Arrival",
"location": "SYD"
},
"FlightStatusCode": "HK",
"ValidDateRange": {
"start": "2025-07-23",
"end": "2025-07-23"
},
"TicketBaggage": {
"quantity": 0,
"soldByPieceInd": true
},
"connectionInd": false
}
],
"documentDetail": {
"documentPricingDetail": {
"base": {
"value": 239.13,
"code": "AUD",
"minorUnit": 2
},
"totalDocumentPrice": {
"value": 342.31,
"code": "AUD",
"minorUnit": 2
},
"taxes": {
"@type": "TaxesDetail",
"TotalTaxes": 103.18,
"Tax": [
{
"value": 4.18,
"taxCode": "UO"
},
{
"value": 90,
"taxCode": "YR"
},
{
"value": 9,
"taxCode": "UO"
}
]
},
"fareCalculation": {
"fareCalculationString": "SYD VA BNE160.47VA SYD78.66AUD239.13END"
},
"commissionPercent": 0,
"restrictions": [
"* NONREF 239.13 AUD///PENALTIES APPLY/RESTRICTIONS APPLY/N"
]
}
},
"exchanges": {
"newPricingDetail": {
"base": {
"value": 239.13,
"code": "AUD",
"minorUnit": 2
},
"totalDocumentPrice": {
"value": 432.99,
"code": "AUD",
"minorUnit": 2
},
"totalFees": {
"value": 90,
"code": "AUD",
"minorUnit": 2
},
"totalAdditionalCollection": {
"value": 144.99
},
"taxes": {
"@type": "TaxesDetail",
"Tax": [
{
"value": 50.14,
"taxCode": "QR"
},
{
"value": 30.36,
"taxCode": "UO"
},
{
"value": 14.36,
"taxCode": "WG"
}
]
},
"paidTaxes": {
"@type": "TaxesDetail",
"Tax": [
{
"value": 50.14,
"taxCode": "QR"
},
{
"value": 26.18,
"taxCode": "UO"
},
{
"value": 14.36,
"taxCode": "WG"
}
]
},
"feeBreakdown": [
{
"atType": "Fee",
"@type": "Fee",
"description": "Change Fee",
"FeeAmountOrPercent": {
"@type": "FeeAmountOrPercentAmount",
"Amount": {
"value": 90,
"code": "AUD",
"minorUnit": 2
}
}
}
]
},
"originalIssue": {
"value": "7959905312628",
"issuingCity": "SYD",
"issueDate": "2025-06-20",
"agencyCodeIATA": "9612060",
"documentType": "TKT"
},
"previousIssue": [
{
"value": "7959905312628",
"documentType": "TKT"
}
]
}
}
]
}
}
In response to a request that sends only a record locator, the following response returns tickets and an invoice associated with that locator.

{
"DocumentHistoryResponse": {
"@type": "DocumentHistoryResponse",
"documentHistories": [
{
"number": {
"number": "7959905312628",
"numberOfConjunctiveTickets": 0,
"documentType": "TKT"
},
"issueDateTimeUTC": "2025-06-19T20:34:00.000Z",
"issuingGTID": "DFD708",
"issuingAgent": "27",
"issuingPseudoCityCode": "XB7",
"issuingIATA": "96120603",
"countryCode": "AU",
"travelportLocator": {
"value": "BXVCNS",
"locatorType": "GDS",
"source": "1G"
},
"supplierLocator": {
"value": "JWGLFY",
"source": "GDS"
},
"name": "GATER/ALLIE",
"pricingDateTimeUTC": "2025-06-19",
"pricingPseudoCityCode": "XB7",
"platingAirline": "VA",
"agentEnteredDetails": {
"fareQuoteModifierString": [
"/BFMU"
],
"ticketModifierString": [
"S1.2/ET/FS/CVA"
]
},
"formOfPayment": [
{
"formOfPaymentType": "CA",
"amount": 288
}
],
"ticketSegments": [
{
"sequence": 1,
"ClassOfService": "M",
"FareBasisCode": "TZLT0",
"Status": "Exchanged",
"Carrier": "VA",
"Number": "0901",
"Departure": {
"@type": "Departure",
"location": "SYD",
"date": "2025-07-01",
"time": "06:00:00"
},
"Arrival": {
"@type": "Arrival",
"location": "BNE"
},
"FlightStatusCode": "HK",
"ValidDateRange": {
"start": "2025-07-01",
"end": "2025-07-01"
},
"TicketBaggage": {
"quantity": 0,
"soldByPieceInd": true
},
"connectionInd": false
},
{
"sequence": 2,
"ClassOfService": "M",
"FareBasisCode": "UZLT0",
"Status": "Exchanged",
"Carrier": "VA",
"Number": "0912",
"Departure": {
"@type": "Departure",
"location": "BNE",
"date": "2025-07-23",
"time": "06:35:00"
},
"Arrival": {
"@type": "Arrival",
"location": "SYD"
},
"FlightStatusCode": "HK",
"ValidDateRange": {
"start": "2025-07-23",
"end": "2025-07-23"
},
"TicketBaggage": {
"quantity": 0,
"soldByPieceInd": true
},
"connectionInd": false
}
],
"documentDetail": {
"documentPricingDetail": {
"base": {
"value": 197.32,
"code": "AUD",
"minorUnit": 2
},
"totalDocumentPrice": {
"value": 288,
"code": "AUD",
"minorUnit": 2
},
"taxes": {
"@type": "TaxesDetail",
"TotalTaxes": 90.68,
"Tax": [
{
"value": 50.14,
"taxCode": "QR"
},
{
"value": 14.36,
"taxCode": "WG"
},
{
"value": 26.18,
"taxCode": "UO"
}
]
},
"fareCalculation": {
"fareCalculationString": "SYD VA BNE 118.66 VA SYD 78.66 AUD197.32END"
},
"commissionPercent": 0,
"restrictions": [
"RESTRICTIONS APPLY/NONEND",
"NONREF/",
"PENALTIES APPLY"
]
}
}
},
{
"number": {
"number": "7959905312629",
"numberOfConjunctiveTickets": 0,
"documentType": "TKT"
},
"issueDateTimeUTC": "2025-06-19T20:39:00.000Z",
"issuingGTID": "4A21FB",
"issuingAgent": "IF",
"issuingPseudoCityCode": "XB7",
"issuingIATA": "96120603",
"countryCode": "AU",
"travelportLocator": {
"value": "BXVCNS",
"locatorType": "GDS",
"source": "1G"
},
"supplierLocator": {
"value": "JWGLFY",
"source": "GDS"
},
"name": "GATER/ALLIE",
"pricingDateTimeUTC": "2025-06-19",
"pricingPseudoCityCode": "XB7",
"platingAirline": "VA",
"agentEnteredDetails": {
"ticketModifierString": [
"P01/S1.2/FEX7959905312628/CVA/1"
]
},
"formOfPayment": [
{
"formOfPaymentType": "CA",
"amount": 144.99
}
],
"ticketSegments": [
{
"sequence": 1,
"ClassOfService": "M",
"FareBasisCode": "NZLT0",
"Status": "OpenForUse",
"Carrier": "VA",
"Number": "0951",
"Departure": {
"@type": "Departure",
"location": "SYD",
"date": "2025-07-05",
"time": "15:00:00"
},
"Arrival": {
"@type": "Arrival",
"location": "BNE"
},
"FlightStatusCode": "HK",
"ValidDateRange": {
"start": "2025-07-05",
"end": "2025-07-05"
},
"TicketBaggage": {
"quantity": 0,
"soldByPieceInd": true
},
"connectionInd": false
},
{
"sequence": 2,
"ClassOfService": "M",
"FareBasisCode": "UZLT0",
"Status": "OpenForUse",
"Carrier": "VA",
"Number": "0912",
"Departure": {
"@type": "Departure",
"location": "BNE",
"date": "2025-07-23",
"time": "06:35:00"
},
"Arrival": {
"@type": "Arrival",
"location": "SYD"
},
"FlightStatusCode": "HK",
"ValidDateRange": {
"start": "2025-07-23",
"end": "2025-07-23"
},
"TicketBaggage": {
"quantity": 0,
"soldByPieceInd": true
},
"connectionInd": false
}
],
"documentDetail": {
"documentPricingDetail": {
"base": {
"value": 239.13,
"code": "AUD",
"minorUnit": 2
},
"totalDocumentPrice": {
"value": 342.31,
"code": "AUD",
"minorUnit": 2
},
"taxes": {
"@type": "TaxesDetail",
"TotalTaxes": 103.18,
"Tax": [
{
"value": 4.18,
"taxCode": "UO"
},
{
"value": 90,
"taxCode": "YR"
},
{
"value": 9,
"taxCode": "UO"
}
]
},
"fareCalculation": {
"fareCalculationString": "SYD VA BNE160.47VA SYD78.66AUD239.13END"
},
"commissionPercent": 0,
"restrictions": [
"* NONREF 239.13 AUD///PENALTIES APPLY/RESTRICTIONS APPLY/N"
]
}
},
"exchanges": {
"newPricingDetail": {
"base": {
"value": 239.13,
"code": "AUD",
"minorUnit": 2
},
"totalDocumentPrice": {
"value": 432.99,
"code": "AUD",
"minorUnit": 2
},
"totalFees": {
"value": 90,
"code": "AUD",
"minorUnit": 2
},
"totalAdditionalCollection": {
"value": 144.99
},
"taxes": {
"@type": "TaxesDetail",
"Tax": [
{
"value": 50.14,
"taxCode": "QR"
},
{
"value": 30.36,
"taxCode": "UO"
},
{
"value": 14.36,
"taxCode": "WG"
}
]
},
"paidTaxes": {
"@type": "TaxesDetail",
"Tax": [
{
"value": 50.14,
"taxCode": "QR"
},
{
"value": 26.18,
"taxCode": "UO"
},
{
"value": 14.36,
"taxCode": "WG"
}
]
},
"feeBreakdown": [
{
"atType": "Fee",
"@type": "Fee",
"description": "Change Fee",
"FeeAmountOrPercent": {
"@type": "FeeAmountOrPercentAmount",
"Amount": {
"value": 90,
"code": "AUD",
"minorUnit": 2
}
}
}
]
},
"originalIssue": {
"value": "7959905312628",
"issuingCity": "SYD",
"issueDate": "2025-06-20",
"agencyCodeIATA": "9612060",
"documentType": "TKT"
},
"previousIssue": [
{
"value": "7959905312628",
"documentType": "TKT"
}
]
}
},
{
"number": {
"number": "122484",
"documentType": "INV"
},
"issueDateTimeUTC": "2025-06-19T20:39:00.000Z",
"issuingGTID": "4A21FB",
"issuingAgent": "IF",
"issuingPseudoCityCode": "XB7",
"issuingIATA": "96120603",
"countryCode": "AU",
"travelportLocator": {
"value": "BXVCNS",
"locatorType": "GDS",
"source": "1G"
},
"supplierLocator": {
"value": "JWGLFY",
"source": "GDS"
},
"name": "GATER/ALLIE",
"pricingDateTimeUTC": "2025-06-19",
"pricingPseudoCityCode": "XB7",
"agentEnteredDetails": {
"ticketModifierString": [
"P01/S1.2/FEX7959905312628/CVA/1"
]
},
"formOfPayment": [
{
"formOfPaymentType": "CA",
"amount": 144.99
}
],
"ticketSegments": [
{
"sequence": 1,
"ClassOfService": "M",
"FareBasisCode": "NZLT0",
"Status": "OpenForUse",
"Carrier": "VA",
"Number": "0951",
"Departure": {
"@type": "Departure",
"location": "SYD",
"date": "2025-07-05",
"time": "15:00:00"
},
"Arrival": {
"@type": "Arrival",
"location": "BNE"
},
"FlightStatusCode": "HK",
"ValidDateRange": {
"start": "2025-07-05",
"end": "2025-07-05"
},
"TicketBaggage": {
"quantity": 0,
"soldByPieceInd": true
},
"connectionInd": false
},
{
"sequence": 2,
"ClassOfService": "M",
"FareBasisCode": "UZLT0",
"Status": "OpenForUse",
"Carrier": "VA",
"Number": "0912",
"Departure": {
"@type": "Departure",
"location": "BNE",
"date": "2025-07-23",
"time": "06:35:00"
},
"Arrival": {
"@type": "Arrival",
"location": "SYD"
},
"FlightStatusCode": "HK",
"ValidDateRange": {
"start": "2025-07-23",
"end": "2025-07-23"
},
"TicketBaggage": {
"quantity": 0,
"soldByPieceInd": true
},
"connectionInd": false
}
],
"documentDetail": {
"documentPricingDetail": {
"base": {
"value": 239.13,
"code": "AUD",
"minorUnit": 2
},
"totalDocumentPrice": {
"value": 342.31,
"code": "AUD",
"minorUnit": 2
},
"taxes": {
"@type": "TaxesDetail",
"TotalTaxes": 103.18,
"Tax": [
{
"value": 4.18,
"taxCode": "UO"
},
{
"value": 90,
"taxCode": "YR"
},
{
"value": 9,
"taxCode": "UO"
}
]
},
"fareCalculation": {
"fareCalculationString": "SYD VA BNE160.47VA SYD78.66AUD239.13END"
},
"commissionPercent": 0,
"restrictions": [
"* NONREF 239.13 AUD///PENALTIES APPLY/RESTRICTIONS APPLY/N"
]
}
},
"relatedDocument": {
"number": "7959905312629",
"documentType": "TKT"
},
"exchanges": {
"newPricingDetail": {
"base": {
"value": 239.13,
"code": "AUD",
"minorUnit": 2
},
"totalDocumentPrice": {
"value": 432.99,
"code": "AUD",
"minorUnit": 2
},
"totalFees": {
"value": 90,
"code": "AUD",
"minorUnit": 2
},
"totalAdditionalCollection": {
"value": 144.99
},
"taxes": {
"@type": "TaxesDetail",
"Tax": [
{
"value": 50.14,
"taxCode": "QR"
},
{
"value": 30.36,
"taxCode": "UO"
},
{
"value": 14.36,
"taxCode": "WG"
}
]
},
"paidTaxes": {
"@type": "TaxesDetail",
"Tax": [
{
"value": 50.14,
"taxCode": "QR"
},
{
"value": 26.18,
"taxCode": "UO"
},
{
"value": 14.36,
"taxCode": "WG"
}
]
},
"feeBreakdown": [
{
"atType": "Fee",
"@type": "Fee",
"description": "Change Fee",
"FeeAmountOrPercent": {
"@type": "FeeAmountOrPercentAmount",
"Amount": {
"value": 90,
"code": "AUD",
"minorUnit": 2
}
}
}
]
},
"originalIssue": {
"value": "7959905312628",
"issuingCity": "SYD",
"issueDate": "2025-06-20",
"agencyCodeIATA": "9612060",
"documentType": "TKT"
},
"previousIssue": [
{
"value": "7959905312628",
"documentType": "TKT"
}
]
}
}
]
}
}