Review an expiration date code by asking separate questions about its meaning, its format and its printed appearance. Start with the approved date wording for the product and destination, then compare the visible text and encoded content with that approval. Use the following checks alongside your code inspection plan.
Match the date meaning before checking the format
For an encoded expiration field:
AI (17) identifies the expiration date. AI (15) identifies the best-before date.
Confirm which date type the job calls for before selecting the field. Keep the approved label wording, expected date and intended market together in the job record. Ask: are we checking an expiration date, a best-before date, or a production code?
Separate the encoded date from the visible date
Encoded expiration field
The expiration-date field uses YYMMDD. The expiration-date year contains the tens and units of the year and is mandatory. The expiration-date month is mandatory.
When specifying the day is unnecessary, the day field must contain two zeroes. A zero-filled day is interpreted as the last day of the stated month, with leap-year adjustment.
Regulated healthcare products must include a valid day of the month from 1 January 2025.
Check the applicable product scope before approving a zero-filled day. Record the expected encoded value separately from the visible date text.
Visible date and human-readable interpretation
Human-readable interpretation, or HRI, is the encoded data. A date code expressed in a national format is an example of non-HRI text.
Parentheses SHALL surround AIs in HRI when using GS1 element string syntax. Parentheses are not encoded in the barcode when using GS1 element string syntax.
Where regulations or trading-partner agreements require applied dates for stock rotation and manual identification, the format SHOULD be YYYY-MM-DD preceded by the date-type short form. EXP is the short form for expiration in the manual date-marking table.
For the sample review, ask:
- Which text is the human-readable interpretation of the barcode?
- Which text is a separate manual date marking?
- Does each representation match the approved expiration date?
- Has the healthcare day requirement been addressed where applicable?
Inspect character legibility and layout
For HRI, use the following general rules alongside the application-specific requirements and local mandates:
- A clearly legible font SHALL be used for HRI.
- Monospaced or sans serif font types are preferred for HRI.
- Bold, italics, light or narrow font versions SHOULD NOT be used for HRI.
- HRI font height SHOULD be at least 2 mm (0.08 in).
- Font-driven spaces between characters SHOULD NOT be reduced.
Grouped HRI SHALL follow the sequence of encoded data. An element string SHALL NOT be broken into multiple lines of HRI.
Keep the height recommendation attached to the HRI check. Review the actual printed sample: can the reviewer distinguish the characters, follow the intended grouping and associate the text with the intended symbol? Record the answer for the approved layout and repeat the review after an artwork change.
Ask what the text inspection compares
The Cognex VisionPro OCV tool checks whether image characters match the configured expected characters. The Cognex VisionPro OCV tool does not perform OCR.
Use that distinction when discussing the proposed inspection setup. Ask the integrator to demonstrate the comparison against your approved date string and explain how the expected characters are configured. Include these questions in the review:
- Where does the expected date string come from?
- What is the response to a missing or incorrect character?
- What is recorded when the text cannot be accepted?
- How is the inspected sample linked to the job record?
Continue with the OCR, vision and barcode grading guide when planning the inspection station.
Check barcode placement and print quality separately
For the retail barcode-quality check:
Symbol contrast is the difference between the darkest and lightest barcode areas. High contrast enhances barcode readability and scanning accuracy. Glossy surfaces can reflect light and affect decoding.
Avoid packaging areas where graphics, folds or other elements would compromise barcode Quiet Zones.
A 2D barcode printing solution requires repeatable, stable product and material handling.
ISO/IEC 15415 is the referenced print-quality test specification for two-dimensional symbols. ISO/IEC 15416 is the referenced print-quality test specification for linear symbols.
Inline fixed verification scanners may not test all quality requirements.
Request the applicable print-quality report and record which checks were performed. Use the barcode verification guide for the next part of that review.
Prepare the sample-review handoff
Bring the approved artwork, expected visible date, expected encoded content and representative printed packaging to the review. Keep the decisions in a compact checklist:
- Date meaning: confirm the approved date type and product scope.
- Format: compare the visible date and encoded field with the approved values.
- Legibility: inspect characters, spacing and layout.
- Symbol quality: retain the applicable verification results.
- Inspection setup: document the expected-string comparison and its response.
Keep the completed checklist with the approved artwork and sample-review record. Return to the code inspection guide to continue planning the review.
Sources
- General Specifications
- Barcode Syntax Resource User Guide
- Barcodes at Retail POS Implementation Guideline
- Cognex VisionPro OCV Tool documentation



