A complete guide to the XE command in Amadeus โ how to cancel or delete individual PNR elements, ranges, or combinations without cancelling the entire booking.
A PNR is a living record that evolves throughout the life of a booking. Segments are added, seats are requested, special services are recorded, and remarks are attached. But when something is no longer needed โ a cancelled flight, an obsolete SSR, a remark that no longer applies โ the element must be removed cleanly. The XE command is the Amadeus entry that handles this. It allows you to cancel a single PNR element, multiple individual elements, a range of elements, or any combination of individual and range selections. This guide explains what XE does, the syntax for each variation, and when it should be used.
What Does the XE Command Do?
XE is the Amadeus GDS command used to cancel or delete PNR elements.
Category: PNR Management.
It allows you to cancel a single PNR element, multiple individual elements, a range of elements, or a combination of individual and range selections.
XE works on the element line numbers displayed in the PNR. Each segment, SSR, OSI, remark, seat request, and other element is given a line number, and XE targets those numbers directly. This makes XE one of the most versatile commands in daily PNR management.
Cancel a Single PNR Element
Cancel one specific element by its line number:
XE2
This cancels PNR element 2. Use it when only one element needs to be removed โ for example, cancelling a single flight segment, removing an obsolete SSR, or deleting a remark that no longer applies.
Cancel Individual PNR Elements
Cancel two or more specific elements in a single entry:
XE5,6
This cancels PNR elements 5 and 6. The comma separates each element number, and there is no limit to how many you can list โ as long as they exist in the PNR.
Cancel a Range of PNR Elements
Cancel a continuous range of elements using a hyphen:
XE3-6
This cancels PNR elements 3 through 6. Use it when a group of consecutive elements needs to be removed at the same time โ for example, cancelling several SSR lines added together, or clearing a block of remarks.
Cancel Individual and Range Elements
Combine individual and range selections in one entry:
XE3,5,8-12
This cancels elements 3 and 5, plus elements 8 through 12. This is the most powerful form of XE โ it lets you remove a mix of scattered and consecutive elements in a single entry.
When to Use XE
Use XE when you need to cancel one or more specific elements from a PNR without cancelling the entire booking. Typical scenarios include:
- Cancelling one or more flight segments from the itinerary.
- Removing obsolete SSR or OSI elements.
- Deleting remarks that no longer apply to the booking.
- Clearing seat requests that have become invalid.
- Cancelling a batch of elements after a schedule change or reroute.
- Cleaning a PNR before repricing, reissuing, or refunding the ticket.
- Removing incorrect or duplicate elements entered by mistake.
How XE Fits Into Your PNR Management Workflow
A typical PNR cleanup session using XE might look like this:
- Retrieve the PNR and display the element line numbers.
- Identify the elements you need to cancel.
- Enter
XEwith the correct line numbers. - Confirm the elements were removed by redisplaying the PNR.
- Continue with the original task โ rebooking, repricing, or processing a refund.
- End the transaction to save the change.
How XE Relates to Other Cancellation Commands
- XE โ cancels individual, ranged, or combined PNR elements.
- XI โ cancels the entire itinerary, including MCO elements where applicable.
- DL โ deletes a single segment whose status is inactive.
- SX โ cancels seat requests in bulk or for specific segments.
- TTE โ deletes one or more TSTs from the PNR.
- SB โ modifies a segment without cancelling it.
The distinction matters: XE removes selected elements, XI removes the whole itinerary, and DL is specifically for inactive segments.
Important: XE works on the line numbers currently displayed in the PNR. If the PNR has been redisplayed or changed, line numbers may shift โ always re-check the element numbers before running the command on a modified PNR.
Cancelling a segment does not automatically cancel the seat requests or TST associated with it. Check the PNR afterwards and clear any remaining elements if needed.
Frequently Asked Questions
What does XE do in Amadeus?
XE cancels or deletes specific PNR elements by their line number โ individually, in a range, or in any combination.
How do I cancel multiple consecutive elements?
Use a range with a hyphen, for example XE3-6 to cancel elements 3 through 6.
Can I combine individual and range selections?
Yes. Use entries like XE3,5,8-12 to cancel elements 3 and 5, plus elements 8 through 12 in a single command.
What is the difference between XE and XI?
XE cancels specific elements you list. XI cancels the entire itinerary at once, including MCO elements where applicable.
Does XE cancel seat requests too?
Only if you list the seat request line numbers in the XE entry. Otherwise, use SX to clear seat requests in bulk or for specific segments.
Conclusion
The XE command is the go-to tool for removing specific PNR elements in Amadeus. Use XE2 for a single element, XE5,6 for multiple individual elements, XE3-6 for a range, and XE3,5,8-12 to combine individual and range selections in one entry. It is essential for cancelling unwanted segments, clearing obsolete SSRs and OSIs, removing remarks, and cleaning a PNR before repricing or reissuing. Because XE works on the currently displayed line numbers, always verify the element numbers before running the command โ especially after the PNR has been modified. Paired with XI, DL, SX, and RH, the XE command completes your PNR management toolkit and keeps every booking clean, accurate, and ready for the next step.