Rules
VRBL-INV-AE-1p0-63
Basic Info
| Rule | An Payment Due Date must be present in case Amount Due For Payment != 0, unless Deemed Supply Indicator exists or Invoice Type Code = '261 or '81'. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Implementation
(cbc:InvoiceTypeCode = '261' or cbc:InvoiceTypeCode = '81' or cbc:InvoiceTypeCode = '381')
or
(
boolean(cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension/vrbl:DeemedSupplyIndicator)
)
or
number(cac:LegalMonetaryTotal/cbc:PayableAmount) = 0
or
(
boolean(cbc:DueDate)
)