Skip to content

Error

FX-SCH-A-000596: Use format 102 for the preceding invoice date

In short

Error: fails the selected checks.

FX-SCH-A-000596 means the format code attached to a preceding invoice date (BT-26) is not allowed in your Factur-X or ZUGFeRD EN 16931 invoice. Set the format to 102 and represent that invoice's date as YYYYMMDD, then recheck your invoice.

On this page

What it means

This rule checks a non-empty format attribute on ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString under ram:ApplicableHeaderTradeSettlement. Use 102 for YYYYMMDD. The date belongs to the preceding invoice reference associated with BT-25. An empty format value passes this code-list test; it does not check the date or reference number.

Why it matters

The format code specifies how the referenced invoice's date is written. It does not establish that the reference identifies the intended invoice.

How to fix it

Keep the actual date of the preceding invoice, not the date of the current invoice or credit note. Correct its XML representation in ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString to YYYYMMDD with format="102". Note that this element uses qdt, not udt. Regenerate and recheck your invoice.

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 '@format' is not allowed.

Where this rule applies

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

Check your file

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

Updated 6 November 2026