# ISO 20022 pain.002.001.10

Source: https://xmlvalid.com/schemas/iso20022-pain.002.001.10

> The bank's answer to a payment file: which transfers or direct debits were accepted and which were rejected, with a reason code.

pain.002 reports the status of a pain.001 credit transfer or pain.008 direct debit file, for the whole file, a payment batch or each transaction. Version 10 belongs to the same 2019 release as pain.001.001.09 and pain.008.001.08.

- Type: XSD
- Version: 001.10
- Namespace: `urn:iso:std:iso:20022:tech:xsd:pain.002.001.10`
- Root element: `Document`
- Publisher: ISO 20022 Registration Authority (ISO 20022 terms of use), source: https://www.iso20022.org/catalogue-messages/iso-20022-messages-archive
- Validate against it: https://xmlvalid.com/validate?schema=iso20022-pain.002.001.10

## Notes

- Reason codes such as AC01 or AM04 come from the ISO 20022 external code lists, which change independently of the schema; the schema only checks their length.
