Your files are read in your browser. Orders and pricing never leave your computer.
EDIParse

EDI 850 BEG Segment: Beginning Segment for Purchase Order Guide

Inspect live BEG segments in our interactive X12 workbench below. Understand how BEG01, BEG02, BEG03, and BEG05 map to Shopify Order Names and QuickBooks PONUM fields.

Drop your file below, check the order, then download for QuickBooks Desktop (.IIF).

Looking for the raw X12 segments (BEG)? Orders open as a readable document. Select View raw EDI code (for IT) at the top right of the document to see the ANSI X12 segments side by side.
  1. 1Load your order file
  2. 2Check it and match your SKUs

Drop your EDI order file here

.edi, .x12 or .txt. The file is read on your computer and is not uploaded.

Now showing
walmart-850-crossdock.edi
No file handy? Open a sample:

No chargeback risks found. This order passes every check.

Checked against the Walmart supplier guide for EDI 850.

  • Detected Cross-Dock SDQ allocations (6 store-level splits verified against PO102).
  • Walmart Dept #0018 & Vendor #123456789 verified.

Raw EDI Code Inspector

31 lines
1ISAISA*00* *00* *08*925485US00 *12*5551234567 *261109*0830*^*00501*000010850*0*P*:~
2GSGS*PO*925485US00*5551234567*20261109*0830*10850*X*005010~
3STST*850*0001~
4BEGBEG*00*SA*4500991288**20261109~
5CURCUR*BY*USD~
6REFREF*DP*0018~
7REFREF*MR*0020~
8REFREF*IA*123456789~
9FOBFOB*PP*OR*BENTONVILLE~
10CSHCSH*Y~
11SACSAC*A*D240***2500**********NEW STORE PROMO ALLOWANCE~
12ITDITD*01*3*2**10**30*****2/10 NET 30~
13DTMDTM*037*20261112~
14DTMDTM*038*20261118~
15N1N1*BY*WALMART STORES INC*UL*0078742000008~
16N1N1*ST*WALMART DC 6094G-RDC*UL*0078742035260~
17N3N3*5801 SW REGIONAL AIRPORT BLVD~
18N4N4*BENTONVILLE*AR*72712*US~
19N1N1*VN*ACME HOME GOODS LLC*92*123456789~
20PO1PO1*1*100*EA*12.50*WE*UP*012345678905*IN*554433221*VN*SKU-TOWEL-BLU-L*UK*10012345678902~
21PIDPID*F*08***ORGANIC COTTON BATH TOWEL ROYAL BLUE~
22PO4PO4*10*1*EA~
23SDQSDQ*EA*92*0101*25*0102*35*0103*40~
24PO1PO1*2*60*EA*18.00*WE*UP*012345678912*IN*554433299*VN*SKU-ROBE-WHT-XL~
25PIDPID*F*08***LUXURY WAFFLE ROBE WHITE XL~
26PO4PO4*6*1*EA~
27SDQSDQ*EA*92*0101*20*0102*20*0103*20~
28CTTCTT*2*160~
29SESE*27*0001~
30GEGE*1*10850~
31IEAIEA*1*000010850~
BEGBeginning Segment for Purchase Order (850)
Line #4

Primary header of an EDI 850 Purchase Order. BEG03 is the legal PO # that must be echoed on your 856 ASN and 810 Invoice.

BEG01Transaction Set Purpose Code
00
BEG02Purchase Order Type Code
SA
BEG03Purchase Order Number
4500991288
BEG05Purchase Order Date
20261109

Purchase Order Summary & Line Items

Purchase Order #
4500991288
Order Date
11/09/2026
Dept # / Vendor #
Dept 0018 · Vendor 123456789
Order Total
$2,305.00 USD
Ship-To Warehouse / DC
WALMART DC 6094G-RDC
5801 SW REGIONAL AIRPORT BLVD
BENTONVILLE, AR 72712
Location Code: 0078742035260
Shipping Dates & Payment Terms
Earliest Ship Date:11/12/2026
Latest Ship Date:11/18/2026
Payment Terms:2/10 NET 30 · FOB PP
Multi-Store Order Detected: Automatically split items by store location
Order / Store #Your SKURetailer Item # / UPCItem DescriptionQtyUnit PriceLine Total
PO-4500991288-STORE-0101
Item: 554433221
UPC: 012345678905
ORGANIC COTTON BATH TOWEL ROYAL BLUE25 EA$12.50$312.50
PO-4500991288-STORE-0102
Item: 554433221
UPC: 012345678905
ORGANIC COTTON BATH TOWEL ROYAL BLUE35 EA$12.50$437.50
PO-4500991288-STORE-0103
Item: 554433221
UPC: 012345678905
ORGANIC COTTON BATH TOWEL ROYAL BLUE40 EA$12.50$500.00
PO-4500991288-STORE-0101
Item: 554433299
UPC: 012345678912
LUXURY WAFFLE ROBE WHITE XL20 EA$18.00$360.00
PO-4500991288-STORE-0102
Item: 554433299
UPC: 012345678912
LUXURY WAFFLE ROBE WHITE XL20 EA$18.00$360.00
PO-4500991288-STORE-0103
Item: 554433299
UPC: 012345678912
LUXURY WAFFLE ROBE WHITE XL20 EA$18.00$360.00
Total Units: 160 across 2 items
Items Subtotal: $2330.00
Allowance / Charge: -$25.00
Net Order Total: $2305.00

Download for your software

Pick where the order is going, then download. Files are ready for Excel, QuickBooks, Shopify or a thermal printer.

QuickBooks Account Names:
Direct QuickBooks Desktop import file with automatically balanced Accounts Receivable and Sales Income rows.
Field mapping table: which EDI segment fills which column (for IT & bookkeepers)

BEG Segment Elements (BEG01 – BEG05) & ERP Mapping

Deterministic segment-to-column mapping rules enforced by our client-side X12 engine

Source X12 Segment / ElementSample Raw ValueTarget ERP / CSV ColumnTransformation & Validation Logic
BEG01 (Purpose Code)
00
Order Action00 = Original Order; 01 = Cancellation; 05 = Replace; 06 = Confirmation.
BEG02 (Purchase Order Type)
SA / DS / NE
Fulfillment ChannelSA = Stand-Alone Order; DS = Dropship to Consumer; NE = New Store Opening; BK = Blanket.
BEG03 (Purchase Order Number)
4500991288
PONUM / PRF01 / BIG04Primary legal PO # echoed onto 856 PRF01, 810 BIG04, and 4x6 GS1-128 labels.
BEG05 (Purchase Order Date)
20261109
Order Date (MM/DD/YYYY)Converted from YYYYMMDD to 11/09/2026 for QuickBooks, Xero, and ShipStation.

Critical Chargeback & Import Pitfalls We Prevent

Common EDI mistakes that trigger $250+ retailer fines or accounting balance errors

Truncating Long BEG03 PO Numbers in ERP Imports

Risk: 810 BIG04 Mismatch Rejection

If your ERP truncates BEG03 from 12 characters to 8 characters, the 810 Invoice you generate back will fail the buyer’s PO lookup.

Preserve the full alphanumeric BEG03 string across all exports.

Ignoring BEG01="01" (Cancellation) or "05" (Replace)

Risk: Duplicate Shipment

Treating a cancellation or replacement 850 as a brand-new order leads to double-shipping.

Check BEG01 in the left AST inspector before fulfilling.

Not Echoing BEG05 PO Date on 856 PRF04 and 810 BIG03

Risk: Minor EDI Compliance Warning

Many retailers expect the original PO date from BEG05 to be returned in PRF04 and BIG03.

Our 850 turnaround generators copy both BEG03 and BEG05 automatically.

How to Inspect & Map BEG Segments

Zero middleware setup — complete in under 60 seconds

1. Click the BEG Line in the Left AST Tree Above

View the live breakdown of BEG01, BEG02, BEG03, and BEG05.

2. Edit Raw Values in the Live X12 Editor

Test different BEG02 order types or PO numbers in real time.

3. Export to QuickBooks, Shopify, or Excel

See how BEG03 populates PONUM and Order Name columns.

Frequently Asked Technical Questions

ANSI X12 specification details, retail companion rules, and ERP import answers

Why is BEG04 usually empty (two consecutive asterisks **)?

BEG04 is the Release Number, which is only used for Blanket Purchase Orders (BEG02=BK or RL). For standard standalone orders (BEG02=SA), BEG04 is omitted, resulting in BEG*00*SA*4500991288**20261109~.

Where does BEG03 go when generating an 856 ASN or 810 Invoice?

In an EDI 856 ASN, BEG03 maps to PRF01 under the Order (O) HL level. In an EDI 810 Invoice, BEG03 maps to BIG04.

Related EDI Converters, Retailer Guides & X12 Segment References