Rules
VRBL-APR-TR-1p2-18
Basic Info
| Rule | When the Receiver Party Tax Company ID is a VKN,the Receiver Party Name Group must exist within the Receiver Party Group. |
| Context |
/ubl:ApplicationResponse/cac:ReceiverParty
|
| 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)
)