XSD
ISO 20022 Registration Authority · 001.03
ISO 20022 pain.002.001.03
Customer Payment Status Report (2009)
The status report that answers pain.001.001.03 and pain.008.001.02 files.
About
Banks that take payment files in the 2009 versions report accepted and rejected transactions in this version of pain.002.
Good to know
- Reason codes come from the ISO 20022 external code lists; the schema only checks their length.
- The example is by xmlvalid.com.
Example document
pain.002.001.03.xml · 935 B · valid against this schema
In CI and from code
The same schema by its name, iso20022-pain.002.001.03, through the API.
npx @xmlvalid/cli validate "**/*.xml" --schema iso20022-pain.002.001.03
- uses: xmlvalid/validate-action@v1
with:
files: "**/*.xml"
schema: iso20022-pain.002.001.03
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.03
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