VRBL-TXS-FR-1p0-5
Basic Info
|
Rule
|
When the Statement Extension Document Subtype Code is PURCHASES, the Statement Buyer Party Group must exist within the Statement. |
|
Context
|
/ubl:Statement
|
|
Pattern
|
vrbl-txs-fr-1p0 |
|
Severity
|
fatal |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cac:AccountingCustomerParty/cac:Party
|
Implementation
(
not(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:StatementExtension/vrbl:DocumentSubtypeCode = concat($VRBL-FR-Prefix, 'PURCHASES'))
)
or
(
boolean(cac:AccountingCustomerParty/cac:Party)
)