All validation attributes across the EANCOM EDI templates define loosely their respective EDI Codes. For example, the EDI Codes for ID 2005 are defined as:
The allowed values for ID 2005 differ across segments and levels, for example, the implementation guide for GS1 INVOIC Syntax 4 states that:
- For DTM in RFF loop, the allowed codes are
- For DTM in LOC Loop, the allowed codes are
In case a more detailed validation is required, reflecting the allowed values for each data element in regards to its position, then the validation attributes need to be manually configured.