An 837 is the HIPAA X12 claim a provider sends to a payer. An 835 is the electronic remittance advice the payer sends back explaining what it paid, adjusted, or denied. Both use X12 version 005010 under 45 CFR Part 162. You match them on CLM01 and CLP01, then balance adjustments and tie each payment to its deposit.

The files are rarely one to one. A clearinghouse usually sits between provider and payer, several acknowledgments can come back before adjudication, and one 835 can cover claims from many 837 batches while the money moves separately by ACH or check.

What are 837 and 835 EDI files?

The 837 is the Health Care Claim transaction and comes in three forms: professional (837P), institutional (837I), and dental (837D). The 835 is the Health Care Claim Payment/Advice, usually called the ERA. HHS adopted both as HIPAA standards, so a health plan that conducts these transactions electronically has to use these formats.

Each file is a text stream of segments. The ISA/IEA envelope carries sender and receiver IDs and declares the delimiters. Inside it, GS/GE functional groups bundle transactions of one type, and ST/SE wraps each transaction set. GS08 carries the implementation guide version, which is how a receiver tells an 837P from an 837I. In an 837P the claim lives in loop 2300 (the CLM segment) and each service line in loop 2400 (LX and SV1), under the billing provider and subscriber levels in loops 2000A and 2000B, as laid out in the CMS 837P companion guide.

An 835 is organized around the payment. BPR holds the total amount and the payment method (ACH, CHK for check, or NON when nothing is paid), TRN holds the reassociation trace number, and each adjudicated claim appears in loop 2100 (CLP) with its service lines in loop 2110 (SVC). Denied claims still appear, with a paid amount of zero. Provider-level adjustments, such as interest or an overpayment recovery, go in PLB segments at the end. The 835 goes to the provider and is not the explanation of benefits a patient receives.

Which HIPAA X12 transactions and implementation guide IDs apply?

Every X12 claim, remittance, eligibility, status, and authorization transaction in use today is version 005010, with a compliance date of January 1, 2012 on the CMS adopted standards page. The guide IDs are named in 45 CFR Part 162. The regulation cites the original guides plus the first errata, but trading partners expect a later errata ID in GS08, so the two columns below differ.

TransactionWhat it doesID named in 45 CFR 162GS08 value Medicare expects
837PProfessional claim005010X222005010X222A1
837IInstitutional claim005010X223 with errata 005010X223A1005010X223A2
837DDental claim005010X224 with errata 005010X224A1005010X224A2
835Claim payment/advice (ERA)005010X221005010X221A1
270/271Eligibility inquiry and response005010X279005010X279A1
276/277Claim status inquiry and response005010X212 with errata 005010X212E1005010X212
278Prior authorization request and response005010X217 with errata 005010X217E1See the payer's companion guide
999Implementation acknowledgmentNot a HIPAA standard005010X231A1
277CAClaim acknowledgmentNot a HIPAA standard005010X214

The GS08 values come from the CGS Medicare fee-for-service companion document and its 837D companion guide. Commercial payers publish their own guides, so check each before hard-coding GS08. Retail pharmacy drug claims do not use the 837; they run on NCPDP Telecommunication Standard D.0, with a 45 CFR 162.1102 transition to version F6 in which both are allowed from August 14, 2027 through April 14, 2028. The new claims attachments transactions, covered below, are version 006020.

How does a claim move from 837 to 835 through a clearinghouse?

Most providers send 837s to a clearinghouse, which 45 CFR 160.103 defines as an entity that converts nonstandard data into standard transactions or the reverse. Before any of this works, the provider completes EDI enrollment with the clearinghouse and with each payer, and enrolls separately for EFT and ERA. A typical path then looks like this:

  1. The billing system builds an 837 batch and sends it to the clearinghouse, which edits it and splits it by payer.
  2. A TA1 reports on the ISA/IEA envelope: A (accepted), E (accepted with errors, do not resend), or R (rejected, fix and resend the interchange).
  3. A 999 reports X12 syntax and implementation guide errors. IK5 gives the status of each transaction set and AK9 the status of the functional group, which can be A, E, R, or P when part of the group was accepted.
  4. Front-end business edits run claim by claim, and a 277CA accepts or rejects each claim. For accepted claims it carries the payer's claim number.
  5. The payer adjudicates; the provider can query progress with a 276 and get a 277 status response.
  6. The payer sends the 835 and pays by ACH, using a NACHA CCD+ entry that carries the same TRN in its addenda, or by check.
  7. The provider's system reassociates payment and remittance, posts payments and adjustments, and routes remaining balances to a secondary payer or the patient.

A rejection at steps 2 through 4 means the claim never entered adjudication, so you correct and resubmit it. A denial on the 835 means the payer adjudicated and declined to pay, which calls for a corrected claim or an appeal depending on the reason code. CMS described the TA1, 999, and 277CA split when it moved Medicare to 5010: TA1 and 999 errors are technical problems for whoever builds the file, while 277CA rejections are data problems for billing staff (CMS acknowledgment presentation; status codes per the BCBS Michigan acknowledgment guide). Because the 277CA "is not HIPAA mandated, the use of claim acknowledgments varies in practice," according to the CAQH CORE 277CA rule. Build for payers that send only a 999 or a proprietary report before the 835.

How do you reconcile an 835 to the 837 that produced it?

Match at three levels. The claim key is the patient control number you sent in CLM01, which the payer returns in CLP01. The line key is the line item control number in 2400 REF*6R, returned in 2110 REF*6R. The payment key is the 835 TRN02, which has to match the reassociation trace number the payer placed in the CCD+ addenda record. That is not the bank's own ACH trace number.

837 element835 elementWhat to check
2300 CLM01 patient control number2100 CLP01 claim submitter's identifierPrimary match key. Medicare stores and returns only 20 characters, so keep CLM01 at 20 or fewer.
2300 CLM02 total charge2100 CLP03 total claim chargeCLP03 is your submitted charge. Investigate any difference; payer claim splits are one cause.
2400 REF*6R line item control number2110 REF*6RLine match key. Without it you match on procedure code and date, which breaks on duplicate lines.
2400 SV102 line charge2110 SVC02 charge, SVC03 paidSVC02 minus all CAS amounts in the 2110 loop equals SVC03.
2300 CLM05-3 frequency code2100 CLP02 status, CLP09 frequencyCLP02 of 22 reverses a previous payment. Post it against the original claim.
2300 REF*F8 on a replacement (7) or void (8)2100 CLP07 payer claim control numberStore CLP07. You need it for corrected and voided claims.
2320 and 2430 CAS on a secondary claim only2100 and 2110 CAS group and reason codesPrimary payer CAS data feeds the secondary 837. CLP03 minus all claim and line CAS amounts equals CLP04.
No 837 equivalentPLB provider adjustmentsBPR02 equals the sum of CLP04 minus every PLB amount (PLB04, 06, 08, 10, 12, 14).
No 837 equivalentBPR02 amount, BPR04 method, TRN02For ACH, match amount and trace to the deposit. CHK and NON remittances follow other paths.

Sources: element definitions, the REF*6R echo, and remark code locations come from the Arizona AHCCCS 835 companion guide; REF*F8 and REF*6R on the claim side from the San Francisco Health Plan 837P guide; the three balancing rules from the CareCentrix 835 companion guide. Patient responsibility in CLP05 is already counted in the PR adjustments, so do not subtract it again. When you bill a secondary payer, the primary 835 supplies the 2320 CAS adjustments and the payer paid amount (2320 AMT with qualifier D) on the next 837, as the CMS 837P guide shows. For 837I claims, the 835 can return the NUBC revenue code in SVC04, and inpatient claim remarks arrive in MIA.

Illustrative 837P claim and matching 835 (fake data)

The fragments below are illustrative. All names, identifiers, and amounts are fabricated. They use * as the element separator, : as the component separator, and ~ as the segment terminator; real files declare delimiters in the ISA. The 837P fragment shows only the claim and line loops for a lab claim with two tests:

CLM*LAB000123*250***81:B:1*Y*A*Y*Y~
REF*X4*99D9999999~
HI*ABK:Z0000~
LX*1~
SV1*HC:80053*150*UN*1***1~
DTP*472*D8*20260925~
REF*6R*LAB000123-1~
LX*2~
SV1*HC:85025*100*UN*1***1~
DTP*472*D8*20260925~
REF*6R*LAB000123-2~

Here is a complete 835 transaction set (ST through SE, envelopes omitted) paying that claim:

ST*835*0001~
BPR*I*142*C*ACH*CCP*01*999999992*DA*123456789*1512345678**01*999988880*DA*987654321*20261015~
TRN*1*EFT0000012345*1512345678~
DTM*405*20261013~
N1*PR*TEST HEALTH PLAN~
N3*100 MAIN ST~
N4*ANYTOWN*TX*75001~
PER*BL*EDI SUPPORT*TE*5555550100~
N1*PE*TEST LAB LLC*XX*1234567893~
LX*1~
CLP*LAB000123*1*250*140*30*12*PAYERCLM0001*81*1~
NM1*QC*1*PATIENT*TEST****MI*TEST123456~
SVC*HC:80053*150*90**1~
DTM*472*20260925~
CAS*CO*45*40~
CAS*PR*1*20~
REF*6R*LAB000123-1~
AMT*B6*110~
SVC*HC:85025*100*50**1~
DTM*472*20260925~
CAS*CO*45*40~
CAS*PR*1*10~
REF*6R*LAB000123-2~
AMT*B6*60~
PLB*1234567893*20261231*L6*-2~
SE*26*0001~

Line one: 150 charged, minus a CO-45 contractual reduction of 40 and a PR-1 deductible of 20, leaves 90 paid, and AMT*B6 reports the 110 allowed. Line two: 100 minus 40 and 10 leaves 50. The claim totals 250 charged and 140 paid in CLP04, and CLP05 shows the 30 of PR adjustments. The PLB adds 2.00 of interest under reason code L6; a negative PLB amount increases the payment. BPR02 is therefore 140 minus negative 2, or 142, and 142 with trace EFT0000012345 is what you look for in the deposit's addenda.

What do CAS group codes, reason codes, and PLB codes tell you?

The CAS group code says who carries the adjustment, and the Claim Adjustment Reason Code (CARC) says why. X12 maintains both lists at x12.org, and there are four active group codes:

Group codeMeaningWhat it implies for posting
COContractual ObligationProvider's responsibility; do not bill the patient. Contractual reductions are written off, but a CO denial may need a corrected claim or appeal.
PRPatient ResponsibilityBill a secondary payer first if one exists, then the patient, net of payments already collected.
OAOther AdjustmentReview; often prior payer or reversal amounts.
PIPayor Initiated ReductionReview; the CMS 835 companion guide says Medicare contractors do not use it.

Common CARCs include 1 (deductible), 2 (coinsurance), 3 (co-payment), 45 (charge exceeds fee schedule or contracted arrangement), 97 (benefit included in payment for another service already adjudicated), 16 (claim lacks information or has billing errors, which requires a remark code), and 253 (sequestration). Remittance Advice Remark Codes (RARCs) appear in the 2110 LQ segment at the line level and in MIA (inpatient) or MOA (outpatient) at the claim level, so read all three. CAQH CORE rule 360, adopted at 45 CFR 162.1603, sets the CARC, RARC, and group code combinations payers must use for common business scenarios.

PLB reason codes cover money moving outside any single claim: L6 (interest), WO (overpayment recovery), FB (forward balance), 72 (authorized return, such as a refund you sent), CS (adjustment), and 90 (early payment allowance). One PLB segment can carry up to six reason and amount pairs. When a payer corrects a paid claim, it often reverses the original with CLP02 = 22 and negative amounts, re-adjudicates it, and nets any recovery in a PLB; Blue Cross and Blue Shield of Illinois puts the original CLP01 and CLP07 in PLB03-2 so you can find the affected claim. Entries can offset each other, but a posting engine that skips PLB will drift from the bank whenever they do not.

What do CAQH CORE operating rules require for eligibility and ERA?

HHS adopted CAQH CORE Phase I and II operating rules for 270/271 eligibility effective January 1, 2013 (45 CFR 162.1203). In real-time mode the 271 must come back within 20 seconds, counting every clearinghouse hop, for 90 percent of responses in a calendar month. The federal adoption excludes the rules' acknowledgment and CORE certification requirements.

The response-time requirements now sit in the CAQH CORE Eligibility and Benefits Infrastructure Rule, which merged six Phase I rules in 2020 and was revised in 2022, mainly for system availability. Batch inquiries submitted by 9:00 pm Eastern on a business day must be answered by 7:00 am Eastern the next business day. CORE also says a real-time 999 goes back only to reject a request and a batch 999 within one hour, but those acknowledgment rules bind CORE-certified entities, not every covered entity.

If you need coverage answers in front of staff without building the 270/271 plumbing yourself, Orisan Check provides real-time insurance eligibility and benefits verification as an application and an API.

The EFT and ERA rules adopted at 45 CFR 162.1603 are Phase III CORE 350, 360, 370, 380, and 382. Rule 370 covers reassociation: the TRN goes in the CCD+ addenda, and the payer must release the 835 no sooner than three business days before and no later than three business days after the EFT effective entry date. The CMS reassociation explainer notes that HIPAA does not require the provider's bank to pass the addenda along, so the provider has to ask for it. When deposits arrive without a trace number, check that arrangement before you blame the payer.

Is X12 5010 being replaced?

Not yet. Version 005010 remains mandatory for claims, remittance, and the other existing X12 transactions, and no proposed rule to change it had been published as of October 2026. An upgrade to version 008060 is under formal review.

  • On June 14, 2023, NCVHS recommended that HHS not adopt X12's proposed 008020 versions of the 837P, 837I, 837D, and 835 "at this time," citing compatibility with transactions left on 5010, thin cost and value data, and no accommodation for ICD-11 or the proposed NDC format change (NCVHS letter). X12 disagreed publicly.
  • On June 4, 2025, X12 withdrew a second set of recommendations and said it would propose 008060 for every mandated transaction (X12 announcement), and in December 2025 it made that recommendation to NCVHS.
  • CMS asked WEDI to gather industry input. WEDI held a hearing on April 22, 2026 and published its consultation report in May 2026, with views ranging from adopting the full suite to starting with 270/271 and 276/277. CMS held its own listening session on July 1, 2026.

If you are writing an X12 parser now, select loop and element maps by the GS08 version rather than hard-coding 5010 assumptions in business logic. That keeps a future upgrade contained in one layer.

What changes with the claims attachments final rule (CMS-0053-F)?

CMS-0053-F creates the first HIPAA standard for electronic claims attachments. Payers request documentation with an X12N 277 Health Care Claim Request for Additional Information (006020X313), and providers respond with an X12N 275 (006020X314) carrying HL7 clinical documents. Compliance is required by May 26, 2028. If you are sorting out where C-CDA, HL7 v2, and FHIR each fit, see HL7 vs FHIR.

Per the CMS fact sheet, the content standards are HL7 C-CDA Volumes One and Two and the March 2022 HL7 Attachments implementation guide, and the rule adds electronic signature requirements. It was published March 24, 2026 (91 FR 14350) and took effect May 26, 2026. Prior authorization attachments were left out of the final rule. Two things follow for engineers. Your translator will handle 006020 attachments alongside 005010 claims in the same workflow. And this 277 is a third implementation guide, distinct from the 277CA and the 277 claim status response, so routing that treats every 277 alike will misfile it.

How do labs use the 837 and 835?

Independent labs bill on the 837P with the CLIA certificate number on the claim. Per the Medicare Claims Processing Manual, Chapter 16, the billing lab's CLIA number goes in loop 2300 REF02 with REF01 = X4. When a test is referred out, the line carries modifier 90 and the performing lab's CLIA number goes in loop 2400 REF with qualifier F4. The institutional claim does not require it.

Labs send high volumes of low-dollar, often single-line claims, while orders and results flow from the LIS over HL7 v2. Deriving CLM01 from the accession or requisition number lets each 835 point straight back to the order. Our HL7 lab interface guide covers the order and result side, and the HL7 interface audit checklist applies the same discipline to clinical feeds. Suppliers trading other X12 documents will recognize the envelope and acknowledgment patterns from our EDI 856 ASN guide for medical suppliers.

What to check first

Pull a month of 835s and the 837s behind them and measure three things: the share of CLP01 values that match a CLM01 exactly, the share of ACH-paid 835s whose BPR02 and TRN02 match a deposit's addenda, and the number of PLB segments your posting system skipped. Then confirm each payer's expected GS08 value and check that you store CLP07 for corrected claims.

If those checks point to your translator, clearinghouse setup, or posting rules, that is the kind of pipeline our HL7, FHIR, and EDI integration work builds and audits.