Skip to content

Error

FX-SCH-A-000512: Check the invoicing period end date's format code

In short

Error: fails the selected checks.

FX-SCH-A-000512 means the format attribute on the invoicing period end date (BT-74) is outside the date-format list used by the Basic profiles of Factur-X and ZUGFeRD. Use format code 102 with the date written as eight digits in YYYYMMDD order.

On this page

What it means

This rule checks a non-empty format attribute on the invoicing period's end date against the profile's date-format code list. Format 102 denotes a year, month and day without separators or a time. It does not check the date text, compare the period's dates or require both dates to be present.

Why it matters

The format code describes how software should interpret the invoicing period's end date.

How to fix it

On ram:BillingSpecifiedPeriod/ram:EndDateTime/udt:DateTimeString under ram:ApplicableHeaderTradeSettlement, set format to 102 and ensure the date text uses YYYYMMDD. If you cannot control this attribute, ask your software supplier to check how the end date is exported. 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

Value of '@format' is not allowed.

Where this rule applies

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

Check your file

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

Updated 6 November 2026