The issue to look for
Padding every short spreadsheet number to twelve characters hides uncertainty. A ten-digit string could be damaged UPC-A text, a complete supplier part number, or a value with missing significant digits.
What this check can tell you
The downloadable fixture proves that the app does not perform two-zero padding, and that 004123456789 is invalid despite being twelve characters long.
A transparent review
- Locate the supplier's original text column rather than modifying the damaged file in place.
- Upload the fixture and observe three invalid identifiers with no repairs.
- Compare a genuinely known source pair separately: 1234567895 and the checksum-valid synthetic original 001234567895.
- Restore that pair only when the complete source establishes the two zeros; keep ambiguous rows in a review list.
How to read the result
- The known-source pair is a manual comparison, not an automatic cleaner capability. The source supplies the evidence; padding alone does not.
- The provided 4123456789 example does not become valid when written 004123456789. Its final digit disagrees with the calculated check digit. Do not change that digit simply to obtain a green result.
Limits to keep in view
- The current one-zero repair applies only to eleven digits.
- Neither length nor a check digit establishes GS1 assignment.
- The sample identifiers are synthetic and are not a product catalog.
Synthetic fixture: synthetic-two-zeros.csv
This small synthetic example makes the transformation and observation visible. It is an educational illustration, not a claim that a supplier file or external registry was verified.
Input
UPC,SKU 1234567895,SHORT-2 4123456789,SHORT-3 004123456789,BAD-PAD
Output
{
"checks": {
"invalidIdentifiers": 3,
"repairCount": 0
},
"cleanedRows": [
{
"UPC": "1234567895",
"SKU": "SHORT-2"
},
{
"UPC": "4123456789",
"SKU": "SHORT-3"
},
{
"UPC": "004123456789",
"SKU": "BAD-PAD"
}
]
}Observation: Ten-digit values remain unchanged and invalid. The supplied padded counterexample 004123456789 also fails its checksum.
Download synthetic fixture