What it means
Each ram:IncludedTradeTax inside the line's ram:NetPriceProductTradePrice must contain one ram:CategoryCode. This rule counts category elements; it does not select or check the category value or determine the correct VAT treatment.
Why it matters
The category records how the included tax is classified. Passing this element-count check does not establish that the tax treatment is correct.
How to fix it
Add the missing ram:CategoryCode or remove duplicate elements in the affected ram:IncludedTradeTax. Set the category that actually applies. For VAT, examples are S for standard-rated supplies, Z for zero-rated supplies, E for supplies exempt from VAT and AE for reverse charge. Export the corrected file and check it again.
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:CategoryCode' must occur exactly 1 times. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 EXTENDED | 1.0.9-2 |
| ZUGFeRD 2.5 EXTENDED | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-001062 still fails, and which other rules do.
Related rules
- FX-SCH-A-001063 Give each included tax exactly one rate
- FX-SCH-A-001064 The VAT category of a tax included in the price must be allowed
- FX-SCH-A-001065 The exemption reason code of an included tax must be allowed
- FX-SCH-A-001066 The tax type of a tax included in the price must be allowed
- FX-SCH-A-001067 Add the quotation date format attribute
- FX-SCH-A-001068 The date format code of a quotation reference must be valid