
BNSF 820 Payment Order/Remittance Advice
BNSF · X12 004010
The BNSF 820 is the payment order and remittance advice a customer sends to say which invoices a payment covers.
BNSF’s published 820 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
15 of 15 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
BPR
Beginning Segment For Payment Order Remittance Advice BPR
Example:
BPR*C*10000*C*ACH*CTX*01*1234*DA*555* CUSTID0001**01*987*DA*345123*19990101
pos 020
Required
max —
TRN
Trace TRN
If Software does not provide for a TRN Segment, then REF01*TN and REF02 as indicated on following page is required.
Example: TRN*1*1001983525
pos 035
Required
max —
REF
Check Numbervariant 1 of 3
If TRN Segment is not used, then REF01 TN or CK is required.
pos 050
Optional
max —
REF
Credit Note Numbervariant 2 of 3
If TRN Segment is not used, then REF01 TN or CK is required.
Example: REF*CD*1234564114
pos 050
Optional
max —
REF
Transaction Reference Numbervariant 3 of 3
If TRN Segment is not used, then REF01 TN or CK is required.
pos 050
Optional
max —
DTM
Date Time Reference DTM
Example: DTM*007*19990101
pos 060
Required
max —
N1 LoopPayeevariant 1 of 2required
N1
Name N1
pos 070
Required
max —
N1 LoopPayervariant 2 of 2required
N1
Name N1
pos 070
Required
max —
DETAIL
ENT Looprequired
ENT
Entity ENT
Example: ENT*1
pos 010
Required
max —
RMR Looprequired
RMR
Remittance Advice Accounts Receivable Open Item Reference RMR
The preferred qualifier in RMR01 is WY or FR. If WY or FR is not available, then BM should be used. IF RMR*WY or RMR*BM is used, then REF*EQ is mandatory.
DTM Segment is required in conjunction with RMR01*WY and RMR01*BM.
Example: RMR*WY*123456**5000
pos 150
Required
max —
REF
Reference Identification REF
If Waybill Number or Bill of Lading Number or Freight Bill Number is used in the RMR Segment, then same Number is not needed in the REF Segment. If REF*WY or REF*BM is used, then REF*EQ is mandatory.
If payment is based on an amount that is different from the amount shown on BNSF’s Freight Bill, use an REF Segment with a D0 qualifier. The REF02 should be one of the Reference IDs listed under Contents. The REF03 is used to provide additional information related to the amount being paid.
Examples:
REF*BM*1001
REF*EQ*BNSF456002
REF*D0*RATE AUTHORITY*RATE SHOULD BE $2000 PER CAR
pos 170
Optional
max —
DTM
Bill of Lading or Waybill Datevariant 1 of 2
Example: DTM*095*19990101
pos 180
Optional
max —
DTM
Freight Billvariant 2 of 2
pos 180
Optional
max —
SUMMARY
SE
Transaction Set Trailer SE
pos 010
Optional
max —
Validate your 820
Paste or upload a document and check it against BNSF’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on BNSF’s 820 in days, not months
Connect this guide to your accounting system and test with BNSF yourself, or leave the mapping and the test cycle to us, at no extra charge.