VRBL-INV-MY-1p0-8

Basic Info

Rule The Invoice expects a maximum of one Additional Document Reference Group used for Free Trade Agreement.
Context /ubl:Invoice
Pattern vrbl-invoice-my-1p0
Severity fatal

Used Template: CountLessEqualOne

Parameter Value
probe = cac:AdditionalDocumentReference[cbc:DocumentType = concat($VRBL-MY-Prefix, 'FreeTradeAgreement')]
displayName_probe = %{cac:AdditionalDocumentReference} used for Free Trade Agreement

Implementation

count(cac:AdditionalDocumentReference[cbc:DocumentType = concat($VRBL-MY-Prefix, 'FreeTradeAgreement')]) <= 1