EDI & Trading Partners BC Posted Sales Shipment → TrueCommerce Transaction Manager (outbound 856) TrueCommerce Help Center articles 6433577, 6421581, 6475828, 6474238

TrueCommerce EDI 856 ASN Import Fails: Invalid ASN Type (or ASN Has No Pack/Item Details)

Raw System Error String
Invalid ASN Type

What It Means

You import an outbound Advance Ship Notice (EDI 856) from a Posted Sales Shipment into Transaction Manager, and the import fails with 'Invalid ASN Type'. A related symptom: the import works, but the Shipment Details tab has no Pack or Item data, so the ASN is empty. Either way, the retailer does not get a usable ASN.

Root Cause

The TrueCommerce extension builds the 856 from the shipment's TC ASN Type and its package details. If the TC ASN Type field on the Posted Sales Shipment is blank, Transaction Manager does not know which hierarchy the trading partner needs (No Pack = SOI, Pick and Pack = SOPI, Standard = SOIP, Pallet Pick and Pack = SOTPI, Pallet Standard = SOTI), and the import fails. If the shipment was never packed (TC AutoPack failed or nobody packed it by hand), the ASN has no Pack or Item nodes.

Step-by-Step Fix

  1. Open the Posted Sales Shipment in Business Central.
  2. Choose Related → TrueCommerce and set TC ASN Type to the structure your trading partner requires (for example Pick and Pack for mixed cartons).
  3. To stop it happening again, set a default per customer: TrueCommerce → TC ASN → TC Customer Settings, select the customer, and set ASN Type. In Transaction Manager you can also set a fallback under Trading Partners → Translations → Defaults → Default ASN Type.
  4. Check packing: on the Posted Sales Shipment choose Related → TC Package Details. If there are no packages or items, pack the shipment.
  5. To pack automatically, set up Item Package Settings, then choose Related → TC AutoPack. Otherwise add pallets, packages and items by hand in TC Package Details (pallet IDs need an ASN Type that supports pallets).
  6. Import the ASN again into Transaction Manager. If you have a Cloud Log, check that the ImportTransaction() response contains Pack and Item nodes.

Verification Steps

How to verify: The ASN imports into Transaction Manager without 'Invalid ASN Type', and the Shipment Details tab shows the expected packs and items before you send it.

Sources & References

Early Access · 30-Day Sandbox Pilot

Stop Order Sync Failures Before Customers Notice

The Order Flow Doctor monitors Microsoft Dynamics 365 Business Central order flows across Shopify, EDI (TrueCommerce, SPS), 3PLs, and carriers. Get automated root-cause diagnosis and one-click fixes.

We respect your privacy. No spam. You will only be contacted when pilot slots open for your stack.