VRBL-INV-CN-1p0-29
Basic Info
| Rule | When the Invoice Type Code is 381, the Correction Data must exist within the Invoice. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-cn-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:CorrectionData
|
Implementation
(
not(cbc:InvoiceTypeCode = '381')
)
or
(
boolean(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:CorrectionData)
)