What it means
A non-empty unitCode on ram:BasisQuantity inside the line's ram:NetPriceProductTradePrice must match code list 15 in FACTUR-X_EXTENDED_codedb.xml. BT-149 gives the quantity covered by the unit price; BT-150 gives its unit of measure. An empty code passes this particular test.
Why it matters
The unit code states what the price base quantity measures. This code-list check does not perform the line amount calculation.
How to fix it
Correct unitCode on the affected ram:NetPriceProductTradePrice/ram:BasisQuantity. Use the code matching the actual unit, such as C62 for a count of individual units, HUR for hours or KGM for kilograms. Keep the base quantity consistent with what the price covers. 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
Value of '@unitCode' is not allowed. 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-001059 still fails, and which other rules do.
Related rules
- FX-SCH-A-001060 A tax included in the price needs exactly one tax amount
- FX-SCH-A-001061 A tax included in the price needs exactly one tax type
- FX-SCH-A-001062 A tax included in the price needs exactly one category
- 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