VRBL-APR-TR-1p2-13

Basic Info

Rule When the Sender Party Tax Company ID is a VKN,the Sender Party Name Group must exist within the Sender Party Group.
Context /ubl:ApplicationResponse/cac:SenderParty
Pattern vrbl-applicationresponse-tr-1p2
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:PartyName/cbc:Name

Implementation

(
	not(string-length(normalize-space(cac:PartyTaxScheme/cbc:CompanyID)) = 10)
)
or
(
	boolean(cac:PartyName/cbc:Name)
)