VRBL-INV-DE-PEPPOL-27
Basic Info
| Rule | If the Payment Terms Settlement Discount Percent or the Payment Terms Amount or the Payment Terms Settlement Period Group is used, then the Payment Terms Settlement Discount Percent and the Payment Terms Settlement Period Group must be provided. |
| Context |
/ubl:Invoice/cac:PaymentTerms
|
| Pattern | vrbl-invoice-de-peppol-3p0 |
| Severity | fatal |
Implementation
not(
boolean(cbc:SettlementDiscountPercent)
or
boolean(cbc:Amount)
or
boolean(cac:SettlementPeriod)
)
or
(
boolean(cbc:SettlementDiscountPercent)
and
boolean(cac:SettlementPeriod)
)