856 ASN checker

Paste an X12 856 ship notice (ASN) and check it the way the retailer does: the HL tree, one unique and valid SSCC-18 per pallet or carton, counts that add up, and dates in a possible order. You get the 997 to send back, and for each problem, where it usually starts in Ross ERP. It runs in your browser: nothing you paste is sent anywhere.

Why an "accepted" ASN still gets charged back. A 997 only says the file is valid X12. A duplicate pallet label, a delivery date before the ship date or an ASN sent days late all pass it, and the retailer finds them at the dock or in the chargeback days later. This checker looks for those.

Try it:
Also compare it with the purchase order (optional: paste the 850)
Also compare it with the invoice (optional: paste the 810)

SSCC check digit

Type the 17 digits of an SSCC to get its check digit, or all 18 to check a label. A leading (00) is ignored. Ross ERP 8.0 keeps the next 17 digits per warehouse in DC_NEXT_SSCC_NUMBER.

What it checks

One unique, valid SSCC per pallet or carton (MAN*GM)
The receiving dock scans each label and matches it to one HL in the ASN. A label printed on two pallets, or one whose GS1 check digit is wrong, leaves cases unreceived and usually earns a chargeback.
A sound HL tree
Shipment, then order, then pallet (tare) or carton (pack), then item. Every HL names an earlier parent, HL numbers run 1, 2, 3, and each item has a LIN (what it is) and an SN1 (how many). A broken tree is a syntax error, so the 997 rejects it.
Counts that add up
TD1 says how many cartons are on the truck, and the SN1 quantities should add up to it. CTT01 should match the count your partner's guide asks for (HL segments, LIN segments or item levels).
Dates in a possible order
A requested delivery date before the ship date means a wrong date or a late shipment. A shelf-life date before the ship date means the product is expired when it ships.
Sent on time
Retailers want the ASN before the truck arrives. One built days after the ship date is among the most common chargebacks.
Who it is from
Many retailers require N1*SF, the ship-from location, usually as a GLN, as well as N1*ST, the ship-to.
Carrier and paperwork
A TD5 with the carrier's SCAC (2 to 4 letters) and a bill of lading number (REF*BM) at the shipment level: the dock matches the truck and its paperwork to the ASN by them.
Sent once
A second ASN with the same shipment ID (BSN02) is rejected as a duplicate unless BSN01 says 05, replace.
Product IDs that scan
Every UPC, EAN or GTIN-14 in the LIN segments has a GS1 check digit; a wrong one will not match the retailer's item file. A valid 12- or 13-digit ID sent under UK (a 14-digit GTIN) is flagged so strict receivers get it padded.
Labels, lots and stores
Every pallet (T) and carton (P) level has its SSCC label. If some items carry lot numbers or best-by dates and others do not, the missing ones are listed. In a store-level ASN every order names its store (N1*BY or Z7). Pallet weights (MEA) should add up to the TD1 gross weight.
What was billed
Paste the 810 invoice too, and each invoice line is matched to what the ASN shipped for that PO: billed for more than shipped (the retailer pays the lesser and deducts the rest), or billed for an item that never shipped.
What was ordered
Paste the 850 purchase order too, and each item is matched to its PO line by any product ID they share: items not on the PO, more shipped than ordered, lines short or not shipped, and units that differ.

It also runs the X12 envelope checks (control numbers, counts, required segments, dates and numbers) and reads an incoming 997. Your partner's implementation guide adds its own rules: check against it too. Ross ERP 8.0 ships no 856 file of its own: a ship notice is built from the confirmed ship note, by the Interface Services module or by a translator.

From a program

The same checks are on the API and the MCP server: POST https://api.rossdata.dev/v1/edi/check with {"input": "…", "ack": true}, or the check_x12 MCP tool; add "po": "…" with the 850 and "invoice": "…" with the 810 to match against them. ASN problems come back with code ASN, GTIN, PO or INV, a Ross ERP hint, the HL each one belongs to, and a summary of each ship notice with its HL tree. Documents sent to it are not logged or stored. To turn an 850 or 810 into a Ross ERP file, use the translator. Sites that build ship notices with Interface Services keep them in the 856 staging tables.