En este artículo
Swiss CAMT XML Validator with XSD Schema [BETA]
This extension allows you to validate Swiss CAMT XML files using the XSD schema.
Can be used to validate the files used by the extension Camt ISO 20022 Switzerland Bank Statement (Banana+).
Extension installation
To install the extension, proceed as follows:
- From the Extensions > Manage Extensions > Online > Productivity > menu, select the Swiss CAMT XML Validator with XSD schema extension > click the Install button.
Using the extension
To use the extension, proceed as follows:
- From the Extensions > Manage Extensions > menu, select Swiss CAMT XML Validator with XSD schema
- In the window that opens, select the correct XSD schema related to the CAMT file you want to validate
- Then select the CAMT file
To identify the version and therefore the schema used by the CAMT file, open the file and read the information in the "Document" element at the very beginning of the file. The following is an example of a CAMT file version "054.001.04":
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.054.001.04"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:camt.054.001.04 camt.054.001.04.xsd">
...
</Document>
Results
The extension checks the CAMT file using the related XSD schema.
If the message "XML document is valid against xxx" is returned, it means that the CAMT file is correct.