How to fix PEPPOL-EN16931-R046
Item net price MUST equal (Gross price - Allowance amount) when gross price is provided.
What this rule checks
When a price-level allowance (cac:Price/cac:AllowanceCharge) gives the item gross price (BT-148, cbc:BaseAmount), the item net price (BT-146, cbc:PriceAmount) must equal the gross price minus the item price discount (BT-147, cbc:Amount). This check has no rounding tolerance: the values must match exactly. If there is no gross price, the rule does not apply.
How to fix it
Ensure cac:Price → cbc:PriceAmount equals cac:Price → cac:AllowanceCharge → cbc:BaseAmount minus cac:Price → cac:AllowanceCharge → cbc:Amount.
Common causes
cbc:PriceAmountcontains the gross price instead of the net price after the discount.- The discount was entered as a percentage (for example 10) in
cbc:Amountinstead of as an amount. - The net price was rounded to fewer decimals than the gross price minus the discount, so the values are not exactly equal.
Example: before (broken)
<cac:Price>
<!-- gross price sent as net price -->
<cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:Amount currencyID="EUR">10.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">100.00</cbc:BaseAmount>
</cac:AllowanceCharge>
</cac:Price>Example: after (fixed)
<cac:Price>
<!-- 100.00 - 10.00 = 90.00 -->
<cbc:PriceAmount currencyID="EUR">90.00</cbc:PriceAmount>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:Amount currencyID="EUR">10.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">100.00</cbc:BaseAmount>
</cac:AllowanceCharge>
</cac:Price>Related rules
Rule sets
PEPPOL-EN16931-R046 is in these rule sets. Each page lists all its rules and the pinned version.
Validate your invoice
Upload your corrected invoice to check it passes PEPPOL-EN16931-R046 and all other EN 16931 and Peppol BIS 3.0 rules. Free, instant, no signup.