VRBL-INV-PEPPOL-PINT-109
Basic Info
| Rule | The Invoice Line expects a maximum of one Item Price Discount. |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-peppol-pint |
| Severity | fatal |
Used Template: CountLessEqualOne
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:Price/cac:AllowanceCharge/cbc:Amount
|
Implementation
count(cac:Price/cac:AllowanceCharge/cbc:Amount) <= 1