XSD ISO 20022 Registration Authority · 001.10

ISO 20022 pain.002.001.10

Customer Payment Status Report

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

About

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.

Good to know

  • 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.

Files

1 file · 58.3 KB

Example document

pain.002.001.10.xml · 935 B · valid against this schema

In CI and from code

The same schema by its name, iso20022-pain.002.001.10, through the API.

npx @xmlvalid/cli validate "**/*.xml" --schema iso20022-pain.002.001.10
- uses: xmlvalid/validate-action@v1
  with:
    files: "**/*.xml"
    schema: iso20022-pain.002.001.10
    api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
  -H "Authorization: Bearer $XMLVALID_API_KEY" \
  -F document={{ $schema->example ?? 'document.xml' }} -F schema=iso20022-pain.002.001.10

Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups