Skip to content

Error

FX-SCH-A-000670: Format attribute for the purchase order date

In short

Error: fails the selected checks.

FX-SCH-A-000670 means the purchase order date in qdt:DateTimeString is missing its format attribute. Add the attribute with a code matching the date representation, such as 102 for eight digits in year, month and day order.

On this page

What it means

The check requires a format attribute on ram:BuyerOrderReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString. It checks only whether the attribute exists. FX-SCH-A-000671 separately checks non-empty format codes against the accepted list.

Why it matters

The format attribute labels the representation used for the purchase order date.

How to fix it

Add format to qdt:DateTimeString inside ram:BuyerOrderReferencedDocument/ram:FormattedIssueDateTime. If the date uses eight digits in year, month and day order, set format to 102. Keep the code and date text consistent, then export the invoice again 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

Attribute '@format' is required in this context.

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-000670 still fails, and which other rules do.

Updated 6 November 2026