Skip to content

Error

FX-SCH-A-000534: Use a valid unit code for the billed quantity

In short

Error: fails the selected checks.

FX-SCH-A-000534 means the unit code for an invoice line's billed quantity (BT-130) is not permitted. Correct unitCode on ram:BilledQuantity using a permitted code that matches the actual unit, such as C62 for units or HUR for hours, then export and recheck your file.

On this page

What it means

An invoice line's billed quantity (BT-129) has a unit of measure (BT-130). In the Basic profiles of Factur-X and ZUGFeRD, this rule checks a non-empty unitCode attribute on ram:SpecifiedLineTradeDelivery/ram:BilledQuantity against the permitted unit code list. It checks the code, not whether the quantity or chosen unit correctly describes the supply.

Why it matters

The quantity and its unit describe how much you are billing. A standard unit code distinguishes pieces, hours, weights and other measures.

How to fix it

Check the actual unit represented by the billed quantity and select its matching code. Do not use C62 as a fallback for an unknown unit. If you are unsure, confirm the intended measure rather than guessing. In XML, correct unitCode on the line's ram:SpecifiedLineTradeDelivery/ram:BilledQuantity. Export and recheck.

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 BASIC 1.0.9-2
ZUGFeRD 2.5 BASIC 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

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

Updated 6 November 2026