Skip to content
Theme
English

Error

FX-SCH-A-000416: The invoice date must be written as YYYYMMDD (format 102)

In short

Error: fails the selected checks.

FX-SCH-A-000416 means the format code that goes with the invoice date (BT-2) in a Basic WL file is not one the profile allows. Fix it by writing the date as YYYYMMDD with format code 102, which invoicing software does for you when you export again.

On this page

What it means

In a Factur-X or ZUGFeRD file the invoice date (BT-2) is written in udt:DateTimeString, and its format attribute says how the date is written. In the Basic WL profile that attribute must be a value from the profile's code list, which is 102. Code 102 means eight digits in the order year, month, day, with no separators, such as 20261105.

Why it matters

The recipient's software reads the date according to the format code. A code it does not know means the date cannot be interpreted reliably, so the file fails the profile check and is rejected.

How to fix it

You do not normally type this yourself. Export the file again from your invoicing software and make sure the software is up to date. If you build the XML yourself, set the format attribute of udt:DateTimeString inside ram:IssueDateTime to 102 and write the date as eight digits.

The rule as published

Value of '@format' is not allowed.

Where this rule applies

Rule set Version
Factur-X 1.09 BASIC WL 1.0.9-2
ZUGFeRD 2.5 BASIC WL 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

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

Updated 6 November 2026