validate_invoice
Validate a UBL 2.1 invoice (or credit note) XML string against the official EN 16931 Schematron. Returns whether it is valid and any failing BR-* business rules.
Parameters1
| xml | string | required | Raw UBL 2.1 invoice XML. |
Raw schema
{
"type": "object",
"properties": {
"xml": {
"type": "string",
"description": "Raw UBL 2.1 invoice XML."
}
},
"required": [
"xml"
]
}