What it means
For each ram:PerPackageUnitQuantity inside ram:SpecifiedLineTradeDelivery in the Extended profile, this rule checks that the unitCode attribute exists. It does not check the attribute's value.
Why it matters
The quantity per package can describe a count, weight or volume. The unit explains what your number measures.
How to fix it
Check the quantity per package and its unit in your invoice data. In XML, add unitCode to ram:PerPackageUnitQuantity inside the line's ram:SpecifiedLineTradeDelivery, using the unit of the contents rather than the packaging. If you have no quantity per package to report, remove that element. Export and recheck your 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
Attribute '@unitCode' is required in this context. 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-001085 still fails, and which other rules do.
Related rules
- FX-SCH-A-001086 Quantity per package unit code must be an allowed code
- FX-SCH-A-001087 Receiving advice date on a line needs a date format code
- FX-SCH-A-001088 Receiving advice date on a line must use an allowed format code
- FX-SCH-A-001089 Line delivery party may have only one identifier
- FX-SCH-A-001090 Line delivery party may have only one role code
- FX-SCH-A-001091 Line delivery party may have only one electronic address block