VRBL-INV-CN-1p0-17
Basic Info
| Rule | When the Invoice Type Code is 380, the Price Details must exist within the Invoice Line. |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-cn-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:Price
|
Implementation
(
not(/ubl:Invoice/cbc:InvoiceTypeCode = '380')
)
or
(
boolean(cac:Price)
)