VRBL-INV-CN-1p0-9
Basic Info
|
Rule
|
The Seller Party ID used as Company Code must exist within the Seller Party. |
|
Context
|
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party
|
|
Pattern
|
vrbl-invoice-cn-1p0 |
|
Severity
|
fatal |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cac:PartyIdentification/cbc:ID[@schemeID=concat($VRBL-CN-Prefix, 'CODE')]
|
| displayName_probe |
= |
%{cac:PartyIdentification/cbc:ID} used as Company Code
|
Implementation
boolean(cac:PartyIdentification/cbc:ID[@schemeID=concat($VRBL-CN-Prefix, 'CODE')])