Skip to content

Error

FX-SCH-A-000320: Use an allowed delivery terms code

In short

Error: fails the selected checks.

FX-SCH-A-000320 means a non-empty ram:DeliveryTypeCode in your delivery terms is not in the Extended profile's permitted code list. Replace it with the listed code matching the agreed delivery terms, then export and recheck the file.

On this page

What it means

For the Extended profile of Factur-X and ZUGFeRD, this test accepts an empty delivery type code or a value found in code list 36 of FACTUR-X_EXTENDED_codedb.xml. FX-SCH-A-000319 separately requires exactly one ram:DeliveryTypeCode within each ram:ApplicableTradeDeliveryTerms. Passing this value check alone does not establish that the delivery terms are correct.

Why it matters

A non-empty delivery type code must match the profile's list so that its meaning can be read consistently.

How to fix it

Check ram:DeliveryTypeCode inside ram:ApplicableTradeDeliveryTerms. Use the exact permitted code for your agreed delivery terms, without appending a place name or description to the code. Do not choose an unrelated code merely to clear the error. If the delivery-terms block was included by mistake, remove it. 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:DeliveryTypeCode' 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-000320 still fails, and which other rules do.

Updated 6 November 2026