What it means
A non-empty unitCode attribute on ram:BasisQuantity under a line's ram:GrossPriceProductTradePrice must belong to the profile's permitted unit code list. The basis quantity states how many units the price covers. An empty unit code passes this particular check.
Why it matters
The basis quantity and its unit describe what the stated price covers. The unit must use the profile's permitted codes rather than an arbitrary abbreviation.
How to fix it
Check the unit attached to the affected line's price basis quantity, not just the invoiced quantity. In the XML, correct unitCode on ram:GrossPriceProductTradePrice/ram:BasisQuantity. Use an appropriate permitted UN/ECE code, such as C62 for one or HUR for an hour, then export again and recheck the file.
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-001037 still fails, and which other rules do.
Related rules
- FX-SCH-A-001038 The seller of a line can have at most one role code
- FX-SCH-A-001039 The seller of a line can have at most one description
- FX-SCH-A-001040 The seller of a line can have at most one electronic address block
- FX-SCH-A-001041 The seller of a line can have at most one VAT number entry
- FX-SCH-A-001042 The seller of a line can have at most one tax number entry
- FX-SCH-A-001043 A line seller's contact email needs exactly one address