ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

DAYS

DAYS. The EDIFACT family of day-related codes used to qualify recurrences and validity ranges.

Definition

The term DAYS in EDIFACT designates the family of codes that qualify days, ranges or recurrences. They are carried by DTM (qualifier 167 Period qualifier), QTY (qualifier N Days), or code lists such as UNCL 2151 (Period type code qualifier) and UNCL 2152 (Day type code). They allow expressing: business days (B), calendar days (C), holiday-excluded days, weekends, recurrence days.

Origin

Day-related codes appeared in the early UNTDID versions of the 1980s. They were rationalised by UN/CEFACT around the UNCL 2151 (Period type) and UNCL 2152 (Day type) lists to enable precise expression of recurrence calendars: weekly deliveries, payment due nets in 30 business days, rolling forecasts over 90 calendar days.

Example in context

QTY+47:30:DAY'
DTM+167:20260514-20260520:718'

Here, the QTY segment expresses "30 days" (qualifier 47 = General quantity, unit DAY), and the DTM with qualifier 167 (Period) carries a 7-day range in the ISO 8601-like format with qualifier 718 (Date range). This set might appear in a DELFOR (Delivery Forecast) message to express a lead time and a delivery window.

  • DTM — segment carrying dates and ranges.
  • QTY — quantity segment, can express a day count.
  • UNTDID — the UN/CEFACT repository specifying the codes.

Last updated: May 14, 2026