warning UBL
[UBL-CR-050]-A UBL invoice should not include the DespatchDocumentReference DocumentType
/ubl:Invoice | /cn:CreditNote
not(cac:DespatchDocumentReference/cbc:DocumentType)
Source: EN 16931-1 Schematron, UBL syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).
Invoice XML (UBL 2.1 Invoice/CreditNote or UN/CEFACT CII D16B, max 5 MB):
Validate