VRBL-INV-PL-B2B-3-82
Basic Info
| Rule | When the Invoice Type Code is '384', the Invoice Subtype Code must exist within the Invoice Extension. |
| Context |
/ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension
|
| Pattern | vrbl-invoice-pl-b2b-3p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
vrbl:InvoiceSubtypeCode
|
Implementation
(
not(/ubl:Invoice/cbc:InvoiceTypeCode='384')
)
or
(
boolean(vrbl:InvoiceSubtypeCode)
)