Top

Type of bill code

Type of bill code is a 3-digit (or 4-character) institutional billing code that identifies the facility type, bill classification, and frequency of the claim. Type of bill code tells the payer what kind of bill is being submitted, such as inpatient admit-through-discharge, interim, replacement, or void.

Kathryn Thompson
Reviewed by Kathryn Thompson · Updated September 2026

What it means

What a type of bill code is

Type of bill code is a standardized institutional billing code defined by the National Uniform Billing Committee (NUBC) and used on the UB-04 and 837I. It tells the payer three key things in one compact code: what kind of facility is billing, what category of care or bill class it is, and whether the bill is original, interim, corrected, or voided.

On the paper UB-04, type of bill appears in Form Locator 4 as a 3-digit code. In the electronic 837I, it is reported in CLM05-1, usually as a 3-digit value without the leading zero that NUBC uses conceptually. Common examples include 111 (inpatient, admit through discharge), 131 (outpatient claim), 117 (replacement inpatient bill), and 118 (void inpatient bill).

Behavioral health facilities that bill institutionally use type of bill to signal whether a claim is for hospital-based psych, residential, partial hospitalization, intensive outpatient, or clinic-based services, and whether the claim is an initial, interim, or corrected submission.

Why type of bill matters operationally

Type of bill drives how the payer's system treats the claim: pricing logic, benefit application, authorization matching, length-of-stay rules, and whether the claim is allowed to pay at all. A wrong type of bill code can flip a clean claim into a rejection or denial, push payment out by weeks, or trigger recoupments when an interim or corrected bill is coded incorrectly.

Frequency within the type of bill matters just as much as facility type. If you send a replacement bill but keep the original frequency code, the payer may see it as a duplicate and deny, or may process it as a second stay. If you bill a long behavioral health stay as admit-through-discharge (frequency 1) for each month instead of using interim bills (frequency 2 or 3, depending on scenario), you can end up with overlapping stays, utilization-management alarms, and days tied up in manual review.

From an audit and compliance angle, type of bill has to align with the actual clinical course and what was authorized. If utilization review secured concurrent auth for an extended residential episode and your team voids and replaces claims with the wrong frequency code, you can accidentally create gaps in billing that look like unbilled or unauthorized days in a payer audit.

How type of bill is structured, read, and used

Conceptually, NUBC treats type of bill as a 4-character code where the first character is a leading zero. Operationally, most billers and payers work with the 3-digit version seen on the UB-04 and 837I. The three positions are:

  • First digit: Facility type (for example, hospital inpatient, hospital outpatient, skilled nursing, clinic, other facility types used for many behavioral health settings)
  • Second digit: Bill classification (for example, inpatient, outpatient, partial hospitalization, clinic, or other care categories)
  • Third digit: Frequency (for example, 1 admit through discharge, 2 interim first, 3 interim continuing, 4 interim last, 7 replacement, 8 void)

In practice, billing teams mostly interact with type of bill through billing software and claim edits. Typical workflows:

  • Building billing rules so specific programs (like PHP or IOP) always carry the correct TOB and revenue codes
  • Setting rules for frequency codes on long stays so each monthly or biweekly institutional claim uses the right interim or final code
  • Driving corrected and voided claim workflows using 7 and 8 frequencies, often in response to denials, late clinical changes, or payment posting corrections

On the payer side, many claim-edit rules look for mismatches between type of bill and other elements of the claim. Examples include TOB frequency that conflicts with admission or discharge dates, a residential or PHP TOB paired with clearly outpatient POS codes, or replacement claims where billed charges or units change without an appropriate frequency update.

Behavioral health specifics for type of bill

Behavioral health providers that bill per diem or as institutional claims depend heavily on type of bill to show the level of care and billing pattern. State Medicaid programs and MCOs often map specific behavioral health levels of care to particular facility-type digits and bill classes, such as residential treatment, withdrawal management, or partial hospitalization.

Carve-out behavioral health payers may require one type of bill when they are primary and a different type when the same stay is billed to a medical plan or Medicaid as secondary. For example, a residential SUD program may bill per diem to a carve-out vendor with a clinic or residential TOB, then send crossover or secondary claims to Medicaid using a different facility-type digit and potentially different bill class.

Concurrent authorization on long residential, PHP, and IOP episodes typically expects interim or periodic claims. If utilization management extends auth in monthly chunks but billing continues to send full admit-through-discharge type of bill codes for each month, the payer can flag overlapping stays or assume new admissions. That leads to utilization reviews, delays, and sometimes denial of days that were actually authorized.

State Medicaid and Medicaid managed care plans often publish facility-type and type-of-bill mapping for covered behavioral health services. For example, they may require specific TOB values for certified community behavioral health clinics, ASAM-aligned residential levels, or withdrawal management programs. Using a generic hospital outpatient TOB where the contract expects a clinic or residential TOB can drop you to a lower rate, move you into the wrong fee schedule, or generate non-covered-service denials.

For long per-diem residential episodes, type of bill frequency codes are a frequent source of underpayment. If your team fails to switch from interim continuing to interim last on discharge, you may leave the final days unbilled or stuck in suspense, which keeps days-in-AR high and hides revenue that never hits the ledger.

Common mistakes

  • Using admit-through-discharge type of bill codes for multi-month residential or PHP stays instead of interim frequencies, which creates overlapping stays and triggers medical-necessity or duplicate-claim reviews for mid-episode claims.
  • Sending a corrected claim with updated units or revenue codes but forgetting to change the frequency to a replacement bill (7), which leads the payer to deny the new claim as a duplicate rather than reprocessing it.
  • Voiding the wrong claim number with an 8 frequency on a long behavioral health stay, then failing to resubmit a clean replacement, which leaves an entire month or more of per-diem charges permanently unbilled.
  • Using a general hospital outpatient TOB for behavioral health IOP or PHP services that the contract expects under a specific clinic or partial hospitalization TOB, which can push the claim onto the wrong fee schedule and lower the allowed amount.
  • Submitting residential or withdrawal management services under a clinic or office TOB because the practice-management system is set up as a clinic, which causes state Medicaid or MCO payers to deny for invalid facility type or non-covered services.

Why it matters in behavioral health

Institutional billing is common for behavioral health programs that provide residential treatment, withdrawal management, PHP, and IOP. These programs often bill per diem or per program-day, so type of bill and its frequency digit control how the payer sees the episode structure and how concurrent authorization segments are matched to billed days.

In many carve-out behavioral health arrangements, the mental health or SUD vendor requires specific type-of-bill codes that do not match standard hospital mappings. For instance, the same physical facility might bill a commercial medical plan with a hospital or clinic TOB, while a behavioral health carve-out requires a different TOB that ties back to their own benefit design. Missing that nuance can flip clean clinical care into non-covered claims.

State Medicaid, Medicaid managed care, and some 1115 waiver programs also use type of bill to enforce ASAM-aligned level-of-care policy. If your ASAM criteria and treatment plan support a residential level but you bill with a clinic or outpatient TOB, the plan may recode the care to a lower level or simply deny days as not matching covered facility type. Long residential or boarding days between levels of care make this even more sensitive, because each interim claim has to align TOB, revenue codes, and auth segments.

Behavioral health organizations that run mixed programs, such as residential plus PHP step-down, must shift TOB and frequency cleanly when the patient moves levels of care. If the discharge from residential and admission to PHP are handled on the same day but with the wrong combination of TOB and frequency codes, you can end up with a step-down denial or a medical-necessity edit on the PHP claim even when documentation is strong.

How AI can help with Type of bill code

AI can help with type-of-bill accuracy by reading every UB-04 or 837I and comparing the TOB against admission and discharge dates, level of care, revenue codes, and known payer rules. An agent can flag mismatches like interim claims with discharge dates, replacement claims without 7 or 8 frequencies, or residential episodes billed with outpatient or clinic TOBs that conflict with a Medicaid program's policy.

Supabill's claims-scrubbing agent can hold payer and program-specific TOB rules in memory and apply them consistently across all claims, especially for long behavioral health episodes with multiple interim bills and authorizations. Supabill's denials agent can also read every 835, map denials back to TOB or frequency issues, and surface patterns by payer, program, or coder. Humans still need to make final decisions on edge cases, such as unusual state Medicaid guidance, program changes that have not yet been codified into billing rules, or when to use a replacement versus void plus resubmission strategy for a particular payer.

FAQ

Where do I find the type of bill code on a UB-04 claim?

Type of bill appears in Form Locator 4 on the UB-04. It is usually printed as a 3-digit code that combines the facility type, bill classification, and bill frequency for that claim.

Is type of bill used on professional (CMS-1500) claims?

No. Type of bill is an institutional billing element for UB-04 and 837I claims. Professional claims on the CMS-1500 and 837P do not use type of bill codes.

What is the difference between a replacement and a void type of bill?

A replacement bill uses a frequency code such as 7 to tell the payer to correct or replace a previously paid or processed claim. A void bill uses a frequency like 8 to cancel a prior claim entirely, often followed by a new original or interim claim, depending on the payer's rules.

Do all payers follow the same type of bill rules for behavioral health?

Most payers use the same NUBC-based type of bill structure, but behavioral health carve-outs and some state Medicaid programs apply their own mappings or restrictions. Always check payer or Medicaid program billing manuals for behavioral health TOB requirements.

How do I know which type of bill to use for residential treatment or PHP?

The correct type of bill for residential or PHP depends on how your facility is enrolled, your state's Medicaid policy, and payer contracts. Your payer manuals and Medicaid billing guides usually list allowed TOB codes by service type, and your contracting and enrollment records should match those expectations.

Sources

AI agents that run your billing.

The first agentic RCM that actually works.

Book a live demo