What Is an Entity Code in Medical Billing? Meaning, Claim Fixes
Every claim you send to an insurance company lists a handful of people and organizations: the patient, the policyholder, the clinician who treated them, the practice that bills, and the payer that reimburses. An entity code in medical billing is the short identifier that tells the payer which role each party plays, so every name, ID number, and address lands in the right field. Tag one party wrongly and the claim can bounce before anyone looks at the diagnosis or procedure.
Entity Code Meaning in Plain English
An entity code is a standardized role label used in electronic claims. Inside the ASC X12 837 file, it sits in the NM1 segment as the Entity Identifier Code. Picture a shipping label: the parcel can be packed perfectly, but if the label puts the sender where the recipient belongs, it goes nowhere.
These codes are not clinical. CPT and HCPCS describe what was done, ICD-10 describes why, and the entity code describes who. A claim can clear every clinical edit and still be rejected because one party was given the wrong role, which leads to billing errors, claim denials, and delayed payments.
Who Counts as an Entity on a Medical Claim?
An entity is any person or organization with a part in the revenue cycle: the patient, the subscriber, the billing provider, the rendering clinician, a referring doctor, the facility where care took place, the clearinghouse, and the payer. Each is normally identified by a number, such as an NPI for providers, a TIN for the organization’s tax identity, or a member ID for the insured. The entity code names the role, and the entity ID number proves who is filling it.
Common Entity Codes on Professional Claims
These are the codes you will meet most often on a CMS-1500 or 837P claim:
| Code | Role on the claim | Where it appears |
|---|---|---|
| 85 | Billing provider | Loop 2010AA, Box 33 |
| 87 | Pay-to provider | Loop 2010AB |
| 82 | Rendering provider | Loop 2310B, Box 24J |
| DN | Referring provider | Loop 2310A, Box 17 |
| 77 | Service facility | Loop 2310C, Box 32 |
| IL | Insured or subscriber | Loop 2010BA |
| QC | Patient, when not the subscriber | Loop 2010CA |
| PR | Payer | Loop 2010BB |
Entity Code vs. NPI vs. TIN
Here is the short version. The entity code is the role. The NPI is a 10-digit number that identifies a healthcare provider, Type 1 for an individual and Type 2 for an organization. The TIN is the tax ID tied to the billing business.
In a group practice, the group’s Type 2 NPI normally goes with code 85, while the clinician’s Type 1 NPI goes with code 82. Swapping them, or assuming the group number covers both roles, is one of the most common entity errors in group settings.
Why Entity Codes Matter for Clean Claims and HIPAA
Most entity problems appear as front-end rejections, not denials. A rejected claim never reaches adjudication, so there is nothing to appeal, yet the timely filing clock keeps running while it sits in your work queue. For any medical billing company or in-house team, that quietly slows revenue cycle management.
There is a compliance side too. Under HIPAA’s Administrative Simplification rules, HHS adopted the X12 837 (currently version 5010) as the standard for electronic claims. That is why 85 means billing provider at every payer. Protecting the patient data inside those claims is a separate duty, covered by a HIPAA security risk analysis.
Where Entity Codes Go Wrong in Real Practices
Group practice mix-ups. A biller enters the physician’s name as the billing provider because it is the name on the door. The payer expects the organization, and that record must match what was filed during enrollment, which is where medical credentialing services keep things in sync.
Care delivered elsewhere. When a visit happens at a nursing facility, hospital outpatient department, or satellite office, code 77 should carry that location’s name, address, and NPI.
A child on a parent’s plan. The parent is the subscriber (IL) and the child is the patient (QC).
Old Medicare identifiers. Medicare Beneficiary Identifiers replaced HICNs, and since January 1, 2020, claims carrying a legacy HICN get rejected.
Do State Payers Change Entity Code Rules?
The codes are national, but each state Medicaid program and its managed care plans set their own enrollment and claim edits. A practice billing Texas Medicaid next to commercial plans needs one provider record that matches everywhere, and a partner offering medical billing services in Texas can audit that setup.
California works the same way. Billing Medi-Cal alongside commercial plans adds payers and group arrangements, so roles get mixed up easily. Teams that provide medical billing services in California review these setups with that risk in mind.
How to Fix an Entity Code Rejection
Start with the rejection message, then work through these steps:
- Identify which entity the message points to and find its loop or box on the claim.
- Compare the name, ID, and address with what the payer holds on file for you.
- Check that the subscriber and the patient have not been swapped.
- Confirm the service facility address, including the full nine-digit ZIP code.
- Correct the claim and resubmit. If the message stays vague, call the payer and ask which entity failed.
Simple Habits That Prevent Entity Errors
Most entity codes are filled in automatically by your practice management system, so trouble lives in the edge cases. Audit your billing provider, pay-to, and facility setup once a year, keep payer enrollment details current, and teach the front desk the difference between subscriber and patient.
Entity Code FAQs
What is the difference between an entity code and an NPI?
An entity code names the role a party plays on the claim, such as billing provider or patient. An NPI is the 10-digit number that identifies a specific provider. A clean claim needs both.
Why was my claim rejected when the entity code was correct?
The data attached to the code is usually the problem: a name, NPI, or address that does not match the payer’s enrollment file. Outdated records are a frequent cause.
Are entity codes part of HIPAA?
Yes, they belong to the electronic transaction standards HIPAA adopted for claims.
What does entity code 85 mean?
Code 85 marks the billing provider, normally the organization submitting the claim. It appears in loop 2010AA and Box 33 of the CMS-1500.
Can a wrong entity code cause a denial?
It usually causes a front-end rejection first. If a mismatched entity slips through, the payer may deny the claim later.



Comments are closed