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