What Is an 835 File? The ERA in Medical Billing, With an Example
CTO & Co-Founder
CTO & Co-Founder at Nirmitee.io. Leads US healthcare integration work across EHRs, payers and clearinghouses: X12 claims, eligibility, ERA posting, prior auth and FHIR, plus ABDM and NHCX in India. Writes from builds the team has taken live.

Updated November 2026
In healthcare, an 835 file is the electronic file a health plan sends a provider after it processes claims, saying what was paid, what was adjusted or denied, and why. It is also called the ERA (electronic remittance advice), it is the HIPAA standard X12 transaction 005010X221A1, and it is what billing software reads to post payments automatically.
To see how one large payer handles ERA and EFT enrollment, read our Aetna API and EDI integration guide.
The 835 answers the 837 claim; for the full side-by-side comparison of the two files, see our 835 vs 837 guide. If you need 835s received, parsed and posted inside your own product, our clearinghouse integration services team builds that layer (tell us about your setup), and our revenue cycle management guide shows where it fits.
Watch: How to Read an 835 ERA: Billed vs Paid vs Adjusted, Explained for Engineers (9:29).
What an 835 File Contains
Every 835 has a payment section, a payer and payee section, and one block per claim with its service lines and adjustments. X12 defines it as the transaction a health plan uses to make a payment, send a remittance advice, or both.
| Segment | Plain-English meaning |
|---|---|
| BPR | The payment: total amount, method (ACH, check or none) and date |
| TRN | The trace number that ties this file to the EFT deposit or check |
| N1*PR / N1*PE | Who paid (the payer) and who was paid (the payee) |
| CLP | One claim's outcome: your patient account number, status, billed, paid and patient share |
| SVC | One service line: procedure code, billed and paid |
| CAS | Why money was not paid: a group code and reason codes with amounts |
| PLB | Provider-level adjustments, such as recoupments or interest, not tied to one claim |
835 File Example, Decoded Line by Line
Here is a complete 835 file example for one therapy visit, built only from test values. It passes structural validation against the 005010X221A1 map in pyx12 (an open-source X12 validator), and we checked that every amount balances.
ISA*00* *00* *ZZ*SAMPLEPLAN01 *ZZ*SAMPLECLINIC01 *261123*0700*^*00501*000000777*0*T*:~
GS*HP*SAMPLEPLAN01*SAMPLECLINIC01*20261123*0700*777*X*005010X221A1~
ST*835*0001~
BPR*I*146.89*C*ACH*CCP*01*999999999*DA*000111222*1990000002**01*999999999*DA*000333444*20261124~
TRN*1*1512345678*1990000002~
DTM*405*20261123~
N1*PR*SAMPLE HEALTH PLAN~
N3*1 PLAN STREET~
N4*ANYTOWN*IL*60603~
PER*BL*EDI HELP DESK*TE*5555550199~
N1*PE*SAMPLE THERAPY CLINIC*XX*1234567893~
REF*TJ*990000002~
LX*1~
CLP*ACCT-2001*1*200*146.89*20*12*PCN20261117001*11*1~
NM1*QC*1*SAMPLE*JORDAN****MI*MBR000002~
SVC*HC:90837*200*146.89**1~
DTM*472*20261110~
CAS*CO*45*33.11~
CAS*PR*3*20~
AMT*B6*166.89~
SE*19*0001~
GE*1*777~
IEA*1*000000777~| Line | What it says |
|---|---|
| BPR*I*146.89*C*ACH...*20261124 | 146.89 paid by ACH, effective November 24, 2026 (BPR16) |
| TRN*1*1512345678*1990000002 | Trace number 1512345678. The same number rides with the bank deposit, which is how you match file to money |
| N1*PR / N1*PE | Sample Health Plan paid Sample Therapy Clinic (NPI 1234567893, a test value) |
| CLP*ACCT-2001*1*200*146.89*20 | Claim ACCT-2001, status 1 (processed as primary), billed 200, paid 146.89, patient owes 20 |
| SVC*HC:90837*200*146.89 | CPT 90837, billed 200, paid 146.89 |
| CAS*CO*45*33.11 | 33.11 contractual write-off (CO-45, charge exceeds the fee arrangement) |
| CAS*PR*3*20 | 20.00 copay the patient owes (PR-3) |
| AMT*B6*166.89 | The allowed amount: 200 billed minus the 33.11 write-off |
The math always reconciles: billed (200.00) = paid (146.89) + patient (20.00) + contractual adjustment (33.11). A real 835 from a payer usually carries many claims, several service lines per claim and sometimes PLB segments, but every one follows the same pattern.
About the test values: 1234567893 passes the NPI check-digit rule and returned no provider in the NPPES registry when we searched it on November 4, 2026, and 999999999 is a placeholder routing number. Never put a real provider's NPI or bank details in examples.
Where the 835 Fits in the Claim Cycle
The 835 is the last file in the claim round trip: it comes back only after the payer adjudicates the claim. A claim that is rejected before adjudication never gets an 835.
- 837 goes out: your claim, sent to the payer, usually through a clearinghouse.
- 999 and 277CA come back: the 999 says whether the file passed syntax checks, and the 277CA says whether each claim was accepted for processing.
- The payer adjudicates: it decides what it will pay.
- The 835 comes back: the payment explanation, alongside the money by EFT or check.
835 delivery meaning: 835 delivery is the payer sending the ERA file to you or your clearinghouse after you enroll to receive ERAs from that payer. Without ERA enrollment you get paper remittances or portal views instead, even if the payment itself arrives by EFT.
How the 835 Differs From the 837 and the EOB
The 837 asks for money, the 835 explains the money to the provider, and the EOB explains it to the patient. They describe one claim, for three different readers.
| 837 | 835 (ERA) | EOB | |
|---|---|---|---|
| What it is | The claim | The payment explanation | The patient's statement of the decision |
| Direction | Provider to payer | Payer to provider | Payer to patient |
| Format | X12 EDI file | X12 EDI file | Readable letter or PDF |
| Purpose | "Please pay for this care" | "Here is what we paid and why" | "Here is what your plan did" |
To see how each 835 matches back to its 837 (CLP01 returns your CLM01 patient control number), read our guide to 835 and 837 files. Developers who need the full X12 structure can continue with our X12 EDI guide for developers.
The Adjustment Codes: CO, PR, OA, PI
Every dollar the payer did not pay carries a group code (who absorbs it) and a reason code (why). X12's current group code list has exactly four codes.
- CO (Contractual Obligation): your write-off. Not billable to the patient.
- PR (Patient Responsibility): billable to the patient. PR-1 is deductible, PR-2 coinsurance, PR-3 copay.
- OA (Other Adjustment): neither of the above; review before writing off.
- PI (Payor Initiated Reduction): a reduction the payer decided on; review it for appeal.
835 denial codes: a fully denied claim shows CLP02 = 4, and the reason sits in CAS. Common examples from X12's claim adjustment reason code list: 16 (claim lacks information or has billing errors), 29 (time limit for filing has expired), 96 (non-covered charges) and 197 (precertification or authorization absent). Our denial codes guide explains the most common ones, and our denial root cause guide shows how to find patterns across many remits.
Why Your 835 Doesn't Match Your Bank Deposit
Usually because of provider-level adjustments, split payments, or a reassociation gap between the ERA and the EFT. Check these three in order.
- PLB segments: provider-level adjustments, such as recoupments of past overpayments or interest, change the payment total without belonging to any claim in this file.
- Split payments: one deposit can cover several 835 files, or one 835 can arrive before or after its money.
- Reassociation: for EFT, HIPAA requires the 835 TRN trace number to travel in the ACH CCD+ addenda record, and HIPAA adopted the CAQH CORE EFT and ERA reassociation rule (45 CFR 162.1602 and 162.1603). Match TRN02 and BPR02 to the deposit.
How to Open and Read an 835 File
Your practice management or billing system normally reads 835s for you and posts them automatically. To read one yourself, use a viewer.
- Your billing system: auto-posts ERAs; most staff never see the raw file. A file named something.835 is usually just this X12 text with a .835 file extension.
- Medicare Remit Easy Print (MREP): free CMS software that Medicare providers and suppliers use to view and print the HIPAA 835.
- Our EDI Inspector: paste an 835 claim file and see each segment and code explained, in your browser.
Receiving 835s: What You Need in Place
To receive 835s you need ERA enrollment with each payer, a connection that delivers the files, and software that posts and reconciles them. A health plan must conduct a standard transaction such as the 835 when an entity asks it to (45 CFR 162.925).
If you use Stedi, see how our Stedi EHR integration brings 835 handling into your EHR.
- Enroll for ERA with each payer, usually through your clearinghouse. HIPAA adopted CAQH CORE rules that standardize the ERA enrollment data.
- Connect through a clearinghouse or a direct payer connection that drops 835 files where your system can collect them.
- Post and reconcile with software that reads CAS group codes correctly, handles reversals and PLB, and matches each 835 to its deposit.
When teams ask which payment solutions are best for receiving 835s, our recommendation is to judge them on those three jobs: enrollment support across your payers, reliable file delivery, and posting that balances to the penny. Our payment posting software comparison covers the options.
The Business Case: Manual vs Electronic Remittance
Electronic remittance is cheaper and faster than manual handling. In the 2024 CAQH Index, which reports on 2023, 89% of medical industry remittances were fully electronic.
The same report puts the average medical remittance at $6.24 to handle manually against $3.03 electronically, a savings opportunity of $3.21 per remittance, and 9 minutes of provider staff time manually against 5 minutes electronically. Source: 2024 CAQH Index.
Watch: 835 vs EFT: Why an ERA Does Not Mean You Got Paid (8:13).
If your billing platform struggles to parse, post or reconcile 835s, or your remaining balance math never quite closes, our revenue cycle management software development team builds this exact layer for EHRs and billing platforms. Talk to our clearinghouse integration team.
Ready to scale?
Talk to our healthcare engineering team about building, integrating, and shipping faster.
Frequently Asked Questions
What is an 835 file?
Is an 835 the same as an ERA or an EOB?
Who sends the 835 file?
What does an 835 file example look like?
How do I open an 835 file?
Why doesn't my 835 total match my bank deposit?
Are payers required to send an 835?
What are 835 denial codes?


