Skip to content

Error

FX-SCH-A-000643: Check the tender or lot reference type code

In short

Error: fails the selected checks.

FX-SCH-A-000643 means a non-empty ram:TypeCode value in your tender or lot reference (BT-17) is not on the Extended profile's permitted list. Check every ram:TypeCode in the reference containing code 50 and correct the unsupported value.

On this page

What it means

The context selects a ram:AdditionalReferencedDocument containing at least one ram:TypeCode with value 50, then checks each ram:TypeCode child against code list 39. It does not necessarily check only the element containing 50. Empty values pass this code-list test.

Why it matters

A document type code identifies what a reference represents. The Extended profile restricts the codes used in this position.

How to fix it

Find the reference containing type code 50 under ram:ApplicableHeaderTradeAgreement. Check all its ram:TypeCode elements against code list 39 and correct any unsupported value without changing the reference's meaning. If the reported value is 50 itself, ask your software supplier to check the export and applicable rule files rather than guessing another code. Re-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 'ram:TypeCode' 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-000643 still fails, and which other rules do.

Updated 6 November 2026