Skip to main content

IATA_PaymentClearanceCancellationRS

Response · Payment Clearance · Implemented

Implemented

Delivers: STTCAN Payment clearance — cancellation.

Rests on simulated supply (settlement) — flagged on every response; see Simulated supply.

Returns the result of a clearance cancellation.

When to use​

Response to IATA_PaymentClearanceCancellationRQ.

Transport​

IATA_PaymentClearanceCancellationRS is a response body. It is returned by its paired request rather than POSTed directly.

Example​

note

✅ The example below validates against the original XSD.

<?xml version="1.0" encoding="UTF-8"?>
<IATA_PaymentClearanceCancellationRS xmlns="http://www.iata.org/IATA/2015/00/2022.1/IATA_PaymentClearanceCancellationRS">
<Clearance>
<ClearanceID xmlns="http://www.iata.org/IATA/2015/00/2022.1/IATA_PaymentClearanceCommonTypes">0000000AAAAAAAA</ClearanceID>
<StatusCode xmlns="http://www.iata.org/IATA/2015/00/2022.1/IATA_PaymentClearanceCommonTypes">AAAAA</StatusCode>
</Clearance>
</IATA_PaymentClearanceCancellationRS>

Key fields​

Top-level content model of IATA_PaymentClearanceCancellationRS (one level deep, including inherited content):

FieldTypeRequiredRepeatableNotes
ClearanceClearanceCancellationResponseType✓✓choice — pick one
ErrorPC_ErrorType✓✓choice — pick one
PayloadStandardAttributesPC_IATA_PayloadStandardAttributesType——

Build it with the SDK​

The @oms/ndc-24-4 package is a reference SDK — build, serialize, parse, and validate this message in code:

import { IATA_PaymentClearanceCancellationRS } from '@oms/ndc-24-4';

const obj = IATA_PaymentClearanceCancellationRS.parseXML(xml); // parse a received response
IATA_PaymentClearanceCancellationRS.schema.parse(obj); // strict Zod validation