Skip to content

Error

FX-SCH-A-001153: Use an allowed unit code for the included product

In short

Error: fails the selected checks.

FX-SCH-A-001153 means unitCode on an included product's ram:UnitQuantity contains a code outside the Extended profile's allowed unit list. Replace it with the allowed code for the unit that the quantity actually uses.

On this page

What it means

The rule checks unitCode on ram:UnitQuantity within ram:IncludedReferencedProduct under the line's ram:SpecifiedTradeProduct. A non-empty value must appear in the profile's unit code list. An empty or missing value does not fail this test; FX-SCH-A-001152 separately checks that the attribute exists.

Why it matters

A shared unit code lets software interpret what the included product's quantity measures.

How to fix it

Correct unitCode on the affected ram:UnitQuantity. Use the code for the actual unit, such as C62 for individual units, KGM for kilograms or HUR for hours. Do not use informal labels such as pcs or kg in place of those codes. Save or 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-001153 still fails, and which other rules do.

Updated 6 November 2026