Skip to content

Error

FX-SCH-A-000390: The charge reason code (list 5153) must be an allowed code

In short

Error: fails the selected checks.

FX-SCH-A-000390 means an invoice-level charge has a non-empty ram:ReasonCode marked listID="5153" that is not in the Extended profile's matching code list. Replace it with an allowed code that accurately describes the charge, then export and recheck the file.

On this page

What it means

In the Extended profiles of Factur-X and ZUGFeRD, the rule checks ram:ReasonCode with listID="5153" inside a header ram:SpecifiedTradeAllowanceCharge (BG-21) where ram:ChargeIndicator/udt:Indicator is "true". A non-empty value must match the corresponding profile code list. An empty value passes this check; other listID variants are outside its scope.

Why it matters

The list identifier tells software which set of meanings to use when reading the charge reason code.

How to fix it

Check the affected header charge's ram:ReasonCode and its listID. For listID="5153", use a code from the matching Extended profile list that describes the actual charge. Do not place a code from another list under this identifier. If your software cannot produce the appropriate code, ask its supplier to correct the mapping. Export 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 'ram:ReasonCode[@listID="5153"]' 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-000390 still fails, and which other rules do.

Updated 6 November 2026