Validation message

[UBL-CR-666]-A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Attachment

UBL

Context

1

/ubl:Invoice | /cn:CreditNote

Rule

1

not(//cac:AdditionalDocumentReference[cbc:DocumentTypeCode = '130']/cac:Attachment)

Used in business terms