EDI 820 to Excel: Convert EDI 820 and EDI 823 Remittance Files to CSV

An EDI 820 is one unbroken stream of X12 segments that declares its own delimiters, so Excel drops the whole payment into a single cell. Pick your file and every RMR remittance line comes back as a row: payer, payment date, invoice number, amount paid, discount, and adjustment reason. It parses in this browser tab, so a file carrying live routing and account numbers never leaves your computer.

Nothing is uploaded, it parses in your browser
Reads 820, 823 and other X12 remittance sets
CSV download or paste straight into Excel

Last updated August 2026

EDI 820 and 823 to CSV converter

Pick a file and get a spreadsheet. Nothing is uploaded: the conversion happens in this browser tab.

Have a PDF statement instead of a data file? The bank statement converter reads PDFs and writes XLSX, CSV, OFX, QFX, QBO and QIF.

Why an EDI 820 Will Not Open Properly in Excel

X12 was designed so two computers could agree on a payment without a human in the middle, and it shows. Open an 820 in Excel and you do not get a bad table, you get no table at all. These are the six things that break.

The Whole File Is One Line

Segments end with a tilde, not a line break, so a file holding 400 invoices can arrive as a single unbroken line. Excel puts all of it in cell A1 and Notepad shows you one endless row.

The File Declares Its Own Delimiters

X12 does not fix the separators. Position 4 of the ISA envelope sets the element separator and the last character sets the segment terminator, so one partner sends asterisks and tildes and the next sends pipes and carets. A saved import scheme built for one file silently mangles the next.

It Is Loops, Not Rows

Payment level segments and invoice level segments are stacked in the same stream with different shapes and different lengths. No single delimited import can turn that into one rectangle, because the file is not rectangular.

The Context Sits Above the Detail

The payer name is on an N1 segment and the payment date is inside BPR, both of which appear before the invoice lines. Split the file naively and every invoice row comes out with no payer, no date, and no trace number attached.

The Same Tag Means Different Things

REF, DTM and N1 all appear at several levels of the same transaction. A REF near the top is a payment reference; a REF inside an RMR loop describes that one invoice. Position decides meaning, so a flat find and replace gets it wrong.

Identifiers Get Destroyed on Import

Routing numbers, account numbers, trace numbers and invoice numbers are zero padded text. Excel strips the leading zeros and flips the long ones into scientific notation, which corrupts them for good.

How BankXLSX Converts Your EDI 820 to Excel

The converter reads the envelope first, learns the delimiters the file actually uses, then walks the transaction in order so payment level facts land on every invoice row underneath them.

One Row Per Invoice

Each RMR remittance line becomes a row with the invoice number, the amount paid, the gross invoice amount, and the discount taken in their own columns, which is the shape cash application actually needs.

Payment Context Carried Down

Payer and payee from the N1 loop, the total from BPR, the effective date, the payment method, and the ACH trace or check number from TRN are joined onto every invoice row in that payment.

Reads the File's Own Delimiters

The parser takes the element separator and segment terminator from the ISA envelope rather than assuming asterisk and tilde, so files from different trading partners all work without reconfiguring anything.

Short Pays Are Explained

ADX adjustment amounts and reason codes are kept next to the invoice they belong to, so you can see why a customer paid $9,400 against a $10,000 invoice instead of guessing at it later.

Excel or CSV Output

Download a clean CSV or copy the whole table straight into a sheet, then load it into your ERP, your cash application tool, or a pivot table.

Nothing Leaves Your Computer

An 820 carries live bank routing and account numbers on both sides of the payment. This converter runs in your browser tab with no upload, so the file never touches a server.

Convert an EDI 820 to Excel in 3 Steps

Nothing to install, no account, and the file never leaves the browser.

1

Get the File

X12 remittance files come from your bank's reporting portal, from a trading partner's EDI feed, or out of your ERP's outbound folder. Extensions vary: .edi, .x12, .820, .txt, or nothing at all.

Tip: Any extension works, the content is what matters.

2

Drop It In the Box

Pick the file in the converter above. It reads the ISA envelope to learn the delimiters, then walks every ST transaction in the file, including multi payment files.

Tip: Several payments in one file is normal.

3

Tie the Total, Then Apply Cash

Download the CSV and sum the Amount Paid column for a payment. It should equal that payment's BPR total. Once it ties, the rows are ready to apply against open invoices.

Tip: A total that does not tie means an adjustment was missed.

Who Converts EDI 820 and 823 Files

These files show up wherever money arrives with paperwork attached. The person opening one is almost always trying to answer the same question: which invoices did this deposit actually pay, and why is the amount short.

Cash Application and AR Teams

Turn a customer's remittance advice into an invoice level worksheet, then apply the deposit without retyping 200 invoice numbers off a PDF.

Treasury Analysts

Match a bank reported deposit to the 820 or the lockbox 823 that explains it, and prove the day's receipts tie out.

AP Teams

Check an outbound 820 before it goes to the bank, and confirm the payment total, routing details, and invoice detail are what the ERP intended to send.

ERP and EDI Consultants

Validate an 820 map during a go live, segment by segment, against the trading partner's implementation guide instead of reading raw X12 in a text editor.

Auditors and Controllers

Sample test cash receipts, evidence that remittance detail supports the recorded revenue, and trace individual deductions back to a reason code.

Benefits and Payroll Administrators

Reconcile the premium payment 820s a plan sponsor sends to a health insurer against the enrollment the carrier billed for.

Common Search Terms

edi 820 edi 820 to excel edi 820 format edi 820 file format what is edi 820 edi 823 edi 820 and 823 convert edi 820 to csv

Transaction Types We Handle

ACH credit payments
Check payments
Wire transfers
Invoice level remittance detail
Discounts taken
Deductions and short pays
Credit memo applications
Lockbox deposit detail

What is an EDI 820?

An EDI 820 is the ANSI ASC X12 transaction set called Payment Order/Remittance Advice. It does one of two jobs, and sometimes both at once: it instructs a bank to move money to a payee, and it tells the payee which invoices that money covers. The 820 sits in the X12F finance group alongside the other banking sets, and in practice you meet it in three situations. A buyer sends one to its bank as a payment order. A buyer sends one straight to a supplier as a remittance advice for a payment already on the way. And a plan sponsor sends one to a health insurer to pay group premiums.

The distinction matters when you convert one, because the first element of the BPR segment says which job this particular file is doing. A handling code of D means make the payment and send no remittance, I means remittance information only with no money attached, and C means the payment and the remittance travel together.

EDI 820 file format: the segments inside

An 820 is a stream of segments, each starting with a two or three character tag. Envelope segments wrap the whole thing, the BPR and TRN pair carries the payment, and a repeating RMR loop carries the invoice detail. This is what you will find in a typical file.

SegmentNameWhat it carries
ISAInterchange Control HeaderSender and receiver IDs, date, control number, and the delimiters the rest of the file uses.
GSFunctional Group HeaderGroups transactions of the same type, with its own control number.
STTransaction Set HeaderST01 holds 820, which is how you confirm what you are actually looking at.
BPRBeginning Segment for Payment Order/Remittance AdviceThe payment itself: total amount, credit or debit, method, both sides' routing and account numbers, effective date.
TRNTraceThe number that ties the paperwork to the money: an ACH trace number or a check number.
CURCurrencyPresent when the payment is not in the default currency.
REFReference IdentificationExtra references such as a customer, contract or batch number. Meaning depends on where it sits.
DTMDate/Time ReferencePayment, invoice and period dates, tagged by a qualifier.
N1 loopNamePayer and payee names and IDs, with N3 and N4 carrying the address.
ENTEntitySplits remittance by entity when one payment covers several divisions or accounts.
RMR loopRemittance Advice Accounts Receivable Open Item ReferenceOne per open item: invoice number, amount paid, gross amount, discount taken.
ADXAdjustmentThe amount and coded reason for anything deducted from what was billed.
SE, GE, IEATrailersSegment counts and matching control numbers that close ST, GS and ISA.

What is the BPR segment in an EDI 820?

BPR is the payment. Everything else in the transaction describes it. It is the segment your treasury team cares about, because it holds the money and the bank instructions in one line. These are the elements you will use most.

ElementFieldTypical values
BPR01Transaction Handling CodeC payment with remittance, D payment only, I remittance only, U split payment and remittance.
BPR02Monetary AmountThe total payment. Your converted invoice lines should sum to this.
BPR03Credit/Debit FlagC credit, D debit.
BPR04Payment Method CodeACH, CHK for check, FWT for wire, NON when no money moves.
BPR05Payment Format CodeCTX corporate trade exchange, CCP cash concentration plus addenda.
BPR06 to BPR09Originating bank detailsQualifier 01 for ABA routing, the payer's routing number, DA for demand deposit, the payer's account.
BPR12 to BPR15Receiving bank detailsThe same four fields for the payee side of the payment.
BPR16Effective Entry DateCCYYMMDD, the date the money is meant to settle.

One caution before you build anything against this table. Element numbering past BPR10 shifts a little between X12 versions and between trading partner guides, and some guides add a business purpose code at the end. Always check the implementation guide your partner or bank published for the version you are actually receiving, rather than assuming 4010 and 5010 are identical.

What is the RMR segment in an EDI 820?

RMR is the invoice detail, and it is the reason anyone converts an 820 to a spreadsheet in the first place. One RMR segment appears per open item the payment touches, so a single check covering 180 invoices produces 180 RMR segments inside one transaction.

ElementFieldNotes
RMR01Reference Identification QualifierIV or IK for an invoice, PO for a purchase order, AZ for a credit memo.
RMR02Reference IdentificationThe document number itself, which is what you match against open AR.
RMR03Payment Action CodePI paid in full, PO payment on account, AJ adjustment.
RMR04Monetary AmountWhat was actually paid against this item.
RMR05Total Invoice AmountThe gross amount billed, before discount or deduction.
RMR06Discount AmountTerms discount taken, for example the 2 percent on 2/10 net 30.

When RMR04 is less than RMR05 and no discount explains the gap, look for an ADX segment underneath. ADX01 is the adjustment amount and ADX02 is the coded reason, and that pair is the difference between a clean cash application and a deduction your AR team spends a week chasing.

EDI 820 vs 823 vs 835 vs 810

Four X12 sets get mixed up constantly because all four involve invoices or money. They are not interchangeable, and knowing which one you have decides what you can do with it.

SetNameWho sends itWhat it tells you
820Payment Order/Remittance AdviceA payer, or a payer's bankA payment and the invoices it covers, across any industry.
823LockboxThe bank running your lockboxWhat the lockbox received and deposited on your behalf, payment by payment.
835Health Care Claim Payment/AdviceA health planPayment to a provider with claim level adjudication and denial detail.
810InvoiceA sellerWhat is owed. No payment exists yet, so there is nothing to apply.

The pairing people find most confusing is 820 and 835, and the short version is industry. The 820 is the general purpose remittance used in retail, manufacturing, distribution and logistics, and it is also what a plan sponsor uses to pay group health premiums. The 835 is healthcare only, sent by a health plan to a provider, and it carries adjudication detail an 820 has no concept of. If your file explains why a claim line was denied, it is an 835.

How does an EDI 820 relate to an ACH payment?

Often the 820 and the money are the same transmission. A NACHA CTX entry, the corporate trade exchange format, supports up to 9,999 addenda records of 80 characters each, and X12 remittance data is exactly what that space was built to carry. So a supplier can receive one ACH credit with the full 820 riding inside it, which is why BPR05 carries a payment format code of CTX or CCP.

In practice you meet the remittance in one of three shapes. Your bank unwraps the CTX addenda and hands you a clean 820 file. Your bank hands you the raw ACH file and you extract the addenda yourself, which the NACHA file to Excel converter and the walkthrough on how to open a NACHA ACH file in Excel both cover. Or the customer emails a remittance PDF and there is no EDI at all, in which case the bank statement converter turns that document into the same structured rows.

What is an EDI 823 lockbox file?

An 823 is what your bank sends back when it operates a lockbox for you. Customers mail checks to a PO box the bank controls, the bank opens, scans and deposits them, and then transmits the detail so you can apply the cash. One 823 can cover a single payment or an entire day of deposits, and banks typically send it on a schedule at end of day.

It matters because lockbox banks do not all speak the same dialect. Some send 823, some send BAI or BAI2, and some send a proprietary layout. If yours sends balance reporting rather than remittance, the BAI to Excel converter reads those files, and the bank file format converter compares the formats side by side so you can tell what you are holding. For check issuance going the other direction, the positive pay file format reference covers the file you upload for fraud matching.

How do I convert an EDI 820 to Excel?

Use a parser that understands X12 loops, then export one row per RMR item. Doing it by hand means reading the ISA envelope to find the delimiters, splitting on the segment terminator, and rebuilding the loop hierarchy so payment level facts attach to each invoice line. The converter at the top of this page does that in your browser and gives you a CSV. The alternative is a full EDI translator, which is the right answer if you are receiving 820s continuously and mapping them into an ERP, and overkill if you just need to read the file in front of you.

Once the rows are in a sheet the work is ordinary. Sum the amount paid per payment and check it against BPR02, sort by adjustment reason to find your recurring deductions, and pivot by customer to see who is short paying. Teams that push the result into accounting can map it through the NetSuite bank statement converter or the SAP bank statement converter, and the tie out itself is covered in bank statement reconciliation. If chasing the invoices behind these payments is the real problem, accounts receivable automation handles the follow up, and the outbound side of the same workflow is what accounts payable automation exists for.

Why People Pick BankXLSX for EDI Remittance Files

0
bytes uploaded, it runs in your browser
Any
X12 delimiter set read from the envelope
Under 1 min
to convert a typical remittance file

Security & Privacy

  • The file is parsed locally and never transmitted
  • No account and no sign up to convert
  • No reselling or sharing of your financial data
  • Nothing to install, it runs in the browser tab

EDI 820 to Excel: Common Questions

EDI 820 is the ANSI ASC X12 transaction set named Payment Order/Remittance Advice. It either instructs a bank to pay a payee, tells a payee which invoices a payment covers, or does both in one file. The payment sits in a BPR segment and the invoice detail sits in repeating RMR segments underneath it.

It is used to pay suppliers and explain the payment at the same time. A buyer sends an 820 to its bank as a payment order, or straight to the supplier as a remittance advice listing each invoice paid, any discount taken, and any deduction. Plan sponsors also use the 820 to pay group health insurance premiums.

The 820 comes from the party making the payment and describes a payment it is sending. The 823 comes from your bank's lockbox service and describes payments the bank received and deposited for you. Both carry remittance detail in RMR segments, so both convert to the same kind of invoice level spreadsheet.

Industry and detail. The 820 is a general purpose remittance used across retail, manufacturing, distribution and logistics. The 835 is healthcare only, sent by a health plan to a provider, and carries claim level adjudication and denial reasons that the 820 has no equivalent for.

BPR is the Beginning Segment for Payment Order/Remittance Advice, and it holds the payment itself. BPR02 is the total amount, BPR03 flags credit or debit, BPR04 gives the method such as ACH, CHK or FWT, and BPR16 is the effective date. The routing and account numbers for both sides sit in between.

ADX is the adjustment segment. It explains money the payer deducted rather than paid: ADX01 is the adjustment amount and ADX02 is a coded reason such as a shortage, a pricing dispute, or damaged goods. When a paid amount is less than the invoice amount and no discount explains it, the ADX segment is where the answer is.

CTX is a payment format code that appears in BPR05. It means the remittance travels inside the ACH payment itself, as addenda records on a NACHA corporate trade exchange entry. A CTX entry supports up to 9,999 addenda records of 80 characters each, which is enough room to carry a full X12 820.

It is plain text, so any text editor opens it, but the whole file is usually one line because segments end with a tilde rather than a line break. To read it as data, run it through an X12 parser that rebuilds the loops. The converter on this page does that in your browser and returns one row per invoice.

Related Resources

Other Bank Statement Converters

ICICI Bank JPMorgan Chase Bank of America Citibank Wells Fargo Goldman Sachs Morgan Stanley U.S. Bank PNC Bank Truist Capital One TD Bank Charles Schwab Fidelity Vanguard E*TRADE TD Ameritrade Bank of New York Mellon State Street BMO USA Ally Financial Regions Fifth Third Bank Huntington KeyBank Citizens Financial Group First Citizens Synchrony Financial M&T Bank First Horizon Cathay Bank USAA Navy Federal Comerica Zions Bank East West Bank First National of Nebraska Frost Bank BOK Financial Fulton Financial Associated Banc-Corp Valley National Wintrust Financial First Midwest Bancorp Commerce Bancshares UMB Financial Pinnacle Bank Webster Bank Cadence Bank Old National First Interstate BancSystem Umpqua Bank First Hawaiian Bank Prosperity Bank SouthState First Merchants First Bank Holding Glacier Bank First Financial Bancorp Independent Bank Columbia Banking System Western Alliance Pacific Premier Bancorp Bank OZK United Community Banks Customers Bank Texas Capital SVB Financial Group Signature Bank First Republic Bank New York Community Bancorp Sterling Bancorp First Bank Bank United First Commonwealth Financial Flagstar Bank Synovus Bank Santander Bank Commonwealth Bank (CommBank) ANZ Bank Westpac NAB ServisFirst Bancshares Renasant Corporation Simmons First National Trustmark Corporation First Busey Community Bank System First Mid Bancshares Ameris Bancorp Hancock Whitney First BanCorp Third Coast Bancshares Home Bancshares Byline Bancorp Simmons Bank United Bankshares Peoples United Financial American Express HSBC Bank USA