OrderCancel Functional Capabilities

OrderCancel Request

The OrderCancelRQ service provides the ability to cancel the booking. The service cancels the booking and refunds the refundable amount to the original form of payment if applicable.

Canceling an order is a two step process:

  1. NDC 2017.2 OrderReshopRQ/RS provides details about cancellation, such as forfeit and retain, refund, etc.
  2. NDC 2017.2 OrderCancelRQ/RS cancels the existing reservation

Details required to be passed in the request:

  • /OrderCancelRQ/Party/Sender/TravelAgencySender/Contacts/Contact/EmailContact/Address
  • /OrderCancelRQ/ExpectedRefundAmount/@RefundAllInd
  • /OrderCancelRQ/Query/Order/@OrderID
  • /OrderCancelRQ/Query/Order/@Owner

Refund versus Retain

Refund
When @RefundAllInd is provided as true, then the client’s original method of payment for a given booking (i.e., credit card) is refunded.

Retain
The customer can retain the value of the canceled itinerary and use the funds toward future travel. When @RefundAllInd is provided as false, then the funds for future travel are retained.

OrderCanceRQ_RemoveOrderCancelRQ_Retain
Copy
Copied
<OrderCancelRQ Version="17.2">
	<Document>
		<Name>ATPCO NDC</Name>
		<ReferenceVersion>IATA NDC 17.2</ReferenceVersion>
	</Document>
	<Party>
		<Sender>
			<TravelAgencySender>
				<Contacts>
					<Contact>
						<EmailContact>
							<Address>abc@atpco.net</Address>
							<!--?Verification?Email-->
						</EmailContact>
					</Contact>
					<Contact>
						<EmailContact>
							<Address>xyz@atpco.net</Address>
							<!--?Verification?Email-->
						</EmailContact>
					</Contact>
				</Contacts>
				<AgencyID>001</AgencyID>
			</TravelAgencySender>
		</Sender>
	</Party>
	<ExpectedRefundAmount RefundAllInd="true">
		<!--RefundAllInd="true" to Cancel/Remove the PNR completely.-->
		<Equivalent/>
		<!--It is mandatory per NDC schema, sending it blank.-->
	</ExpectedRefundAmount>
	<Query>
		<Order OrderID="QAANYC" Owner="YY"/>
		<!-- Passing the PNR information in OrderID.-->
	</Query>
</OrderCancelRQ>
Copy
Copied
<OrderCancelRQ Version="17.2">
	<Document>
		<Name>ATPCO NDC</Name>
		<ReferenceVersion>IATA NDC 17.2</ReferenceVersion>
	</Document>
	<Party>
		<Sender>
			<TravelAgencySender>
				<Contacts>
					<Contact>
						<EmailContact>
							<Address>abc@atpco.net</Address>
							<!--?Verification?Email-->
						</EmailContact>
					</Contact>
					<Contact>
						<EmailContact>
							<Address>xyz@atpco.net</Address>
							<!--?Verification?Email-->
						</EmailContact>
					</Contact>
				</Contacts>
				<AgencyID>001</AgencyID>
			</TravelAgencySender>
		</Sender>
	</Party>
	<ExpectedRefundAmount RefundAllInd="false">
		<!--RefundAllInd="false" to Retain the PNR.-->
		<Equivalent/>
		<!--It is mandatory per NDC schema, sending it blank.-->
	</ExpectedRefundAmount>
	<Query>
		<Order OrderID="QAANYC" Owner="YY"/>
		<!-- Passing the PNR information in OrderID.-->
	</Query>
</OrderCancelRQ>

OrderCancel Response

Cancel response includes:

  • /OrderCancelRS/Response/OrderCancelProcessing/Remarks/Remark
  • /OrderCancelRS/Response/OrderReference
  • /OrderCancelRS/Response/TicketDocInfos/TicketDocInfo/FareInfo/Total/Amount
  • /OrderCancelRS/Response/TicketDocInfos/TicketDocInfo/FareInfo/BaseFare/Amount
  • /OrderCancelRS/Response/TicketDocInfos/TicketDocInfo/FareInfo/Taxes/Total
  • /OrderCancelRS/Response/TicketDocInfos/TicketDocInfo/FareInfo/Taxes/Breakdown
  • /OrderCancelRS/Response/TicketDocInfos/TicketDocInfo/TicketDocument