VRBL-INV-AE-1p0-58
Basic Info
| Rule | The Invoice Type Code is not '81' or '480',the Invoice Line Group expects one Invoice Line Tax Group. |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Used Template: CountEqualsOne
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:Item/cac:ClassifiedTaxCategory
|
Implementation
(
(/ubl:Invoice/cbc:InvoiceTypeCode = '480' or /ubl:Invoice/cbc:InvoiceTypeCode = '81')
)
or
(
count(cac:Item/cac:ClassifiedTaxCategory) = 1
)