Home / Resources / Entity Codes in Medical Billing and Claim Rejections

Guide

Entity Codes in Medical Billing and Claim Rejections

The labels that tell the payer who is who on a claim, and how to fix rejections that mention them.

Updated October 2026

An entity code (entity identifier code) is a short code in an electronic claim that says what role a person or organization plays, such as billing provider, rendering provider, patient or payer. Rejections that say an entity is missing, not found or not eligible usually mean that a name, ID or role on the claim does not match the payer's records.

What entity codes are

An electronic claim (the 837 file) lists the people and organizations involved, and each one is labeled with an entity identifier code that gives their role. The payer's system reads these labels to decide who is the patient, who is the provider and where the service happened.

Common entity codes on a professional claim

CodeRole
85Billing provider
87Pay-to provider
82Rendering provider
77Service facility location
DNReferring provider
DKOrdering provider
ILInsured or subscriber
QCPatient
PRPayer

These are shown for orientation. The full list belongs to the standards organization that maintains the electronic claim format, and payers set their own requirements for which roles must appear.

What an entity rejection means

Clearinghouse and payer acknowledgements can report errors such as "entity not found," "entity not eligible," or "entity's name, ID or address is missing or invalid." They almost always point to a data problem on one of the people or organizations on the claim. Because they come back before the claim is processed, they are rejections, not denials, and the claim must be corrected and resubmitted.

How to find and fix the problem

  1. Read which entity the message names: patient, subscriber, billing provider, rendering provider, referring provider or payer.
  2. Compare with the records. For a patient or subscriber, compare the name, date of birth and ID with the insurance card and an eligibility check. For a provider, compare the NPI, name, address and tax ID with the payer enrollment. See NPI vs tax ID vs taxonomy.
  3. Check the role. The wrong provider may be listed as rendering or billing, or the referring provider may be missing when required.
  4. Check enrollment. The provider may not be enrolled or linked to the group with that payer.
  5. Correct and resubmit. Fix the source data in your system, not just the claim, so it does not repeat.

Common causes

  • Typos or mismatches in the patient or subscriber name, date of birth or ID
  • A dependent entered as the subscriber, or the reverse
  • NPI, tax ID or address that does not match enrollment
  • A provider who is not enrolled with the payer or not linked to the group
  • A required referring or ordering provider that is missing
  • The wrong payer or payer ID

See what is a clearinghouse and the clean claim checklist. If rejections are piling up, see our medical billing service or request a free billing audit. This guide is general information. Check the current claim format guide and each payer's requirements.

Frequently asked questions

What is an entity code in medical billing?

A short code in an electronic claim that labels the role of a person or organization, such as billing provider, patient or payer.

What does 'entity not found' mean?

That a person or organization on the claim could not be matched to the payer's records. Compare the names, IDs and enrollment details and resubmit.

Is an entity rejection a denial?

No. It is a rejection that occurs before the claim is processed, so you correct the data and resubmit.

Ready to see what your billing could look like?

Tell us about your practice and we will review how your billing runs today and where it can improve. No patient information needed.