IBR-013-OM

[IBR-013-OM] - Supporting document reference (IBT-122) and Supporting document UUID (BTOM-023) must be provided if invoice transaction type (BTOM-001) is export invoice (XXXXXX1XXXXXXXXXXXXX) and atleast one VAT exemption reason code (IBT-121) is 'Re-export of goods (VATZR-OM-12)'.

About

ID
IBR-013-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
not($isExport and $lines//cbc:TaxExemptionReasonCode ='VATZR-OM-12') or (exists($doc/cac:AdditionalDocumentReference[not(cbc:DocumentTypeCode = '130')]/cbc:ID) and exists($doc/cac:AdditionalDocumentReference[not(cbc:DocumentTypeCode = '130')]/cbc:UUID))