What it means
A price discount (BT-147) reduces the price before discount (BT-148) to the price after discount (BT-146). This rule requires exactly one ram:ActualAmount within each ram:AppliedTradeAllowanceCharge under ram:GrossPriceProductTradePrice where ram:ChargeIndicator/udt:Indicator equals false. It counts amount elements rather than checking their values. It applies to the Basic, EN 16931 and Extended profiles of Factur-X and ZUGFeRD.
Why it matters
The amount states how much is deducted from the price before discount. A missing or repeated amount element does not meet the required price discount structure.
How to fix it
Check the discount applied to the price, rather than a separate discount on the whole line or invoice. In XML, give the affected ram:AppliedTradeAllowanceCharge exactly one ram:ActualAmount containing the price discount amount. Remove duplicate elements, or remove the adjustment if no price discount applies. Export and recheck.
Once the file is corrected, check it again for free: Validate a ZUGFeRD invoice
Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice Beta
The rule as published
Element 'ram:ActualAmount' must occur exactly 1 times. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 BASIC | 1.0.9-2 |
| Factur-X 1.09 EN 16931 | 1.0.9-2 |
| Factur-X 1.09 EXTENDED | 1.0.9-2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
| ZUGFeRD 2.5 EN 16931 | 2.5.2 |
| ZUGFeRD 2.5 EXTENDED | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000531 still fails, and which other rules do.
Related rules
- FX-SCH-A-000532 The net price needs exactly one amount element
- FX-SCH-A-000533 Use a valid unit code for the price base quantity
- FX-SCH-A-000534 Use a valid unit code for the billed quantity
- FX-SCH-A-000535 Line VAT details need exactly one tax type element
- FX-SCH-A-000536 Line VAT details need exactly one VAT category element
- FX-SCH-A-000537 Use a valid VAT category code on the line