Chris Brown Method and Proof
← Writing

Operations

Article

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

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.

OrderCheckWhat it catchesOutcome
1File structure: same number of fields in every row, every value read as textShifted columns, rewritten codesReject the file and ask for a new export
2Identifiers: SKU pattern, GTIN length and check digitMistyped or cut-off numbersFix spacing and case by rule, hold malformed numbers
3Units and pack quantity: known unit, whole numberSpelling variants, unknown unitsMap known spellings, hold the rest
4Row against row: group by cleaned SKU, compare pack and unitDuplicates and contradictionsHold the group and ask the supplier
5Regulated fields: required documents and warningsA missing safety data sheet or warning textHold 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:

  1. The same input always gives the same output.
  2. The change cannot alter what the value means.
  3. The value as sent stays beside the cleaned value.
  4. The supplier would not dispute the result.
ChangeBy rule?Reason
Trim spaces around a SKUYes, if the rule names the characters it removesSpaces are part of a CSV field, and Unicode lists 25 white space characters, the no-break space among them
Uppercase a SKUYes, once the supplier confirms case carries no meaningChanging case loses information, so keep the original
Map each and ea to EAYesGS1 guidance names each, count, unit and piece as units a recipient may map together
Uppercase a unit symbolNoIn SI symbols, M means mega and m means milli
Pad a GTIN to 14 digits with zerosYesGS1 treats the added zeros as filler that does not change the GTIN
Strip leading zeros from a GTINNoThe zeros that start a GTIN-12 are part of the number and must be kept
Choose between pack 12 and pack 24NoOnly 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:

  1. Trim spaces and uppercase the SKU. The supplier has confirmed that case carries no meaning.
  2. Map each and ea to EA. Keep CASE as its own unit.
  3. Group rows by cleaned SKU. Hold every row in a group whose pack sizes or units conflict.
RowSKU as sentProductPackUnit as sentCleaned SKUCleaned unitDecision
1“ cb-019 ”Cable clip24eachCB-019EAReady
2“lt-041-a”Label tab6EALT-041-AEAReady
3“GP-210”Grip glove12caseGP-210CASEReview
4“gp-210”Grip glove24eaGP-210EAReview

Follow each step:

  1. 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.
  2. Rule 2 maps each in row 1 and ea in row 4 to EA. Row 3 keeps CASE.
  3. Rule 3 forms three groups. CB-019 and LT-041-A hold one row each, so rows 1 and 2 are ready.
  4. 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

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.StatementChecked against
1It cannot test accuracy, which the UK Government Data Quality Framework describes as data that matches reality.gov.uk
2GS1 guidance lets a data recipient map each, count, unit and piece to one unit.ref.gs1.org
3It lists a case as a separate packaging level.ref.gs1.org
4In 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
5US safety data sheet duties attach to shipments of hazardous chemicals and exclude a defined class of manufactured articles.osha.gov
6The UK Government Data Quality Framework defines validity as data in the range and format you expect.gov.uk
7Consistency means values do not contradict other values for the same entity.gov.uk
8Accuracy means the data matches reality.gov.uk
9For 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
10A GTIN has 8, 12, 13 or 14 digits and ends in a check digit, and GS1 publishes the calculation.ref.gs1.org
11A GTIN has 8, 12, 13 or 14 digits and ends in a check digit, and GS1 publishes the calculation.gs1.org
12Spaces are part of a CSV field, and Unicode lists 25 white space characters, the no-break space among themrfc-editor.org
13Spaces are part of a CSV field, and Unicode lists 25 white space characters, the no-break space among themunicode.org
14Changing case loses information, so keep the originalunicode.org
15GS1 guidance names each, count, unit and piece as units a recipient may map togetherref.gs1.org
16In SI symbols, M means mega and m means millinist.gov
17GS1 treats the added zeros as filler that does not change the GTINref.gs1.org
18The zeros that start a GTIN-12 are part of the number and must be keptref.gs1.org
19A 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
20An each is the lowest level meant for individual resale, and a case is a standard shipping unit.ref.gs1.org
21The guidance’s own examples of an each include three T-shirts sold in a single pack.ref.gs1.org
22GS1 warns that net content, even as a count, differs from the number of physical pieces in an item.ref.gs1.org
23UN/CEFACT, a United Nations standards body, lists EA as the unit code for each.vocabulary.uncefact.org
24Case, coded CS, sits in its separate list of package types.vocabulary.uncefact.org
25GS1’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
26Under 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
27That is a clue, not proof: GS1 describes its standards as voluntary unless a specific regulation is involved.ref.gs1.org
28A 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
29The 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
30In 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
31The guidance recommends sending a status code, a description, the corrective action and the expected correction.ref.gs1.org
32In the federal catalog audit, a mismatch raised a soft flag, but the agency did not require the contractor to correct the data.gsaig.gov
33The check also matched inaccurate part numbers against other inaccurate part numbers.gsaig.gov
34Under 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
35A 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
36Proposition 65 applies to businesses with 10 or more employees doing business in California.p65warnings.ca.gov
37For 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
38Each comes in addition to a warning on or with the product.p65warnings.ca.gov
39Under 16 CFR 500.6, the label of a consumer commodity must state the net quantity of contents.ecfr.gov
40Under 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
41The regulation has applied since December 13, 2024.eur-lex.europa.eu
42OSHA’s standard does not apply to articles, a defined class of manufactured items, and the manufacturer or importer classifies the chemical.osha.gov
43The 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
44The 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
45GS1 says the check digit is there to catch incorrectly composed numbers.ref.gs1.org
46In GS1’s worked example, 629104150021 gets the check digit 3, and any other twelve digits would get one too.gs1.org
47GS1 describes its standards as voluntary unless a specific regulation is involved, and local regulations take precedence over its GTIN rules.ref.gs1.org
48GS1 describes its standards as voluntary unless a specific regulation is involved, and local regulations take precedence over its GTIN rules.gs1.org
49The federal labeling rule described in section 7 above applies to the package label.ecfr.gov
50NIST 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
51NIST 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
52Its adoption table, dated November 1, 2025, shows one of 53 jurisdictions with that regulation adopted.nist.gov

About the author. Chris Brown works in operations management, with earlier work in mechanical engineering and public-health service. More background

Published November 26, 2026. This article is general information, not professional advice for your situation.

More writing Selected work Back to top ↑