Your files are read in your browser. Orders and pricing never leave your computer.
EDIParse

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):

Valid GS1 Modulo 10 Check Digit: '4'
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~
  1. 1Load your order file
  2. 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.

Now showing
target-856-asn-sotpi.edi
No file handy? Open a sample:

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 lines
1ISAISA*00* *00* *12*5551234567 *08*6111470100 *261109*1415*U*00401*000020856*0*P*>~
2GSGS*SH*5551234567*6111470100*20261109*1415*20856*X*004010VICS~
3STST*856*0001~
4BSNBSN*00*SHP-20261109-01*20261109*1415*0001~
5HLHL*1**S~
6TD1TD1*CTN25*2****G*48.5*LB~
7TD5TD5*B*2*ODFL*M*OLD DOMINION FREIGHT LINE~
8REFREF*BM*BOL-99887766~
9REFREF*CN*PRO-1122334455~
10DTMDTM*011*20261109~
11DTMDTM*017*20261113~
12N1N1*SF*ACME HOME GOODS WAREHOUSE*92*WH-01~
13N3N3*1200 INDUSTRIAL PKWY~
14N4N4*DALLAS*TX*75201*US~
15N1N1*ST*TARGET REGIONAL DC 0555*92*0555~
16N3N3*3000 TARGET WAY~
17N4N4*MIDLOTHIAN*TX*76065*US~
18HLHL*2*1*O~
19PRFPRF*TGT-PO-889900***20261105~
20REFREF*DP*049~
21REFREF*IA*9876543~
22HLHL*3*2*T~
23MANMAN*GM*00106141410000099990~
24HLHL*4*3*P~
25MANMAN*GM*00006141410000010004~
26HLHL*5*4*I~
27LINLIN*1*IN*049-12-3456*UP*012345678905*VN*SKU-TOWEL-BLU-L~
28SN1SN1*1*50*EA~
29PIDPID*F****ORGANIC COTTON BATH TOWEL ROYAL BLUE~
30HLHL*6*3*P~
31MANMAN*GM*00006141410000010011~
32HLHL*7*6*I~
33LINLIN*2*IN*049-12-3499*UP*012345678912*VN*SKU-ROBE-WHT-XL~
34SN1SN1*2*30*EA~
35PIDPID*F****LUXURY WAFFLE ROBE WHITE XL~
36CTTCTT*7*80~
37SESE*35*0001~
38GEGE*1*20856~
39IEAIEA*1*000020856~
BSNBeginning Segment for Ship Notice (856)
Line #4

Identifies the physical shipment in an EDI 856 ASN and declares the hierarchy structure (e.g., 0001 for SOTPI/SOPI).

BSN01Transaction Set Purpose Code
00
BSN02Shipment Identification (SID)
SHP-20261109-01
BSN03ASN Creation Date (YYYYMMDD)
20261109
BSN04ASN Creation Time (HHMM)
1415
BSN05Hierarchical Structure Code
0001

Packing List & Advance Ship Notice (ASN)

Shipment ID
SHP-20261109-01
Carrier
ODFL · OLD DOMINION F
BOL / Tracking #
BOL-99887766
Total Shipped Units
80 EA (2 Cartons)
Carton Barcode (SSCC-18)Purchase Order #Ship-To Warehouse / DCYour SKU & Item IDShipped 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)
Level #1 (Shipment) [S]
Level #2 (←1) [O]
Level #3 (←2) [T]
Level #4 (←3) [P]
Level #5 (←4) [I]
Level #6 (←3) [P]
Level #7 (←6) [I]

Download for your software

Pick where the order is going, then download. Files are ready for Excel, QuickBooks, Shopify or a thermal printer.

Clean Excel spreadsheet with all order lines, store breakdown, quantities, and prices ready to open in Microsoft Excel or Google Sheets.
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 / ElementSample Raw ValueTarget ERP / CSV ColumnTransformation & Validation Logic
Digits 1–2 (AI)
00
Application IdentifierFixed "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 Digit0 typically denotes a corrugated carton (Pack P); 1 often denotes a pallet (Tare T).
Digits 4–19 (Prefix + Serial)
0614141000001000
GS1 Company Prefix + Serial RefYour 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 DigitWeighted 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 Boxes

Although "00" adds 0 to the sum, misaligning the odd/even 3x and 1x weights shifts the Modulo 10 calculation.

Always apply weight 3 to the rightmost digit of the 17-digit base (index 16) and alternate 3, 1, 3, 1 moving left.

Reusing SSCC-18 Serial Numbers Within 12 Months

Risk: Duplicate Barcode Rejection

GS1 standards forbid reusing the same SSCC-18 serial number within a minimum of one year.

Increment your starting serial number monotonically for every new shipment.

Omitting Leading "00" in EDI 856 MAN*GM02

Risk: 856 ASN Validation Error

Walmart and Target require MAN*GM02 to be 20 digits (including the "00" Application Identifier), not 18 digits.

Always write MAN*GM*00[18-digit SSCC]~ in your X12 856 file.

How to Validate or Generate SSCC-18 Codes

Zero middleware setup — complete in under 60 seconds

1. Enter Any 17-Digit Base or 20-Digit MAN*GM Code

Use the interactive calculator or drop your 856 ASN file into the workbench.

2. Verify the Modulo 10 Check Digit Instantly

See the step-by-step 3x / 1x weighted sum and the exact 20-digit MAN*GM string.

3. Generate Matching 4x6" GS1-128 Barcode Labels

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