Rules
VRBL-APR-TR-1p2-14
Basic Info
| Rule | When the Sender Party Tax Company ID is a TCKN,the Sender Party Person First Name 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:Person/cbc:FirstName
|
Implementation
(
not(string-length(normalize-space(cac:PartyTaxScheme/cbc:CompanyID)) = 11)
)
or
(
boolean(cac:Person/cbc:FirstName)
)