Skip to content

Error

FX-SCH-A-001078: Use an allowed unit code for the free-of-charge quantity

In short

Error: fails the selected checks.

FX-SCH-A-001078 means a line's free-of-charge quantity has a non-empty unit code that is not in the Extended profile's allowed list. Correct unitCode on ram:ChargeFreeQuantity to an allowed code for the unit that quantity measures.

On this page

What it means

The unitCode attribute on ram:ChargeFreeQuantity under ram:SpecifiedLineTradeDelivery is checked against code list 15 in FACTUR-X_EXTENDED_codedb.xml. Examples include C62 for a count of items, HUR for hours and KGM for kilograms. An empty value passes this rule. A missing attribute is checked separately by FX-SCH-A-001077.

Why it matters

The unit code identifies what the free-of-charge quantity measures. The profile requires non-empty codes to come from its unit list.

How to fix it

Check the actual unit of measure for the free-of-charge quantity on the affected line. Correct unitCode on ram:ChargeFreeQuantity to the matching allowed code, rather than free text such as pcs or kg. 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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-001078 still fails, and which other rules do.

Updated 6 November 2026