Module for AS4 Version 10.1.May 2019 | Understanding and Using webMethods AS4 Module | Installing and Using AS4 Module | Built-In Services | Summary of Elements for the WmAS4 Package | wm.ip.estd.as4.peppol:validateContent
 
wm.ip.estd.as4.peppol:validateContent
The payload is validated if it is Invoice or CreditNote for both inbound and outbound processing of documents. If the validation has to be done for any other documents, you must configure the XML schema and the schematron in the file: <Install_Dir>\IntegrationServer\instances\default\packages\WmAS4\resources\peppol\validate.cnf with key as the corresponding document identifier and value as the comma separated values of schema names and the schematron names. XML schema must be located at <Install_Dir>\IntegrationServer\instances\default\packages\WmAS4\resources\peppol\xsd\maindoc and the schematron files must be located at <Install_Dir>\IntegrationServer\instances\default\packages\WmAS4\resources\peppol location.
Validates Peppol billing BIS 3.0 invoices and credit notes.Validates in the following order:
1. The UBL 2.1 XML Schema from OASIS.
2. The CEN rules from https://docs.peppol.eu/poacc/billing/3.0/files/CEN-EN16931-UBL.sch.
3. The Peppol rules from https://docs.peppol.eu/poacc/billing/3.0/files/PEPPOL-EN16931-UBL.sch. For the latest rules, see https://docs.peppol.eu/poacc/billing/3.0/.
Input Parameters
action
String. Peppol document type identifier.
content
Object. A byte array that represents the invoice or creditNote payload.
Output Parameters
errors
String List. Any error that was encountered during the generation of the message.