XRechnung 2.6.0 · UBLStored validation assertion
UBL-CR-665
XRechnung 2.6.0 · UBL
warningschema
Original rule text
[UBL-CR-665]-A UBL invoice should not include the AdditionalDocumentReference ID schemeID unless the DocumentTypeCode equals '130'
not(//cac:AdditionalDocumentReference[cbc:DocumentTypeCode != '130' or not(cbc:DocumentTypeCode)]/cbc:ID/@schemeID)