Skip to content

Error

FX-SCH-A-000979: Format attribute for an early payment discount date

In short

Error: fails the selected checks.

FX-SCH-A-000979 means the basis date in your early payment discount terms has no format attribute on udt:DateTimeString. Add the attribute with a permitted code matching the date's notation, then export and recheck your file.

On this page

What it means

This rule checks that udt:DateTimeString inside ram:ApplicableTradePaymentDiscountTerms/ram:BasisDateTime has a format attribute. It checks attribute presence only, not the attribute's value or the date itself.

Why it matters

The format attribute identifies how the basis date for the early payment discount terms is written.

How to fix it

In ram:SpecifiedTradePaymentTerms, find ram:ApplicableTradePaymentDiscountTerms/ram:BasisDateTime/udt:DateTimeString. Add its format attribute and use a permitted code matching the stored date. For the YYYYMMDD notation, use format="102". If your software exports the date without the attribute, ask its supplier to correct the export. Recheck the corrected 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

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

Updated 6 November 2026