X12 820 Payment Order/Remittance Advice
This Draft Standard for Trial Use contains the format and establishes the data contents of the Payment Order/Remittance Advice Transaction Set (820) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to make a payment, send a remittance advice, or make a payment and send a remittance advice.
This transaction set can be an order to a financial institution to make a payment to a payee. It can also be a remittance advice identifying the detail needed to perform cash application to the payee's accounts receivable system.
The remittance advice can go directly from payer to payee, through a financial institution, or through a third party agent.
- ~ Segment
- * Element
- > Component
- ^ Repetition
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code identifying the type of information in the Authorization Information
- 00
- No Authorization Information Present (No Meaningful Information in I02)
Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)
Code identifying the type of information in the Security Information
- 00
- No Security Information Present (No Meaningful Information in I04)
This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them
Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator
- ^
- Repetition Separator
Code specifying the version number of the interchange control segments
- 00403
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1999
A control number assigned by the interchange sender
Code indicating sender's request for an interchange acknowledgment
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
Code indicating whether data enclosed by this interchange envelope is test, production or information
- I
- Information
- P
- Production Data
- T
- Test Data
Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator
- >
- Component Element Separator
Functional Group Header
To indicate the beginning of a functional group and to provide control information
Code identifying a group of application related transaction sets
- RA
- Payment Order/Remittance Advice (820)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission; codes agreed to by trading partners
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
Assigned number originated and maintained by the sender
Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed
- 004030
- Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1999
Heading
Transaction Set Header
To indicate the start of a transaction set and to assign a control number
Code uniquely identifying a Transaction Set
- The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
- 820
- Payment Order/Remittance Advice
Beginning Segment for Payment Order/Remittance Advice
To indicate the beginning of a Payment Order/Remittance Advice Transaction Set and total payment amount, or to enable related transfer of funds and/or information from payer to payee to occur
BPRI415883.15CACHCTX01122000030DA12573008512943019135*01XXXXXXXXXDAXXXXXXXXXX20131020VEN~
Code designating the action to be taken by all parties
- I
- Remittance Information Only
Monetary amount
- BPR02 specifies the payment amount.
Code indicating whether amount is a credit or debit
- C
- Credit
Code identifying the method for the movement of payment instructions
- ACH
- Automated Clearing House (ACH)
Code identifying the payment format to be used
- CTX
- Corporate Trade Exchange (CTX) (ACH)
Code identifying the type of identification number of Depository Financial Institution (DFI)
- When using this transaction set to initiate a payment, all or some of BPR06 through BPR16 may be required, depending on the conventions of the specific financial channel being used.
- BPR06 and BPR07 relate to the originating depository financial institution (ODFI).
- 01
- ABA Transit Routing Number Including Check Digits (9 digits)
Depository Financial Institution (DFI) identification number
Code indicating the type of account
- BPR08 is a code identifying the type of bank account or other financial asset.
- DA
- Demand Deposit
Account number assigned
- BPR09 is the account of the company originating the payment. This account may be debited or credited depending on the type of payment order.
A unique identifier designating the company initiating the funds transfer instructions. The first character is one-digit ANSI identification code designation (ICD) followed by the nine-digit identification number which may be an IRS employer identification number (EIN), data universal numbering system (DUNS), or a user assigned number; the ICD for an EIN is 1, DUNS is 3, user assigned number is 9
Safeway's ID for Bank of America.
A code defined between the originating company and the originating depository financial institution (ODFI) that uniquely identifies the company initiating the transfer instructions
Code identifying the type of identification number of Depository Financial Institution (DFI)
- BPR12 and BPR13 relate to the receiving depository financial institution (RDFI).
- 01
- ABA Transit Routing Number Including Check Digits (9 digits)
Depository Financial Institution (DFI) identification number
Code indicating the type of account
- BPR14 is a code identifying the type of bank account or other financial asset.
- DA
- Demand Deposit
Account number assigned
- BPR15 is the account number of the receiving company to be debited or credited with the payment order.
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
- BPR16 is the date the originating company intends for the transaction to be settled (i.e., Payment Effective Date).
Trace
To uniquely identify a transaction to an application
- The TRN segment is used to uniquely identify a payment order/remittance advice.
TRN14311000190~
Code identifying which transaction is being referenced
- 1
- Current Transaction Trace Numbers
Date/Time Reference
To specify pertinent dates and times
DTM02020131019~
Name
To identify a party by type of organization, name, and code
- The N1 loop allows for name/address information for the payer and payee which would be utilized to address remittance(s) for delivery.
N1PESafeway Supplier Name92 2397~
Code identifying an organizational entity, a physical location, property or an individual
- PE
- Payee
Code designating the system/method of code structure used for Identification Code (67)
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 92
- Assigned by Buyer or Buyer's Agent
Code identifying a party or other code
- This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Name
To identify a party by type of organization, name, and code
- The N1 loop allows for name/address information for the payer and payee which would be utilized to address remittance(s) for delivery.
N1PRSafeway - U. S. Corporate90091372090000~
Code identifying an organizational entity, a physical location, property or an individual
- PR
- Payer
Code designating the system/method of code structure used for Identification Code (67)
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
- 92
- Assigned by Buyer or Buyer's Agent
Code identifying a party or other code
- This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Detail
Entity
To designate the entities which are parties to a transaction and specify a reference meaningful to those entities
- The ENT loop is for vendor or consumer third party consolidated payments.
- ENT09 may contain the payee's accounts receivable customer number.
ENT1PR90091372090500~
Number assigned for differentiation within a transaction set
Code identifying an organizational entity, a physical location, property or an individual
- PE
- Payee
- PR
- Payer
Code designating the system/method of code structure used for Identification Code (67)
- 9
- D-U-N-S+4, D-U-N-S Number with Four Character Suffix
Adjustment
To convey accounts-payable adjustment information for the purpose of cash application, including payer-generated debit/credit memos
- This ADX loop contains adjustment items which are not netted to an RMR segment in this transaction set.
ADX*-13676.81ZZCMWSO_144324_05~ CREDIT MEMO
ADX13676.81ZZDB*WSO_144324_05~ DEBIT MEMO
Safeway can only send the ADX segment (Loop ID-ADX), prior to Loop ID-RMR and CANNOT SEND ADX ATINVOICE LEVEL.
Monetary amount
- ADX01 specifies the amount of the adjustment and must be signed if negative. If negative, it reduces the payment amount; if positive, it increases the payment amount.
Code indicating reason for debit or credit memo or adjustment to invoice, debit or credit memo, or payment
- ADX02 specifies the reason for claiming the adjustment.
- E2
- Covered By Debit Memo
- ZZ
- Mutually Defined
Code qualifying the Reference Identification
- ADX03 and ADX04 specify the identification of the adjustment.
- CM
- Buyer's Credit Memo
- DB
- Buyer's Debit Memo
Reference Identification
To specify identifying information
REFUQ301- GROCERY MAIN MEAL~
REFCM WSO_144324_05~ (Safeway assigned credit memo #)
REFDB WSO_144324_05~ (Safeway assigned debit memo #)
REFST3111~ (DSD only)
Safeway will send “UQ” when a Promotional Billing Deduction has occurred.
Safeway will send either the Safeway Store #, Credit Memo # OR Debit Memo #. (DSD only)
Code qualifying the Reference Identification
- CM
- Buyer's Credit Memo
- DB
- Buyer's Debit Memo
- ST
- Store Number
- UQ
- Section Number
Date/Time Reference
To specify pertinent dates and times
DTM00320130927~
Remittance Advice Accounts Receivable Open Item Reference
To specify the accounts receivable open item(s) to be included in the cash application and to convey the appropriate detail
- Loop RMR is for open items being referenced or for payment on account.
RMRIV6092392PI20430.3420851.11420.77~
Code qualifying the Reference Identification
- Parties using this segment should agree on the content of RMR01 and RMR02 prior to initiating communication.
- IV
- Seller's Invoice Number
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Code specifying the accounts receivable open item(s), if any, to be included in the cash application.
- If RMR03 is present, it specifies how the cash is to be applied.
- If RMR03 is not present, this is a payment for an open item. If paying an open item, RMR02 must be present. If not paying a specific open item, RMR04 must be present.
- PI
- Pay Item
Monetary amount
- RMR04 is the amount paid.
Monetary amount
- RMR05 is the amount of invoice (including charges, less allowance) before terms discount (if discount is applicable) or debit amount or credit amount of referenced items.
- RMR05 may be needed by some payees to distinguish between duplicate reference numbers.
Purchase Order Number
To specify identifying information
Code qualifying the Reference Identification
REFPO999999999~ (Warehouse)
REFST0111~ (DSD)
- PO
- Purchase Order Number
Store Number
To specify identifying information
Code qualifying the Reference Identification
- ST
- Store Number
Date/Time Reference
To specify pertinent dates and times
DTM00320130923~
Summary
Transaction Set Trailer
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Total number of segments included in a transaction set including ST and SE segments
Functional Group Trailer
To indicate the end of a functional group and to provide control information
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
Sample file of EFT/EDI 820 from Safeway to Safeway DSD Supplier
GS*RA*SENDERGS*RECEIVERGS*20231117*003952*000000001*X*004030~
ST*820*00106001~
BPR*I*416093.15*C*ACH*CTX*01*053000219*DA*2000014804300*9991000700**01*XXXXXXXXX*DA*XXXXXXXXXX*20090610*VEN~
TRN*1*4311000190~
DTM*020*20090605~
N1*PR*Safeway - U. S. Corporate*9*0091372090000~
N1*PE*Safeway Supplier Name*92* 2397~
ENT*1*PR*9*0091372090500~
ADX*-13676.81*E2*CM*WSO_144324_05~
REF*ST*3111~
DTM*003*20090527~
ADX*-18200*E2*CM*WSO_144343_05~
REF*CM*WSO_144343_05~
DTM*003*20090527~
RMR*IV*6092392*PI*20430.34*20851.11*420.77~
REF*ST*0111~
DTM*003*20090523~
ENT*2*PR*9*0091372091700~
ADX*-892.8*E2*CM*P7159010-17~
REF*UQ*302 -MEALS/INGREDIENTS~
REF*CM*P7159010-17~
DTM*003*20090517~
RMR*IV*6093694*PI*20888.5*21318.71*430.21~
REF*ST*2111~
DTM*003*20090526~
RMR*IV*6093695*PI*99701.8*101757.74*2055.94~
REF*ST*1111~
DTM*003*20090526~
ENT*3*PR*9*0091372092000~
ADX*210*E2*DB*P7817948-20~
REF*UQ*323 -REFRIGERATED FOODS~
REF*ST*4111~
DTM*003*20090517~
ENT*4*PR*9*0091372092500~
RMR*IV*P7340039-25PB*PI*4153*4153~
REF*ST*5111~
DTM*003*20090514~
ENT*5*PR*9*0091372092700~
RMR*IV*6093692*PI*286308.83*292210.59*5901.76~
REF*ST*6111~
DTM*003*20090526~
SE*41*00106001~
GE*1*000000001~
IEA*1*000000001~
Sample file of EFT/EDI 820 from Safeway to Safeway Warehouse Supplier
GS*RA*SENDERGS*RECEIVERGS*20231117*004012*000000001*X*004030~
ST*820*00106001~
BPR*I*416093.15*C*ACH*CTX*01*122000030*DA*2000014804300*2943019135**01*XXXXXXXXX*DA*XXXXXXXXXX*20131020*VEN~
TRN*1*4311000190~
DTM*020*20131019~
N1*PR*Safeway - U. S. Corporate*9*0091372090000~
N1*PE*Safeway Supplier Name*92* 2397~
ENT*1*PR*9*0091372090500~
ADX*-13676.81*E2*CM*WSO_144324_05~
REF*CM* WSO_144324_05~
DTM*003*20130927~
ADX*-18200*E2*CM*WSO_144343_05~
REF*CM*WSO_144343_05~
DTM*003*20130927~
RMR*IV*6092392*PI*20430.34*20851.11*420.77~
REF*PO*999999999~
DTM*003*20130923~
ENT*2*PR*9*0091372091700~
ADX*-892.8*E2*CM*P7159010-17~
REF*UQ*302 -MEALS/INGREDIENTS~
REF*CM*P7159010-17~
DTM*003*20131017~
RMR*IV*6093694*PI*20888.5*21318.71*430.21~
REF*PO*888888888~
DTM*003*20130926~
RMR*IV*6093695*PI*99701.8*101757.74*2055.94~
REF*PO*777777777~
DTM*003*20130926~
RMR*IV*6093696*PI*17380.29*17738.82*358.53~
REF*PO*666666666~
DTM*003*20130926~
ENT*3*PR*9*0091372092000~
ADX*210*E2*DB*P7817948-20~
REF*UQ*323 -REFRIGERATED FOODS~
REF*DB*P7817948-20~
DTM*003*20131017~
ENT*4*PR*9*0091372092500~
RMR*IV*P7340039-25PB*PI*4153*4153~
REF*PO*555555555~
DTM*003*20130914~
ENT*5*PR*9*0091372092700~
RMR*IV*6093692*PI*286308.83*292210.59*5901.76~
REF*PO*555555555~
DTM*003*20130926~
SE*44*00106001~
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.