Checking a supplier catalog before it goes live.
Which problems in a supplier file you can fix by rule, which must go back to the supplier, and the order to check them in. A four-row example shows where a rule reaches its limit.
Key takeaways
- A rule can test whether a value is valid and consistent. It cannot test accuracy, which the UK Government Data Quality Framework describes as data that matches reality.
- GS1 guidance lets a data recipient map each, count, unit and piece to one unit. It lists a case as a separate packaging level.
- When one SKU arrives with two pack sizes, hold every row in the group and ask the supplier one question.
- In a 2026 audit of three US Department of Veterans Affairs medical facilities, a case price entered against a box overstated one item’s inventory value by $27,981.81.
- Regulated checks depend on the product and the place. US safety data sheet duties attach to shipments of hazardous chemicals and exclude a defined class of manufactured articles.
01Sort every problem into two piles
A supplier file has arrived and the launch date is close. Before you change a value, sort each problem into one of two piles: fixes a rule can make, and questions only the supplier can answer.
A predictable fix has one right answer, and you can write it down in advance. Remove the stray space. Uppercase the SKU. Spell the unit one way. A real ambiguity has two plausible answers, and the file cannot tell you which is true. The usual example is one item sent with two pack sizes.
Three definitions mark the line. The UK Government Data Quality Framework defines validity as data in the range and format you expect. Consistency means values do not contradict other values for the same entity. Accuracy means the data matches reality. A rule can test validity. A rule can detect an inconsistency, but it cannot say which value is right. To confirm accuracy you need the supplier or the product itself.
02Run the checks in a fixed order
Each check depends on the one before it. A duplicate test that runs before cleanup misses two rows that differ only in capitalization. Cleanup that runs on shifted columns cleans the wrong field.
| Order | Check | What it catches | Outcome |
|---|---|---|---|
| 1 | File structure: same number of fields in every row, every value read as text | Shifted columns, rewritten codes | Reject the file and ask for a new export |
| 2 | Identifiers: SKU pattern, GTIN length and check digit | Mistyped or cut-off numbers | Fix spacing and case by rule, hold malformed numbers |
| 3 | Units and pack quantity: known unit, whole number | Spelling variants, unknown units | Map known spellings, hold the rest |
| 4 | Row against row: group by cleaned SKU, compare pack and unit | Duplicates and contradictions | Hold the group and ask the supplier |
| 5 | Regulated fields: required documents and warnings | A missing safety data sheet or warning text | Hold until the supplier sends it |
For the structure check, RFC 4180, an informational memo on the CSV format, says each line should contain the same number of fields.
For identifiers, import every code column as text, so no leading zero is lost. A GTIN has 8, 12, 13 or 14 digits and ends in a check digit, and GS1 publishes the calculation.
03Automate only the fixes that pass four tests
A fix belongs in a rule when it passes all four tests:
- The same input always gives the same output.
- The change cannot alter what the value means.
- The value as sent stays beside the cleaned value.
- The supplier would not dispute the result.
| Change | By rule? | Reason |
|---|---|---|
| Trim spaces around a SKU | Yes, if the rule names the characters it removes | Spaces are part of a CSV field, and Unicode lists 25 white space characters, the no-break space among them |
| Uppercase a SKU | Yes, once the supplier confirms case carries no meaning | Changing case loses information, so keep the original |
| Map each and ea to EA | Yes | GS1 guidance names each, count, unit and piece as units a recipient may map together |
| Uppercase a unit symbol | No | In SI symbols, M means mega and m means milli |
| Pad a GTIN to 14 digits with zeros | Yes | GS1 treats the added zeros as filler that does not change the GTIN |
| Strip leading zeros from a GTIN | No | The zeros that start a GTIN-12 are part of the number and must be kept |
| Choose between pack 12 and pack 24 | No | Only the supplier knows which pack it sells |
Identifiers show why guessing fails. A 2026 audit of a US federal purchasing catalog found one tool with manufacturer part number 07400 listed under six different part numbers, among them 7400 and GB-07400. A rule can see that the values differ. It cannot know which characters the manufacturer assigned.
04Treat each, pack and case as levels, not spellings
The words each, pack and case look like units. In GS1 guidance for exchanging product data, they are levels of a packaging hierarchy. An each is the lowest level meant for individual resale, and a case is a standard shipping unit. The guidance’s own examples of an each include three T-shirts sold in a single pack.
A pack column can therefore mean more than one thing. GS1 warns that net content, even as a count, differs from the number of physical pieces in an item. The 24 in your file may count pieces in one sellable unit, or sellable units in a case.
UN/CEFACT, a United Nations standards body, lists EA as the unit code for each. Case, coded CS, sits in its separate list of package types. A spelling rule can merge each and ea. It cannot turn a case into an each.
One SKU with two pack sizes can also be correct. GS1’s General Specifications say each level of a nested packaging configuration may be a trade item, while systems treat inventory at all levels as one SKU. Under GS1’s GTIN Management Standard, every packaging level above the base unit has its own GTIN, and a changed case quantity requires a new GTIN. Different GTINs on the two rows would suggest two real packs. That is a clue, not proof: GS1 describes its standards as voluntary unless a specific regulation is involved.
A wrong guess is expensive. A 2026 audit of three Veterans Affairs medical facilities in Florida found a case price entered in an inventory system as the price of one box. The system showed 27 boxes at $1,130.58 each. Auditors found nine boxes worth $282.65 each, an overstatement of $27,981.81.
05Worked example: four rows, two ready, two held
The four rows below are example data, not a real supplier file. You can run the same rows in the interactive version.
Apply three rules in order:
- Trim spaces and uppercase the SKU. The supplier has confirmed that case carries no meaning.
- Map each and ea to EA. Keep CASE as its own unit.
- Group rows by cleaned SKU. Hold every row in a group whose pack sizes or units conflict.
| Row | SKU as sent | Product | Pack | Unit as sent | Cleaned SKU | Cleaned unit | Decision |
|---|---|---|---|---|---|---|---|
| 1 | “ cb-019 ” | Cable clip | 24 | each | CB-019 | EA | Ready |
| 2 | “lt-041-a” | Label tab | 6 | EA | LT-041-A | EA | Ready |
| 3 | “GP-210” | Grip glove | 12 | case | GP-210 | CASE | Review |
| 4 | “gp-210” | Grip glove | 24 | ea | GP-210 | EA | Review |
Follow each step:
- Rule 1 removes a leading and a trailing space from row 1 and gives CB-019. Rows 2 and 4 become LT-041-A and GP-210.
- Rule 2 maps each in row 1 and ea in row 4 to EA. Row 3 keeps CASE.
- Rule 3 forms three groups. CB-019 and LT-041-A hold one row each, so rows 1 and 2 are ready.
- The GP-210 group holds rows 3 and 4. They disagree twice: pack 12 against pack 24, and CASE against EA. Hold both rows for review.
Rows 3 and 4 match only after rule 1, which is why the comparison runs last. The rules did not pick 24 because it is larger, or row 4 because it came last. Row 3 may describe a case of 12 and row 4 a separate each that holds 24. One row may also be a mistake. Nothing in the file says which.
CASE is a house label for a packaging level, not a standard unit code. The values as sent stay in the table, so you can trace each decision to the supplier’s row.
06Send one question and record the answer
Hold both GP-210 rows, not one. Publishing either row states a pack size you cannot support. Release rows 1 and 2.
Ask one question that has one answer: which sellable unit and pack quantity belong to GP-210. If the supplier sells both, ask for a distinct SKU for each.
In GS1’s product data network, GDSN, a recipient that receives discrepant data can reply with a Review state that asks the source to act. The guidance recommends sending a status code, a description, the corrective action and the expected correction. You can borrow the shape without the network: name the rows, the field, the conflict and the answer you need.
Make the hold binding. In the federal catalog audit, a mismatch raised a soft flag, but the agency did not require the contractor to correct the data. The check also matched inaccurate part numbers against other inaccurate part numbers. Agreement between two records is not accuracy.
When the answer arrives, record who gave it and on what date. Then correct the rows or add a rule, and keep the values as sent.
07Check regulated fields by product and place
Some fields carry legal duties, and which ones apply depends on the product, the place of sale and sometimes your contract. The table gives four examples and is not a complete list.
OSHA’s standard does not apply to articles, a defined class of manufactured items, and the manufacturer or importer classifies the chemical. Take the hazard status from the supplier, not from a product name. The Proposition 65 safe harbor methods are optional, but a retail seller is responsible for placing and maintaining the warning materials it receives.
Frequently asked questions.
Can you pick the larger pack size, or the newest row, when two rows conflict?
No. Size and row order say nothing about which pack the supplier sells. Both rows may be right, as two packaging levels of one product. Hold the group and ask.
Does a valid check digit prove the GTIN belongs to this product?
No. A valid check digit shows only that the number is well formed. GS1 says the check digit is there to catch incorrectly composed numbers. In GS1’s worked example, 629104150021 gets the check digit 3, and any other twelve digits would get one too. Confirm ownership with the supplier or against the pack.
Should one bad row stop the whole file?
Usually not. Hold the row, or the group it conflicts with, and release the rest. Stop the whole file when its structure fails, for example when rows have different numbers of fields.
Are GS1 rules law?
No. GS1 describes its standards as voluntary unless a specific regulation is involved, and local regulations take precedence over its GTIN rules. Whether a supplier must follow them depends on your contract and on any regulation that adopts them.
Does a US product page have to show net quantity?
That depends on the state. The federal labeling rule described in section 7 above applies to the package label. NIST Handbook 130 holds model laws and regulations that states adopt in various forms, and its model e-commerce regulation would put net quantity on the selling page. Its adoption table, dated November 1, 2025, shows one of 53 jurisdictions with that regulation adopted.
Sources
- UK Government, The Government Data Quality Framework, accessed November 26, 2026.
- RFC Editor, RFC 4180: Common Format and MIME Type for Comma-Separated Values (CSV) Files, accessed November 26, 2026.
- GS1, GS1 General Specifications Standard, Release 26.0, accessed November 26, 2026.
- GS1, How to calculate a check digit manually, accessed November 26, 2026.
- Unicode Consortium, PropList-18.0.0.txt, Unicode Character Database, accessed November 26, 2026.
- Unicode Consortium, Character Properties, Case Mappings and Names FAQ, accessed November 26, 2026.
- GS1, GDSN Trade Item Implementation Guideline, Release 37, accessed November 26, 2026.
- National Institute of Standards and Technology, Metric (SI) Prefixes, accessed November 26, 2026.
- US General Services Administration, Office of Inspector General, The Processes FAS Uses to Ensure It Awards and Collects Accurate Product Data Are Ineffective, accessed November 26, 2026.
- United Nations Economic Commission for Europe, UN/CEFACT, unece:UnitMeasureCode, accessed November 26, 2026.
- United Nations Economic Commission for Europe, UN/CEFACT, unece:PackageTypeCodeList, accessed November 26, 2026.
- GS1, GTIN Management Standard: Pack/case quantity, accessed November 26, 2026.
- US Department of Veterans Affairs, Office of Inspector General, Audit of VISN 8 Supply Chain Management, accessed November 26, 2026.
- Occupational Safety and Health Administration, 1910.1200, Hazard Communication, accessed November 26, 2026.
- California Office of Environmental Health Hazard Assessment, Frequently Asked Questions for Businesses, accessed November 26, 2026.
- California Office of Environmental Health Hazard Assessment, Regulations on Proposition 65, Title 27, Division 4, Chapter 1, Articles 1 through 9 (unofficial copy), accessed November 26, 2026.
- Electronic Code of Federal Regulations, 16 CFR 500.6, Net quantity of contents declaration, location, accessed November 26, 2026.
- European Union, EUR-Lex, Regulation (EU) 2023/988 on general product safety, accessed November 26, 2026.
- National Institute of Standards and Technology, NIST Handbook 130: Uniform Laws and Regulations in the Areas of Legal Metrology and Fuel Quality (2026 Ed.), accessed November 26, 2026.
- National Institute of Standards and Technology, NIST Handbook 130, 2026 edition, Section IV.G, Uniform E-commerce Regulation, accessed November 26, 2026.
- National Institute of Standards and Technology, NIST Handbook 130, 2026 edition, Section II, Uniformity of Laws and Regulations, accessed November 26, 2026.
Source check log: 52 statements, each checked against its source on November 26, 2026
Every figure, date and rule in this article is listed here with the page it was checked against. If a source has changed since that date, the source is right and this page is out of date.
| No. | Statement | Checked against |
|---|---|---|
| 1 | It cannot test accuracy, which the UK Government Data Quality Framework describes as data that matches reality. | gov.uk |
| 2 | GS1 guidance lets a data recipient map each, count, unit and piece to one unit. | ref.gs1.org |
| 3 | It lists a case as a separate packaging level. | ref.gs1.org |
| 4 | In a 2026 audit of three US Department of Veterans Affairs medical facilities, a case price entered against a box overstated one item’s inventory value by $27,981.81. | vaoig.gov |
| 5 | US safety data sheet duties attach to shipments of hazardous chemicals and exclude a defined class of manufactured articles. | osha.gov |
| 6 | The UK Government Data Quality Framework defines validity as data in the range and format you expect. | gov.uk |
| 7 | Consistency means values do not contradict other values for the same entity. | gov.uk |
| 8 | Accuracy means the data matches reality. | gov.uk |
| 9 | For the structure check, RFC 4180, an informational memo on the CSV format, says each line should contain the same number of fields. | rfc-editor.org |
| 10 | A GTIN has 8, 12, 13 or 14 digits and ends in a check digit, and GS1 publishes the calculation. | ref.gs1.org |
| 11 | A GTIN has 8, 12, 13 or 14 digits and ends in a check digit, and GS1 publishes the calculation. | gs1.org |
| 12 | Spaces are part of a CSV field, and Unicode lists 25 white space characters, the no-break space among them | rfc-editor.org |
| 13 | Spaces are part of a CSV field, and Unicode lists 25 white space characters, the no-break space among them | unicode.org |
| 14 | Changing case loses information, so keep the original | unicode.org |
| 15 | GS1 guidance names each, count, unit and piece as units a recipient may map together | ref.gs1.org |
| 16 | In SI symbols, M means mega and m means milli | nist.gov |
| 17 | GS1 treats the added zeros as filler that does not change the GTIN | ref.gs1.org |
| 18 | The zeros that start a GTIN-12 are part of the number and must be kept | ref.gs1.org |
| 19 | A 2026 audit of a US federal purchasing catalog found one tool with manufacturer part number 07400 listed under six different part numbers, among them 7400 and GB-07400. | gsaig.gov |
| 20 | An each is the lowest level meant for individual resale, and a case is a standard shipping unit. | ref.gs1.org |
| 21 | The guidance’s own examples of an each include three T-shirts sold in a single pack. | ref.gs1.org |
| 22 | GS1 warns that net content, even as a count, differs from the number of physical pieces in an item. | ref.gs1.org |
| 23 | UN/CEFACT, a United Nations standards body, lists EA as the unit code for each. | vocabulary.uncefact.org |
| 24 | Case, coded CS, sits in its separate list of package types. | vocabulary.uncefact.org |
| 25 | GS1’s General Specifications say each level of a nested packaging configuration may be a trade item, while systems treat inventory at all levels as one SKU. | ref.gs1.org |
| 26 | Under GS1’s GTIN Management Standard, every packaging level above the base unit has its own GTIN, and a changed case quantity requires a new GTIN. | gs1.org |
| 27 | That is a clue, not proof: GS1 describes its standards as voluntary unless a specific regulation is involved. | ref.gs1.org |
| 28 | A 2026 audit of three Veterans Affairs medical facilities in Florida found a case price entered in an inventory system as the price of one box. | vaoig.gov |
| 29 | The system showed 27 boxes at $1,130.58 each. Auditors found nine boxes worth $282.65 each, an overstatement of $27,981.81. | vaoig.gov |
| 30 | In GS1’s product data network, GDSN, a recipient that receives discrepant data can reply with a Review state that asks the source to act. | ref.gs1.org |
| 31 | The guidance recommends sending a status code, a description, the corrective action and the expected correction. | ref.gs1.org |
| 32 | In the federal catalog audit, a mismatch raised a soft flag, but the agency did not require the contractor to correct the data. | gsaig.gov |
| 33 | The check also matched inaccurate part numbers against other inaccurate part numbers. | gsaig.gov |
| 34 | Under 29 CFR 1910.1200, the maker or importer of a hazardous chemical provides the sheet with the initial shipment and the first shipment after an update. | osha.gov |
| 35 | A distributor that receives a labeled shipment without one must obtain it as soon as possible and must pass sheets on with its own shipments. | osha.gov |
| 36 | Proposition 65 applies to businesses with 10 or more employees doing business in California. | p65warnings.ca.gov |
| 37 | For internet sales, the safe harbor methods are a warning on the product page, a WARNING hyperlink there, or a prominent warning before purchase. | oehha.ca.gov |
| 38 | Each comes in addition to a warning on or with the product. | p65warnings.ca.gov |
| 39 | Under 16 CFR 500.6, the label of a consumer commodity must state the net quantity of contents. | ecfr.gov |
| 40 | Under Article 19 of Regulation (EU) 2023/988, an online offer of a consumer product must show the manufacturer’s name and contact details, product identification and required warnings. | eur-lex.europa.eu |
| 41 | The regulation has applied since December 13, 2024. | eur-lex.europa.eu |
| 42 | OSHA’s standard does not apply to articles, a defined class of manufactured items, and the manufacturer or importer classifies the chemical. | osha.gov |
| 43 | The Proposition 65 safe harbor methods are optional, but a retail seller is responsible for placing and maintaining the warning materials it receives. | p65warnings.ca.gov |
| 44 | The Proposition 65 safe harbor methods are optional, but a retail seller is responsible for placing and maintaining the warning materials it receives. | oehha.ca.gov |
| 45 | GS1 says the check digit is there to catch incorrectly composed numbers. | ref.gs1.org |
| 46 | In GS1’s worked example, 629104150021 gets the check digit 3, and any other twelve digits would get one too. | gs1.org |
| 47 | GS1 describes its standards as voluntary unless a specific regulation is involved, and local regulations take precedence over its GTIN rules. | ref.gs1.org |
| 48 | GS1 describes its standards as voluntary unless a specific regulation is involved, and local regulations take precedence over its GTIN rules. | gs1.org |
| 49 | The federal labeling rule described in section 7 above applies to the package label. | ecfr.gov |
| 50 | NIST Handbook 130 holds model laws and regulations that states adopt in various forms, and its model e-commerce regulation would put net quantity on the selling page. | nist.gov |
| 51 | NIST Handbook 130 holds model laws and regulations that states adopt in various forms, and its model e-commerce regulation would put net quantity on the selling page. | nist.gov |
| 52 | Its adoption table, dated November 1, 2025, shows one of 53 jurisdictions with that regulation adopted. | nist.gov |