Albertsons Edi 846

By Alexander Georges|Updated October 16, 2026
TL;DR: This guide explains how to read, validate, and convert Albertsons EDI 846 inventory advice files into CSV, including common Albertsons-specific requirements, real EDI examples with line-by-line annotation, step-by-step conversion and validation using PlainEDI, and practical fixes for the most frequent errors vendors see in production.

What This Is

This guide is a practical, hands-on reference for working with Albertsons EDI 846 Inventory Advice (Inventory Inquiry/Advice). It focuses on how the X12 846 transaction set is structured, which segments Albertsons commonly requires, how to parse the file reliably, and how to convert 846 data into a clean CSV suitable for inventory systems or ERP imports.

You will get real-world EDI snippets, annotated code examples, a detailed CSV mapping, and step-by-step conversion and validation instructions. The guide explains why errors occur (not just how to fix them), gives prevention strategies, and shows where PlainEDI helps with delimiter detection, syntax validation, and automated conversion.

Who This Is For

This guide is for EDI specialists, integration engineers, retail operations analysts, and developers responsible for receiving or sending Albertsons 846 files. It assumes basic familiarity with X12 structure (ISA/GS/ST) and common EDI tooling, and provides deeper Albertsons-focused details for production readiness.

Key Segments Explained

Below are the primary X12 segments you will encounter in an Albertsons 846, with practical notes on why they matter and how Albertsons typically uses them.

  • ISA (Interchange Control Header) — The outermost envelope. Contains control characters and fixed-width fields: sender/receiver IDs, date/time, and the interchange control number. If ISA delimiters or control numbers are wrong downstream systems will reject the file.
  • GS (Functional Group Header) — Groups a set of transaction sets (ST..SE). GS contains functional identifiers and group control numbers. GS/GE mismatches or wrong functional IDs (e.g., using an incorrect functional identifier for inventory) cause functional-level rejects.
  • ST (Transaction Set Header) — Marks the start of an 846 transaction. ST includes the transaction set control number. Every ST requires a matching SE; mismatched counts cause rejections and reconciliation problems.
  • BIA (Beginning Segment for Inventory Advice) — Conveys transaction purpose and reference numbers. Fields: BIA01 (Report Type Code), BIA02 (Inventory Advice Number), BIA03 (Date). Albertsons expects consistent identifiers here for reconciliation.
  • N1 Loop (Name/Address) — Identifies parties: vendor, ship-from, or store. Use correct qualifiers (e.g., N101 = "BY" or "ST" depending on role). Albertsons often requires a specific N1 with their ship-to store number.
  • LIN (Item Identification) — Identifies the commodity for a detail-level loop. LIN typically contains the vendor SKU and may include UPC (with qualifier). Albertsons uses specific qualifiers; ensure you're sending the ID type Albertsons requested.
  • QTY (Quantity Information) — Provides available quantity, on-hand quantity, or on-order quantity depending on QTY01 qualifier. Common qualifiers: 'TE' or 'QO' vary by trading partner agreement. Incorrect qualifiers cause downstream inventory misinterpretation.
  • DTM (Date/Time Reference) — Provides the effective date for quantities (e.g., inventory snapshot date). Missing or wrong DTM dates cause inventory to be applied to the wrong day in the retailer's system.

Example EDI Snippet

ISA*00*          *00*          *ZZ*SENDERID       *ZZ*ALBERTSONS     *210615*1234*^*00401*000000905*0*T*:~
GS*IB*SENDERID*ALBERTSONS*20210615*1234*905*X*004010~
ST*846*0001~
BIA*00*INVADVICE20210615*20210615~
N1*SU*Vendor Name*92*1234567890~
LIN**UP*0001234567895*VN*ABC-123~
QTY*33*150~
DTM*007*20210615~
LIN**UP*0001234567896*VN*ABC-124~
QTY*33*0~
DTM*007*20210615~
SE*10*0001~
GE*1*905~
IEA*1*000000905~

Line-by-line explanation:

  • ISA*00*...*00401*000000905*0*T*: — ISA header with interchange control number 000000905, version 00401, and component separator :. The repetition and element separators are defined inside ISA.
  • GS*IB*SENDERID*ALBERTSONS*20210615*1234*905*X*004010 — Functional group header for Inventory (functional ID 'IB' is common for inventory). Group control number 905.
  • ST*846*0001 — Start of the 846 transaction with control number 0001.
  • BIA*00*INVADVICE20210615*20210615 — Beginning segment: BIA01 '00' indicates original transmission; BIA02 is the advice number; BIA03 is the date.
  • N1*SU*Vendor Name*92*1234567890 — Name loop identifying the supplier with a qualifier 92 (assigned by sender) and their vendor code.
  • Two LIN loops follow: each LIN identifies an item using UE/UP and vendor number in the VN sub-element. Each LIN has a QTY with qualifier 33 (on-hand quantity) and a DTM for effective date.
  • SE*10*0001, GE*1*905, IEA*1*000000905 — Transaction, group, and interchange trailers. The SE count must equal the number of segments in the transaction.

CSV Output Example

store_id vendor_id sku_type sku vendor_sku on_hand_qty effective_date inventory_advice_id
ALBERTSONS 1234567890 UP 0001234567895 ABC-123 150 2021-06-15 INVADVICE20210615
ALBERTSONS 1234567890 UP 0001234567896 ABC-124 0 2021-06-15 INVADVICE20210615

This CSV mapping assumes one row per item-level LIN loop. Column names reflect common import fields required by ERPs and inventory systems. Adjust mappings for your internal schema.

Step-by-Step Conversion Process

  1. Obtain the raw EDI file and detect delimiters
    1. Open the file in a text editor. Read the first 106 characters of the ISA segment to identify the element separator (character at position 4), component element separator (ISA16), and repetition separator (ISA11).
    2. Confirm segment terminator by reading the character at the end of ISA segment (commonly tilde '~').
    3. Using incorrect delimiter assumptions is the primary cause of parser failures; use automated detection when possible.
  2. Validate envelope-level segments (ISA/GS) before parsing details
    1. Check ISA control number uniqueness for idempotency and traceability.
    2. Validate GS functional ID; Albertsons expects inventory functional groups — verify agreement with your trading partner setup.
    3. Confirm ISA/IEA and GS/GE counts match to prevent downstream reconciliation errors.
  3. Parse the ST/SE transaction and BIA header
    1. Extract ST control number and ensure SE segment count matches actual segment count inside ST..SE.
    2. Read BIA for the inventory advice ID and date. Map BIA02 and BIA03 into CSV header fields.
  4. Iterate detail loops (LIN .. QTY .. DTM)
    1. For each LIN loop: extract identifier qualifiers and values. Common qualifiers for Albertsons: UPC (UP), Vendor SKU (VN).
    2. Extract QTY with appropriate qualifier (e.g., on-hand quantity). Map QTY values to the CSV column on_hand_qty.
    3. Extract DTM to produce an ISO date string (YYYY-MM-DD) for the effective_date column.
    4. If multiple quantity qualifiers exist for a single LIN, follow your trading partner mapping rules (e.g., prefer on-hand snapshot over allocation quantities).
  5. Handle N1 loops and party identification
    1. Identify the supplier (N1*SU) and Albertsons ship-to/store (N1*ST) values. Map vendor_id and store_id accordingly.
    2. If qualifiers differ from expected values, consult your Albertsons onboarding documentation or vendor portal to align codes.
  6. Aggregate, validate and export CSV
    1. Validate each CSV row for required fields (sku or vendor_sku, quantity, date).
    2. Run additional business checks: non-negative quantities, dates within acceptable window, allowed SKU formats.
    3. Export CSV with headers, ensuring encoding (UTF-8 without BOM) expected by the downstream system.
  7. Automate with PlainEDI
    1. Upload your original 846 to PlainEDI. PlainEDI will detect delimiters, validate ISA/GS/ST envelope rules, and surface element-level errors.
    2. Use PlainEDI's mapping UI or API to map LIN/QTY/DTM fields into a CSV schema and export automatically to your ERP or SFTP.

Common Errors and Fixes

  • Error: ISA/IEA control number mismatch — Symptoms: Trading partner rejects interchange. Fix: Ensure the IEA02 matches ISA13 and that control numbers increment per interchange. Use PlainEDI validation to catch mismatches before sending.
  • Error: SE segment count incorrect — Symptoms: Functional ack (997) rejects ST transaction with count error. Fix: Recount segments in ST..SE and adjust SE01 to the actual count. Automate SE count generation in your EDI library to avoid manual errors.
  • Error: Wrong LIN qualifier (incorrect ID type) — Symptoms: Albertsons cannot match items (inventory applied to wrong SKU). Fix: Confirm required identifier types with Albertsons. Use LIN02/LIN03 pairing correctly (e.g., LIN**UP*012345678905 for UPC).
  • Error: Missing DTM (effective date) — Symptoms: Inventory applied to default or wrong date. Fix: Ensure you include DTM with the correct qualifier for the inventory snapshot date. Validate the date format (YYYYMMDD) and map it to ISO when converting to CSV.
  • Error: Invalid QTY qualifier — Symptoms: Quantity interpreted as incorrect type (on-order vs on-hand). Fix: Use the QTY01 qualifier your Albertsons onboarding document specifies for on-hand (e.g., '33' example above). If the qualifier differs, map it explicitly.
  • Error: Incorrect N1 party qualifier — Symptoms: Vendor or store mapping fails and inventory attaches to wrong account. Fix: Verify N101 qualifier values and N104 identification codes. Synchronize vendor IDs and store IDs with Albertsons vendor portal.

Related Resources

FAQ Section

Q: What is the most common cause of Albertsons 846 processing failures?

The most common cause is delimiter and envelope misconfiguration (incorrect ISA element separator, component separator, or segment terminator) combined with incorrect segment counts (SE, GE, IEA). These cause the file to fail at the parser level before business rules are applied. Use tool-based delimiter detection and ensure SE/GE/IEA counts are generated by your EDI library or PlainEDI to eliminate this class of errors.

Q: Which LIN qualifiers does Albertsons require for item identification?

Albertsons requires the identifier type specified in your trading partner onboarding document. Commonly used qualifiers are UP for UPC/EAN and VN for vendor SKU. Always verify the exact qualifier sequence in your Albertsons vendor profile and provide both if requested. When in doubt, send the primary retailer ID first and vendor SKU as a secondary identifier in the same LIN loop.

Q: How should I map QTY qualifiers to inventory fields?

Map QTY01 qualifier to your internal inventory type: on-hand, available, or on-order. For example, if Albertsons sends on-hand quantities with qualifier 33, map that QTY value to the CSV column on_hand_qty. If multiple QTY qualifiers are present for a LIN, implement priority rules in your mapping (prefer on-hand snapshot over allocated quantities unless your business requires otherwise).

Q: Does Albertsons enforce penalties for 846 compliance failures?

Retailers, including Albertsons, enforce penalties for non-compliance. Types of penalties include OTIF charges, ASN accuracy penalties, and chargebacks for incorrect or late inventory data. Check your Albertsons vendor portal for current penalty policies and specific thresholds. Implement automated validation and reconciliation to reduce the risk of chargebacks.

Q: How can PlainEDI help with Albertsons 846 processing?

PlainEDI detects delimiters, validates ISA/GS/ST envelopes, flags missing segments, and provides element-level error messages that correlate to EDI standards and Albertsons-specific rules. PlainEDI's mapping tools convert 846 fields (LIN/QTY/DTM/N1) to CSV templates automatically, reducing manual parsing errors and saving integration time.

Q: What do I do when the SE segment count reported in the 846 is wrong?

Re-generate SE01 with an accurate segment count from ST to SE. If using an EDI library, enable automatic segment counting on output. If you received an 846 with incorrect SE count from Albertsons, request a corrected interchange and log the discrepancy. Use PlainEDI to validate segment counts before reintegrating the data into your systems.

Q: How should I represent inventory snapshot dates in CSV?

Convert DTM values to ISO 8601 date format (YYYY-MM-DD) and store them in an effective_date column. Use the DTM qualifier Albertsons sends for snapshot dates (commonly DTM01 qualifiers related to inventory effective date). Ensure timezone normalization if dates include time components; inventory systems generally treat 846 as a date-level snapshot.

Q: How do I handle multiple identifiers for the same item in one LIN loop?

If a LIN includes multiple product identifiers (UPC, GTIN, vendor SKU), include them as distinct CSV columns (sku, gtin, vendor_sku). Use the retailer-preferred ID as the primary SKU column for downstream matching. When converting to CSV, emit one row per LIN loop and include all identifier columns even if some are blank.

Case Studies and Real-World Examples

Case Study 1: Vendor A had repeated 846 rejections because their ISA16 component separator was colon (:) in their outgoing file but their parser expected plus (+). The vendor implemented automatic detection and switched to generating ISA with consistent component separators; rejections stopped. Use PlainEDI to detect mismatched ISA16 values before sending files to Albertsons.

Case Study 2: Vendor B sent correct LIN identifiers but used the wrong QTY qualifier, sending reserved 'on-order' qualifier rather than 'on-hand'. Albertsons applied the counts incorrectly and later issued chargebacks. Vendor B updated their mapping and ran reconciliations daily to prevent recurrence. Implement a daily comparison between POS receipts and 846 snapshots to detect anomalies fast.

Case Study 3: Vendor C received an Albertsons 846 with multiple LIN loops for the same UPC but with different vendor SKUs. Their ERP created duplicate stock records. The fix combined rows by UPC with an aggregation rule preferring the latest DTM date. When designing CSV output, include a deterministic de-duplication strategy aligned with Albertsons ID precedence.

Final Checklist Before Production

  • Detect and validate ISA delimiters and control numbers.
  • Ensure SE/GE/IEA counts are correct.
  • Verify LIN qualifiers and QTY qualifiers against Albertsons onboarding.
  • Include required N1 party loops and correct vendor/store IDs.
  • Run business validations (non-negative qty, date ranges, SKU format checks).
  • Automate acceptance with PlainEDI and schedule daily reconciliation jobs.

If you want fast validation, delimiter detection, and automated mapping from Albertsons 846 to CSV, upload your file to PlainEDI. PlainEDI flags element-level errors, verifies envelopes, and exports clean CSV for ERP import. For continuous processing, integrate PlainEDI's API into your pipeline to automate validation and conversion.

Ready to validate an Albertsons 846 now? Send your file to PlainEDI to get immediate diagnostics and a CSV export you can import directly into your inventory system.