EDI 846 inventory advice: what it sends and how to use it
An EDI 846 is an inventory message. A supplier, distributor or warehouse sends it to say how much of each item it has, so the receiver can update its own catalog, website or planning system. It is transaction set 846 in the X12 standard. If your customers keep asking “do you have it?”, the 846 is how that answer can travel without a phone call.
What is an EDI 846?
Stedi’s 846 reference names it Inventory Inquiry/Advice. It says the message can give a prospective purchaser inventory information with no obligation to buy, let a seller’s representative send inventory data to the seller, let one location send inventory data to another, or ask about availability with no obligation for the seller to reserve stock.
Stedi’s example is a vendor sending a retailer an 846 twice daily with the stock status of its catalog. If a SKU is marked out of stock, the retailer removes it from its website or labels it “out of stock” until a later 846 shows it available.
Note the difference from an order. An 850 purchase order is a commitment to buy. An 846 is information. Stedi’s description says an inquiry about availability carries no obligation for the seller to reserve the stock.
Which segments does an 846 need?
Per Stedi’s 4010 page, these segments are mandatory:
| Segment | What it does |
|---|---|
| ST | Starts the transaction set |
| BIA | Beginning segment for the inventory message |
| LIN | Identifies each item |
| SE | Ends the transaction set |
The LIN loop repeats up to 10,000 times, so one message can list many items. The QTY segment is mandatory only inside the QTY loop, and that loop is optional, so a valid 846 can in theory carry no quantity at all. Stedi notes that location data (SDQ), quantity levels (QTY) and estimated replenishment dates (DTM) are typical content. An optional CTT segment can carry totals: the line count is the number of LIN segments, and the hash total is the sum of the QTY02 values.
Three segments do most of the work:
- BIA has four mandatory elements, per Stedi’s BIA page: the transaction set purpose code (BIA-01), the report type code (BIA-02), a reference identification (BIA-03) and a date (BIA-04). Time and action code are optional.
- LIN names the item. Per Stedi’s LIN page, LIN02 is a mandatory qualifier that says what kind of number LIN03 holds, and LIN03 is the product or service ID itself. Up to fifteen IDs can be sent for one item.
- QTY holds the number. Per Stedi’s QTY page, QTY-01 is a mandatory qualifier. QTY-02 is the quantity, required unless QTY-04 (a free-form message for a non-numeric quantity) is used. Only one of the two may be present.
What do the report and quantity codes mean?
BIA-02 says what kind of inventory report this is. A few entries from Stedi’s report type code list:
| Code | Meaning |
|---|---|
| SI | Seller Inventory Report |
| DD | Distributor Inventory Report |
| MM | Manufacturer Inventory Report |
| LC | Location Inventory Report |
| TC | Physical Inventory Request |
BIA-01 says whether the message is new or a replacement. Stedi’s purpose code list includes 00 (Original), 05 (Replace) and 06 (Confirmation). Ask your partner which one they use for a full refresh.
The QTY-01 qualifier says which quantity you are looking at. This is where mix-ups happen. From Stedi’s qualifier list:
| Code | Meaning |
|---|---|
| 33 | Quantity Available for Sale (stock quantity) |
| 17 | Quantity on Hand |
| 63 | On Order Quantity |
| BQ | Backorder Quantity |
| XG | On Hand and Due-In |
| 34 | Noncommitted Inventory on Shelf |
“On hand” and “available for sale” are different numbers. Stock that is on a shelf but promised to another order is on hand, not available. Agree with your partner which code you will send and which one they will read.
How can an order team use an 846?
- Pick one number to publish. Decide whether customers see available-for-sale or on-hand. Many order teams prefer the first, since it is closer to what a customer can actually buy.
- Match items carefully. Settle which ID goes in LIN03 and which qualifier goes in LIN02, so both sides mean the same SKU.
- Choose a schedule. Stedi’s example runs twice daily. Faster is not always better if your own stock count only updates once a day.
- Send full or changed items, on purpose. Whether the message replaces everything or only lists changes should be written down, because the wrong guess can zero out items.
- Connect it to orders. When an 850 arrives for an item the last 846 showed as out of stock, route it to a person instead of acknowledging it automatically. The 855 acknowledgment guide covers the reply.
What goes wrong with 846 data?
These are practical risks, not rules from the standard:
- Stale numbers. The 846 is a snapshot. Stock sold after it was generated is still shown as available until the next one.
- Wrong quantity type. One side sends on hand, the other treats it as available, and the customer orders stock that is already allocated.
- Unmatched items. A SKU in LIN03 that the receiver does not know is dropped or errors out. Someone needs to own that list.
- Partial files read as complete. If a changes-only file is treated as a full refresh, every item not listed can look out of stock.
- No check on receipt. A 997 functional acknowledgment tells you the file arrived and was readable. It does not say the numbers were right.
Frequently asked questions
Is an 846 a promise to ship?
No. Stedi’s description says an availability inquiry carries no obligation for the seller to reserve inventory, and the order itself is the 850.
Who sends the 846?
It depends on the relationship. Stedi lists suppliers sending to buyers, representatives sending to sellers, and one location sending to another.
Do all trading partners use the same codes?
No. Partners often publish an implementation guide that narrows which codes they use. Read it before you map anything.
Where Dockmend fits
Dockmend is being built to help operations teams compare incoming orders with the latest inventory information and flag the ones that look short for a person to review. It is still being built, and we have not announced support for any inventory feed or EDI network. Join the waitlist
This guide is general information, not legal or professional advice. EDI details vary by trading partner, version and implementation guide, so check your partner’s before you build or change anything.