UBL-CR-666 – EN 16931 validation rule
Official message
[UBL-CR-666] A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Attachment
- Severity
- Error The invoice is invalid and may be rejected by the recipient.
- Applies to
- EN 16931 (UBL)
For developers: test expression per syntax
EN 16931 (UBL) (UBL)
Context: /ubl:Invoice | /cn:CreditNote
not(//cac:AdditionalDocumentReference[cbc:DocumentTypeCode = '130']/cac:Attachment)
Related validation rules
Last updated:
Explanation of the validation rule, not legal or tax advice.