SSCC-18 Check Digit Calculator & MAN*GM Batch Generator
Verify any 18-digit or 20-digit (AI 00) SSCC barcode, calculate the exact GS1 Modulo 10 check digit, or generate sequential MAN*GM segments for your EDI 856 ASN.
Drop your file below, check the order, then download for Excel (.XLSX) & CSV.
Instant SSCC-18 Modulo 10 Check Digit Calculator
Enter a 17-digit base (to compute the 18th check digit) or a 18/20-digit MAN*GM code (to verify validity):
18-Digit SSCC: 006141410000010004 X12 856 Segment: MAN*GM*00006141410000010004~
Sequential EDI 856 MAN*GM Batch Generator
MAN*GM*00006141410000010004~ MAN*GM*00006141410000010011~ MAN*GM*00006141410000010028~ MAN*GM*00006141410000010035~ MAN*GM*00006141410000010042~
- 1Load your order file
- 2Check it and match your SKUs
Drop your EDI order file here
.edi, .x12 or .txt. The file is read on your computer and is not uploaded.
No chargeback risks found. This order passes every check.
Checked against the Target supplier guide for EDI 856.
- Verified 3 GS1-128 (SSCC-18) Modulo 10 barcodes across 7 HL hierarchy nodes.
Raw EDI Code Inspector
39 linesIdentifies the physical shipment in an EDI 856 ASN and declares the hierarchy structure (e.g., 0001 for SOTPI/SOPI).
Packing List & Advance Ship Notice (ASN)
| Carton Barcode (SSCC-18) | Purchase Order # | Ship-To Warehouse / DC | Your SKU & Item ID | Shipped Qty |
|---|---|---|---|---|
00006141410000010004 Pallet: 00106141410000099990 | TGT-PO-889900 Dept: 049 | TARGET REGIONAL DC 0555 DC #0555 · ZIP 76065 | Item: 049-12-3456 · UPC: 012345678905 | 50 EA |
00006141410000010011 Pallet: 00106141410000099990 | TGT-PO-889900 Dept: 049 | TARGET REGIONAL DC 0555 DC #0555 · ZIP 76065 | Item: 049-12-3499 · UPC: 012345678912 | 30 EA |
View Advanced Packaging Hierarchy (Optional)
Download for your software
Pick where the order is going, then download. Files are ready for Excel, QuickBooks, Shopify or a thermal printer.
Field mapping table: which EDI segment fills which column (for IT & bookkeepers)
20-Digit EDI 856 MAN*GM (SSCC-18) Structure Breakdown
Deterministic segment-to-column mapping rules enforced by our client-side X12 engine
| Source X12 Segment / Element | Sample Raw Value | Target ERP / CSV Column | Transformation & Validation Logic |
|---|---|---|---|
| Digits 1–2 (AI) | 00 | Application Identifier | Fixed "00" prefix indicating an SSCC-18 follows (included in 20-digit MAN*GM, excluded from 17-digit Modulo 10 base). |
| Digit 3 (Extension) | 0 or 1 | Extension Digit | 0 typically denotes a corrugated carton (Pack P); 1 often denotes a pallet (Tare T). |
| Digits 4–19 (Prefix + Serial) | 0614141000001000 | GS1 Company Prefix + Serial Ref | Your 7–10 digit GS1 Company Prefix followed by a zero-padded sequential container number totaling 16 digits. |
| Digit 20 (Check Digit) | 4 | GS1 Modulo 10 Check Digit | Weighted 3-1-3-1 sum from right to left across the 17-digit base: (10 - (sum % 10)) % 10. |
Critical Chargeback & Import Pitfalls We Prevent
Common EDI mistakes that trigger $250+ retailer fines or accounting balance errors
Including AI "00" in the 17-Digit Index Count by Mistake
Risk: Wrong Check Digit on 50% of BoxesAlthough "00" adds 0 to the sum, misaligning the odd/even 3x and 1x weights shifts the Modulo 10 calculation.
Reusing SSCC-18 Serial Numbers Within 12 Months
Risk: Duplicate Barcode RejectionGS1 standards forbid reusing the same SSCC-18 serial number within a minimum of one year.
Omitting Leading "00" in EDI 856 MAN*GM02
Risk: 856 ASN Validation ErrorWalmart and Target require MAN*GM02 to be 20 digits (including the "00" Application Identifier), not 18 digits.
How to Validate or Generate SSCC-18 Codes
Zero middleware setup — complete in under 60 seconds
Use the interactive calculator or drop your 856 ASN file into the workbench.
See the step-by-step 3x / 1x weighted sum and the exact 20-digit MAN*GM string.
Click "Print 4x6" GS1-128 Carton Labels PDF" to render scannable thermal labels.
Frequently Asked Technical Questions
ANSI X12 specification details, retail companion rules, and ERP import answers
How is the SSCC-18 Modulo 10 check digit calculated?
Starting from the rightmost digit of the 17-digit base (excluding AI 00), multiply alternating digits by 3 and 1, sum the products, and subtract the last digit of the sum from 10 (modulo 10).
Should MAN*GM in an EDI 856 be 18 or 20 digits?
In retail ANSI X12 856 ASNs (Walmart, Target, Amazon, Home Depot, Kroger), MAN01="GM" requires a 20-digit value in MAN02 starting with the 2-digit Application Identifier "00".
Related EDI Converters, Retailer Guides & X12 Segment References
- ToolsOnline ANSI X12 EDI Viewer & Human-Readable Inspector
- ToolsConvert EDI X12 Files (850 / 856 / 810) to Excel (.XLSX) & CSV
- ToolsConvert ANSI X12 EDI (850 / 856 / 810) to Normalized JSON
- ToolsConvert EDI 850 Purchase Order to Compliant EDI 856 ASN
- ToolsConvert EDI 850 Purchase Order to Compliant EDI 810 Invoice
- ToolsGS1-128 (UCC-128) 4x6" Carton Label PDF Generator for EDI 856 & 850
- Transaction setsEDI 850 Purchase Order Parser, SDQ Splitter & ERP Converter
- Transaction setsEDI 856 Advance Ship Notice (ASN) Inspector, Excel Converter & Label Generator
- Transaction setsEDI 810 Commercial Invoice Inspector & QuickBooks / Xero Converter