Skip to content

Error

FX-SCH-A-000707: Use an allowed contract reference type code

In short

Error: fails the selected checks.

FX-SCH-A-000707 means the type code on your contract reference is not allowed by the Extended profile. Correct ram:ReferenceTypeCode using the allowed code that describes the reference.

On this page

What it means

A non-empty ram:ReferenceTypeCode inside ram:ContractReferencedDocument under ram:ApplicableHeaderTradeAgreement must match the profile's reference type code list. An empty value does not fail this code-list check.

Why it matters

The type code describes what the reference identifies.

How to fix it

Check the type assigned to your contract reference. In your CII XML, correct ram:ReferenceTypeCode inside ram:ContractReferencedDocument under ram:ApplicableHeaderTradeAgreement using the matching code from the profile's reference type list. Export the corrected file and recheck it.

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:ReferenceTypeCode' 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-000707 still fails, and which other rules do.

Updated 6 November 2026