TrueCommerce EDI 856 ASN Import Fails: Invalid ASN Type (or ASN Has No Pack/Item Details)
Invalid ASN TypeWhat 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
- Open the Posted Sales Shipment in Business Central.
- Choose Related → TrueCommerce and set TC ASN Type to the structure your trading partner requires (for example Pick and Pack for mixed cartons).
- 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.
- Check packing: on the Posted Sales Shipment choose Related → TC Package Details. If there are no packages or items, pack the shipment.
- 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).
- 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
Sources & References
- https://help.truecommerce.com/en/articles/6433577-business-central-error-invalid-asn-type
- https://help.truecommerce.com/en/articles/6421581-business-central-setting-the-asn-type
- https://help.truecommerce.com/en/articles/6475828-business-central-asn-missing-pack-item-details
- https://help.truecommerce.com/en/articles/6474238-business-central-creating-asns-from-a-shipment
- https://help.truecommerce.com/en/articles/2217327-what-s-the-difference-between-a-standard-asn-and-pick-and-pack-asn-edi-856-transactions
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.