Stedi maintains this guide based on public documentation from YRC Freight. Contact YRC Freight for official EDI specifications. To report any errors in this guide, please contact us.
X12 820 Freight Remittance Advice
—
Delimiters
- ~ Segment
- * Element
- > Component
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
BPR
020
Heading > BPR
Beginning Segment for Payment Order/Remittance Advice
RequiredMax use 1
—
Example
If either (DFI) ID Number Qualifier (BPR-06) or (DFI) Identification Number (BPR-07) is present, then the other is required
If Account Number Qualifier (BPR-08) is present, then Account Number (BPR-09) is required
If Account Number Qualifier (BPR-14) is present, then Account Number (BPR-15) is required
If either (DFI) ID Number Qualifier (BPR-18) or (DFI) Identification Number (BPR-19) is present, then the other is required
If Account Number Qualifier (BPR-20) is present, then Account Number (BPR-21) is required
—
- C
- Payment Accompanies Remittance Advice
- D
- Make Payment Only
- H
- Notification Only
- I
- Remittance Information Only
- P
- Prenotification of Future Transfers
—
Usage notes
—
- ACH
- Automated Clearing House (ACH)
- CHK
- Check
- DCC
- ACH Demand Cash Concentration/Disbursement (CCD) Credit
- DCD
- ACH Demand Cash Concentration/Disbursement (CCD) Debit
- DXC
- ACH Demand Corporate Trade Exchange (CTX) Credit
- DXD
- ACH Demand Corporate Trade Exchange (CTX) Debit
- DZC
- ACH Demand Cash Concentration/Disbursement Plus (CCD+) Credit
- DZD
- ACH Demand Cash Concentration/Disbursement Plus (CCD+) Debit
- FEW
- Federal Reserve Funds/Wire Transfer - Repetitive
- FWT
- Federal Reserve Funds/Wire Transfer - Nonrepetitive
—
- CCD
- Cash Concentration/Disbursement (CCD) (ACH)
- CCP
- Cash Concentration/Disbursement plus Addenda (CCD+) (ACH)
- CTP
- Corporate Trade Payment (CTP) (ACH)
- CTX
- Corporate Trade Exchange (CTX) (ACH)
- PBC
- Commercial/Corporate Check
- PPD
- Prearranged Payment and Deposit (PPD+) (ACH)
- PPP
- Prearranged Payment and Deposit plus Addenda (PPD+) (ACH)
—
- 01
- ABA Transit Routing Number Including Check Digits (9 digits)
—
- 01
- ABA Transit Routing Number Including Check Digits (9 digits)
—
- 1
- Current Transaction Trace Numbers
- 2
- Referenced Transaction Trace Numbers
- 3
- Financial Reassociation Trace Number
CUR
040
Heading > CUR
Currency
OptionalMax use 1
—
Usage notes
—
Example
If Date (CUR-08) is present, then Date/Time Qualifier (CUR-07) is required
If Time (CUR-09) is present, then Date/Time Qualifier (CUR-07) is required
If Date (CUR-11) is present, then Date/Time Qualifier (CUR-10) is required
If Date/Time Qualifier (CUR-10) is present, then at least one of Date (CUR-11) or Time (CUR-12) is required
If Date (CUR-14) is present, then Date/Time Qualifier (CUR-13) is required
If Date/Time Qualifier (CUR-13) is present, then at least one of Date (CUR-14) or Time (CUR-15) is required
If Time (CUR-15) is present, then Date/Time Qualifier (CUR-13) is required
If Date (CUR-17) is present, then Date/Time Qualifier (CUR-16) is required
If Date/Time Qualifier (CUR-16) is present, then at least one of Date (CUR-17) or Time (CUR-18) is required
If Time (CUR-18) is present, then Date/Time Qualifier (CUR-16) is required
If Date (CUR-20) is present, then Date/Time Qualifier (CUR-19) is required
If Date/Time Qualifier (CUR-19) is present, then at least one of Date (CUR-20) or Time (CUR-21) is required
If Time (CUR-21) is present, then Date/Time Qualifier (CUR-19) is required
—
- BS
- Bill and Ship To
- BT
- Bill-to-Party
- CN
- Consignee
- OC
- Origin Carrier
- PF
- Party to Receive Freight Bill
- SH
- Shipper
—
- BT
- Batch Number
- CK
- Check Number
- CR
- Customer Reference Number
- EF
- Electronic Funds Transfer ID Number
- FR
- Freight Bill Number
- OI
- Original Invoice Number
- R4
- Tariff Section Number
- SI
- Shipper's Identifying Number for Shipment (SID)
- TN
- Transaction Reference Number
DTM
060
Heading > DTM
Date/Time Reference
OptionalMax use >1
—
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
At least one of Date (DTM-02), Time (DTM-03) or Date Time Period Format Qualifier (DTM-05) is required
If either Date Time Period Format Qualifier (DTM-05) or Date Time Period (DTM-06) is present, then the other is required
—
- 003
- Invoice
- 097
- Transaction Creation
- 234
- Settlement Date
N1 Loop
OptionalMax >1
N1
070
Heading > N1 Loop > N1
Name
RequiredMax use 1
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- 1
- D-U-N-S Number, Dun & Bradstreet
- 2
- Standard Carrier Alpha Code (SCAC)
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 18
- Automotive Industry Action Group (AIAG)
- 25
- Carrier's Customer Code
- 93
- Code assigned by the organization originating the transaction set
- 94
- Code assigned by the organization that is the ultimate destination of the transaction set
N4
100
Heading > N1 Loop > N4
Geographic Location
OptionalMax use 1
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N1 Loop end
Heading end
Detail
ENT Loop
OptionalMax >1
ENT
010
Detail > ENT Loop > ENT
Entity
RequiredMax use 1
—
Example
If either Entity Identifier Code (ENT-02), Identification Code Qualifier (ENT-03) or Identification Code (ENT-04) are present, then the others are required
If either Entity Identifier Code (ENT-05), Identification Code Qualifier (ENT-06) or Identification Code (ENT-07) are present, then the others are required
If either Reference Identification Qualifier (ENT-08) or Reference Identification (ENT-09) is present, then the other is required
—
- 1
- D-U-N-S Number, Dun & Bradstreet
- 2
- Standard Carrier Alpha Code (SCAC)
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 93
- Code assigned by the organization originating the transaction set
- 94
- Code assigned by the organization that is the ultimate destination of the transaction set
NM1 Loop
OptionalMax >1
NM1
020
Detail > ENT Loop > NM1 Loop > NM1
Individual or Organizational Name
RequiredMax use 1
—
Example
If either Identification Code Qualifier (NM1-08) or Identification Code (NM1-09) is present, then the other is required
If Entity Identifier Code (NM1-11) is present, then Entity Relationship Code (NM1-10) is required
—
- 1
- Person
- 2
- Non-Person Entity
- 3
- Unknown
- 4
- Corporation
- 5
- Trust
- 6
- Organization
- 7
- Limited Liability Corporation
- 8
- Partnership
- 9
- S Corporation
- C
- Custodial
- D
- Non-Profit Organization
- E
- Sole Proprietorship
- G
- Government
- L
- Limited Partnership
—
- 1
- D-U-N-S Number, Dun & Bradstreet
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 93
- Code assigned by the organization originating the transaction set
- 94
- Code assigned by the organization that is the ultimate destination of the transaction set
N4
050
Detail > ENT Loop > NM1 Loop > N4
Geographic Location
OptionalMax use 1
—
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
NM1 Loop end
ADX Loop
OptionalMax >1
ADX
080
Detail > ENT Loop > ADX Loop > ADX
Adjustment
RequiredMax use 1
—
Example
If either Reference Identification Qualifier (ADX-03) or Reference Identification (ADX-04) is present, then the other is required
—
- 01
- Pricing Error
- 03
- Extension Error
- 09
- Terms of Sale Error
- 19
- Duplicate Billing
- 21
- Shipment Method of Payment Incorrect
- 39
- Shipper/Consignee Ref. Number Missing
- 45
- Stale Bill Over 180 Days Old
—
- BM
- Bill of Lading Number
- CN
- Carrier's Reference Number (PRO/Invoice)
- MB
- Master Bill of Lading
- SI
- Shipper's Identifying Number for Shipment (SID)
PER
100
Detail > ENT Loop > ADX Loop > PER
Administrative Communications Contact
OptionalMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
—
- AP
- Accounts Payable Department
- CN
- General Contact
ADX Loop end
RMR Loop
OptionalMax >1
RMR
150
Detail > ENT Loop > RMR Loop > RMR
Remittance Advice Accounts Receivable Open Item Reference
RequiredMax use 1
—
Usage notes
—
Example
If either Reference Identification Qualifier (RMR-01) or Reference Identification (RMR-02) is present, then the other is required
If either Adjustment Reason Code (RMR-07) or Monetary Amount (RMR-08) is present, then the other is required
—
- BM
- Bill of Lading Number
- CN
- Carrier's Reference Number (PRO/Invoice)
- SI
- Shipper's Identifying Number for Shipment (SID)
—
- ER
- Evaluated Receipts Settlement
- PA
- Payment in Advance
- PO
- Payment on Account
- PP
- Partial Payment
REF
170
Detail > ENT Loop > RMR Loop > REF
Reference Identification
OptionalMax use >1
—
Usage notes
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
—
- CK
- Check Number
- EF
- Electronic Funds Transfer ID Number
- FR
- Freight Bill Number
- R4
- Tariff Section Number
- SI
- Shipper's Identifying Number for Shipment (SID)
- TN
- Transaction Reference Number
DTM
180
Detail > ENT Loop > RMR Loop > DTM
Date/Time Reference
OptionalMax use >1
—
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
At least one of Date (DTM-02), Time (DTM-03) or Date Time Period Format Qualifier (DTM-05) is required
If either Date Time Period Format Qualifier (DTM-05) or Date Time Period (DTM-06) is present, then the other is required
—
- 022
- Freight Bill
- 095
- Bill of Lading
- 097
- Transaction Creation
ADX Loop
OptionalMax >1
ADX
210
Detail > ENT Loop > RMR Loop > ADX Loop > ADX
Adjustment
RequiredMax use 1
—
Example
If either Reference Identification Qualifier (ADX-03) or Reference Identification (ADX-04) is present, then the other is required
—
- 01
- Pricing Error
- 03
- Extension Error
- 09
- Terms of Sale Error
- 19
- Duplicate Billing
- 21
- Shipment Method of Payment Incorrect
- 39
- Shipper/Consignee Ref. Number Missing
- 45
- Stale Bill Over 180 Days Old
—
- BM
- Bill of Lading Number
- CN
- Carrier's Reference Number (PRO/Invoice)
- MB
- Master Bill of Lading
- SI
- Shipper's Identifying Number for Shipment (SID)
PER
230
Detail > ENT Loop > RMR Loop > ADX Loop > PER
Administrative Communications Contact
OptionalMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
—
- AP
- Accounts Payable Department
- CN
- General Contact
ADX Loop end
RMR Loop end
ENT Loop end
Detail end
Summary
Summary end
EDI Samples
sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231103*0253*U*00401*000000001*0*T*>
GS*RA*SENDERGS*RECEIVERGS*20231103*025324*000000001*X*004010
ST*820*00001
BPR*I*500*C*ACH
REF*CK*12346789
DTM*003*20130425
N1*PE*YRC FREIGHT
N1*PR*ACME ROCKET
ENT*1
RMR*BM*2222***10
DTM*022*20130420
ADX*5*39
ADX*5*09
RMR*BM*3333**300.5*300.5
DTM*022*20130422
RMR*BM*4444**199.5*199.5
DTM*022*20130424
SE*16*00001
GE*1*000000001
IEA*1*000000001
GS*RA*SENDERGS*RECEIVERGS*20231103*025324*000000001*X*004010
ST*820*00001
BPR*I*500*C*ACH
REF*CK*12346789
DTM*003*20130425
N1*PE*YRC FREIGHT
N1*PR*ACME ROCKET
ENT*1
RMR*BM*2222***10
DTM*022*20130420
ADX*5*39
ADX*5*09
RMR*BM*3333**300.5*300.5
DTM*022*20130422
RMR*BM*4444**199.5*199.5
DTM*022*20130424
SE*16*00001
GE*1*000000001
IEA*1*000000001
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.