VRBL-INV-FR-CIUS-1p0-148
Basic Info
| Rule | When the Invoice Type Code is 262, the Contract Document Reference ID must exist within the Invoice. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-fr-cius-1p0 |
| Severity | warning |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:ContractDocumentReference/cbc:ID
|
Implementation
(
not(cbc:InvoiceTypeCode = '262')
)
or
(
boolean(cac:ContractDocumentReference/cbc:ID)
)