Skip to main content

Free billing screening

Get screening →
Resource

Type of Bill Codes on the UB-04: How to Read FL 4 and Pick the Frequency

By · Published

A type of bill (TOB) code is the four-digit code in Form Locator 4 of the UB-04. After a leading zero, the next digit names the facility, the one after it the classification and the last the frequency, so 0131 is an original hospital outpatient claim and 0137 corrects it. The values below are the ones CMS lists for Medicare claims, last checked on 26 November 2026.

Quick Answer

What is a type of bill code?

A type of bill code is the four-digit code in FL 4 of the UB-04 (CMS-1450). CMS ignores the leading zero and reads the rest as type of facility, classification and frequency (Chapter 25, §75.1). 0131 is a hospital outpatient admit-through-discharge claim, 0137 corrects it, and 0851 is a critical access hospital claim.

  • Facility digit: 1 hospital, 2 skilled nursing, 3 home health, 4 religious non-medical, 7 clinic, 8 special facility
  • Classification digit: 1 inpatient Part A, 2 hospital-based or inpatient Part B, 3 outpatient, 4 other Part B, 8 swing bed; clinics and special facilities have their own lists
  • Frequency digit: 1 admit through discharge, 5 late charge, 7 correction, 8 void/cancel
  • On Medicare an xx7 or xx8 needs the original claim's ICN/DCN and exactly one claim change reason code

How to Read a Type of Bill Code, Digit by Digit

CMS describes FL 4 as a "four-digit alphanumeric code [that] gives three specific pieces of information after a leading zero" and says it ignores the leading zero (Medicare Claims Processing Manual, Chapter 25, §75.1). The next character identifies the type of facility, the one after it "classifies the type of care", and the last "indicates the sequence of this bill in this particular episode of care", which CMS calls the frequency code.

Position on the formWhat CMS calls itWhat it tells the payer0137 reads as
1st characterIgnoredLeading zero0
2nd characterFirst digitType of facility1 = hospital
3rd characterSecond digitClassification (type of care)3 = outpatient
4th characterThird digitFrequency (this bill's place in the episode)7 = correction

Why one source says "second digit" and another says "first". The UB-04 counts the leading zero, so the facility is the form's second character. CMS drops the zero before it edits the claim, so its manuals call the facility the first digit, the classification the second and the frequency the third (Chapter 25 §75.1 states this for each position). When a Medicare manual writes xx7 or 13X, the x stands for any value in that position: xx7 is any correction, 13X is any hospital outpatient bill.

Read that way, 0131 is an original hospital outpatient claim billed admit through discharge, 0137 corrects it, and 0111 is a hospital inpatient Part A claim. The electronic 837I carries the same values; our CO-129 guide shows where the frequency and the payer's original claim number go on a replacement claim.

Last checked: 26 November 2026, against Chapters 1 (Rev. 13725, issued 10 April 2026), 4 (Rev. 13799, issued 28 May 2026) and 25 of the Medicare Claims Processing Manual.

Facility Type and Classification Digits

These are the values CMS lists as valid for Medicare claims in its consistency edits for institutional bills (Chapter 1, §80.3.2.2). CMS says a bill that fails these edits is returned to the provider for correction. The classification digit has three separate lists: the one you use depends on the facility digit in front of it.

Type of facility (the form's 2nd character)

CodeType of facility
1Hospital
2Skilled nursing
3Home health
4Religious non-medical (hospital)
7Clinic or renal dialysis facility (uses the clinic list below)
8Special facility or hospital ASC surgery (uses the special facility list below)

CMS adds that hospital-based multi-unit complexes may also use the other facility digits when they bill non-hospital services.

Classification for hospital, skilled nursing, home health and religious non-medical facilities (the form's 3rd character)

CodeClassificationCMS note
1Inpatient (Part A)—
2Hospital-based or inpatient (Part B)Includes HHA visits under a Part B plan of treatment
3OutpatientIncludes HHA visits and HHA DME under a Part A plan of treatment
4Other (Part B)Includes HHA medical and other health services not under a plan of treatment, and hospital and SNF diagnostic clinical laboratory services for "nonpatients"
8Swing bedSNF level of care in a hospital with an approved swing bed agreement

Classification when the facility digit is 7 (clinics)

CodeClinic type
1Rural health clinic (RHC)
2Hospital-based or independent renal dialysis facility
4Outpatient rehabilitation facility (ORF)
5Comprehensive outpatient rehabilitation facility (CORF)
6Community mental health center (CMHC)
7Free-standing provider-based federally qualified health center (FQHC)

Classification when the facility digit is 8 (special facilities)

CodeSpecial facility type
1Hospice (non-hospital-based)
2Hospice (hospital-based)
5Critical access hospital (CAH)

The middle digit of 0851 therefore names the critical access hospital; it does not mean "outpatient" the way the 3 in 0131 does. CMS's outpatient rules use 85X where other hospitals use 13X: Chapter 4 tells hospitals to report outpatient services in the payment window on "13X TOB (85X for a CAH)" (Chapter 4, §240.5).

083x. Chapter 4 §120, last revised in 2014, still lists 83X among the bill types hospitals use for covered outpatient services, but the current Chapter 1 edit list has no classification 3 under facility type 8. Confirm with your Medicare Administrative Contractor (MAC) before you bill 083x. How freestanding surgery centers bill Medicare is covered on our ASC billing page.

CMS names two sources for codes outside these lists: Medicare contractors, and the NUBC's Official UB-04 Data Specifications Manual (Chapter 25 §75.1). A value that exists in the NUBC manual is not automatically one your MAC accepts on a Medicare claim.

Frequency Digit Values

The last character says where this bill sits in the episode of care and, for corrections, who started the change. CMS's list (Chapter 1, §80.3.2.2) splits into three groups.

Bills a provider sends

CodeFrequencyCMS note
0Nonpayment/zero claim—
1Admit through discharge claimThe normal original bill
2Interim, first claim—
3Interim, continuing claimsNot valid for PPS bills, except SNF PPS bills
4Interim, last claimNot valid for PPS bills, except SNF PPS bills
5Late chargeLimited on Medicare (see the next section)
7CorrectionMedicare treats it as a debit-only adjustment
8Void/cancelMedicare treats it as a cancel-only adjustment
9Final claim for a home health PPS episode—

Notices a provider sends

CodeNotice
AAdmission/election notice
BTermination/revocation notice (hospice, Medicare coordinated care demonstration, religious non-medical health care institution)
CHospice change of provider
DVoid/cancel (hospice, Medicare coordinated care demonstration, religious non-medical health care institution)
EHospice change of ownership

Codes only a Medicare contractor assigns

F (beneficiary-initiated adjustment), G (CWF-initiated), H (CMS-initiated), I (A/B MAC adjustment other than QIO or provider), J (other initiated adjustment), K (OIG-initiated), M (MSP-initiated), P (QIO adjustment) and Q (claim submitted for reconsideration outside of timely limits) are each marked "For A/B MAC (A) use only." A provider submits its own adjustment requests as xx7 or xx8; when a provider sends an MSP adjustment, the MAC changes the bill type to xxM (Chapter 1, §130.1).

Free Billing Screening · No obligation

Getting UB-04 claims returned for the bill type?

Get a free billing screening — a preliminary review of a permitted 12-month practice-management export, with a short written memo within five business days. Chart-based audit work is scoped separately.

Prefer to talk? Book a 15-minute call

A free screening reviews a permitted 12-month practice-management export and provides a short written memo within five business days after receipt. It includes no chart review, coding opinion or extrapolated recovery figure. Chart-based audits are separately scoped and quoted.

Solo provider or group practice?

Practice details only · No obligation to continue · We reply within 1 business day

Common Type of Bill Codes Decoded

Each row below is read straight from the CMS digit lists above, with the leading zero shown as it appears in FL 4. The last column adds what a CMS manual says about that bill type where it says something specific; a dash means the manual adds nothing beyond the digits.

Type of billReads asWhat CMS adds
0110Hospital, inpatient Part A, nonpayment/zero claim—
0111Hospital, inpatient Part A, admit through discharge—
0112 / 0113 / 0114Hospital, inpatient Part A, interim first / continuing / lastInterim continuing and last are not valid for PPS bills, except SNF PPS bills (Ch. 1 §80.3.2.2)
0117Hospital, inpatient Part A, correctionDebit-only adjustment (Ch. 1 §130.1)
0118Hospital, inpatient Part A, void/cancelCancel-only adjustment (Ch. 1 §130.1)
0121Hospital, inpatient Part B, admit through discharge—
0131Hospital, outpatient, admit through dischargeCovered hospital outpatient services bill on 13X (Ch. 4 §120)
0137Hospital, outpatient, correctionDebit-only adjustment (Ch. 1 §130.1)
0138Hospital, outpatient, void/cancelCancel-only adjustment (Ch. 1 §130.1)
0141Hospital, other Part B, admit through dischargeIncludes diagnostic lab for nonpatients (Ch. 1 §80.3.2.2)
0181Hospital, swing bed, admit through discharge—
0211Skilled nursing, inpatient Part A, admit through discharge—
0221Skilled nursing, inpatient Part B, admit through discharge—
0231Skilled nursing, outpatient, admit through discharge—
032xHome health, classification 2, any frequencyThe claim for a home health period of care; 0327 adjusts it and 0328 cancels it (Ch. 1 §130.5)
0711Clinic, rural health clinic, admit through discharge—
0721Clinic, renal dialysis facility, admit through discharge—
0741 / 0751Clinic, ORF / CORF, admit through discharge—
0761Clinic, community mental health center, admit through discharge—
0771Clinic, federally qualified health center, admit through discharge—
0811 / 0821Special facility, hospice (non-hospital-based / hospital-based), admit through discharge—
081ASpecial facility, hospice (non-hospital-based), admission/election notice—
0851Special facility, critical access hospital, admit through dischargeCAH outpatient services use 85X where other hospitals use 13X (Ch. 4 §240.5)
0857 / 0858Special facility, critical access hospital, correction / voidDebit-only / cancel-only adjustment (Ch. 1 §130.1)

A code can be valid digit by digit and still be wrong for the services on it. The revenue codes in FL 42 have to fit the bill type: an outpatient bill's ancillary lines generally need a HCPCS code in FL 44, while inpatient room and board lines do not. That pairing is covered line by line in our guide to UB-04 revenue codes, and the claim-form choice itself in CMS-1500 vs UB-04.

Corrected, Void and Late-Charge Bills on Medicare (xx7, xx8, xx5)

The frequency digit matters most after the first bill: a correction sent the wrong way, a cancel Medicare does not accept, or a late charge Medicare wants as an adjustment. CMS's rules for institutional adjustments are in Chapter 1, §130.

What you need to doBill typeWhat else the bill needs
Change dates, charges, codes, diagnoses, patient status or payer order on a processed claimxx7 (debit-only adjustment)The ICN/DCN of the claim being adjusted, and exactly one claim change reason code entered as a condition code
Fix a wrong provider number or Medicare beneficiary identifierxx8 with reason code D5, then a new original xx1CMS accepts cancel-only requests for this, and says the provider then submits the corrected bill as xx1
Repay a duplicate payment or an OIG overpaymentxx8 with reason code D6Includes cancelling an outpatient bill whose services belong on the inpatient bill
Add charges left off an original outpatient billxx5 (late charge), only where Medicare allows itAllowed for outpatient services such as RHC, FQHC, CMHC, CORF, outpatient therapy and SNF outpatient services, and for inpatient ancillaries from non-PPS providers, once the original bill has been paid
Add charges left off for inpatient accommodations, inpatient hospital or SNF PPS ancillaries, services on the same day as OPPS services or ASC-limited surgery, HH PPS services, or ESRD composite-rate servicesxx7, not xx5CMS requires an adjustment request for these

Claim change reason codes for an xx7 or xx8 (Chapter 1, §130.1.2.1):

Reason codeUse it whenBill type
D0Service dates changexx7
D1Charges change, and nothing else doesxx7
D2Revenue codes, HCPCS or HIPPS changexx7
D3Second or subsequent interim PPS bill (PPS inpatient hospital only)xx7
D4GROUPER input changes: diagnoses or procedures (PPS inpatient hospital)xx7
D5Cancel-only to correct a Medicare beneficiary identifier or provider numberxx8
D6Cancel-only to repay a duplicate payment or OIG overpaymentxx8
D7Change to make Medicare the secondary payerxx7
D8Change to make Medicare the primary payerxx7
D9Any other changexx7
E0Patient status changesxx7

CMS allows one reason code per adjustment: pick the single code that best describes the change. Use D1 only when charges are the only change, even though other changes often move charges too. Requests coded D8 or D9 are suspended for investigation, and CMS warns that providers who use D9 consistently will be investigated.

On the paper UB-04, the original claim's number goes in FL 64, Document Control Number, which CMS defines as "the control number assigned to the original bill by the health plan" (Chapter 25, §75.5).

Type of Bill Errors Medicare Returns

Chapter 1 lists the messages a MAC sends back when an adjustment's bill type and reason code do not fit together (§130.1.2.2 and §130.1.3). The most common ones, and what each means:

  • No reason code, or the wrong family. An xx7 needs D0–D4, D7–D9 or E0, and an xx8 needs D5 or D6; anything else is rejected back to the provider.
  • No original claim number. An xx7 or xx8 without the ICN/DCN of the claim being adjusted is rejected: "ICN/DCN of the claim being adjusted is required for an adjustment request."
  • A reason code that does not match the change. D0 is rejected if the service dates did not change, D1 if the charges did not change, D2 if the revenue codes, HCPCS or HIPPS did not change, and E0 if the patient status did not change.
  • More than one reason code. Only one is allowed per adjustment request.
  • An adjustment on the wrong bill type. A provider's adjustment request must be an xx7 or xx8.
  • A late charge with no original. If an xx5 matches no original bill, the MAC rejects it with "No original bill paid. Please combine and submit a single original bill (xx1)." If the original was denied, the late charge is denied too.
  • A late charge Medicare does not take. An xx5 for inpatient accommodations, inpatient hospital or SNF PPS ancillaries, services on the same day as OPPS services or ASC-limited surgery, or ESRD composite-rate services is rejected with an instruction to send an xx7 or xx8 instead.

Two problems show up as payer denials rather than returned bills. A correction sent as a fresh original (frequency 1) can deny as a duplicate, which is CARC 18 on our CARC list. A replacement whose original claim number or frequency the payer cannot match comes back as CO-129, prior processing information incorrect.

Timely filing still applies to what an adjustment adds. CMS does not permit an adjustment request that adds an item or service left off the initial bill once the time limit for filing a claim has expired (Chapter 1, §130.1.1). Medicare's limit and the corrected-claim windows other payers publish are in our timely filing database.

Medicaid and Commercial Plans

Medicaid programs and commercial plans use the same NUBC bill-type values, because the code set belongs to the UB-04, not to Medicare. What changes from payer to payer is everything around the code: whether a correction needs the plan's original claim number in a specific field, whether a void must come before a replacement, how long you have to correct a claim, and whether the plan accepts late-charge bills at all.

The Medicare-only parts of this page are the claim change reason codes (D0–D9, E0), the late-charge limits in Chapter 1 §130.1.3, and the contractor-only frequency codes F through Q. Do not apply them to a Medicaid or commercial claim unless that payer's provider manual or 837I companion guide says so. Where a plan publishes its correction deadline, it is in the corrected-claim rows of our timely filing database; our CO-129 guide shows how payers such as L.A. Care word their replacement-claim requirements.

When Bill-Type Rejections Keep Coming Back

A returned bill is the cheap version of this problem; a corrected claim that denies as a duplicate or as CO-129 is the expensive one, because it sits in A/R while someone works out which bill the payer kept. If either keeps happening, pull the last 30 days of returned bills and denied institutional claims and sort them by reason code before you change anything in the billing system.

Our hospital billing services prepare and submit UB-04 (837I) institutional claims for inpatient, outpatient, emergency, observation and ancillary services. Facilities that want a second look before outsourcing can start with a free billing screening.

Common Questions

Common questions about type of bill codes (ub-04 fl 4).

Get a Free Billing Screening

Our billing specialists can walk you through this and more.

Request a Free Screening

Is bill type 0131 inpatient or outpatient?

Outpatient. In 0131 the 1 after the leading zero is a hospital, the 3 is the outpatient classification and the final 1 is an admit-through-discharge (original) bill, per the digit lists in the Medicare Claims Processing Manual, Chapter 1 §80.3.2.2. A hospital inpatient Part A claim starts 011, as in 0111.

What is bill type 0137?

0137 is a corrected hospital outpatient claim: hospital (1), outpatient (3), correction (7). On Medicare an xx7 is a debit-only adjustment, so it needs the ICN/DCN of the claim being corrected and exactly one claim change reason code, such as D2 when revenue codes or HCPCS changed (Chapter 1 §130.1.2.1).

What is the difference between bill type 0137 and 0138?

A 7 replaces the original claim with corrected data; an 8 voids it. Medicare accepts a cancel-only (xx8) request only with reason code D5, to fix a wrong provider number or beneficiary identifier (then you send a new original xx1), or D6, to repay a duplicate payment or an OIG overpayment. Every other change goes in as an xx7.

What does type of bill 0851 mean?

0851 is special facility (8), critical access hospital (5), admit through discharge (1). The 5 identifies the CAH rather than an outpatient classification. CMS has CAHs report outpatient services on 85X where other hospitals use 13X (Chapter 4 §240.5).

Why do CMS manuals write bill types as xx7 or 13X?

CMS ignores the leading zero, so its manuals count the facility as the first digit and the frequency as the third. The x stands for any value in that position: xx7 means any correction, whatever the facility, and 13X means any hospital outpatient bill, whatever the frequency.

Can a hospital send a late-charge bill (xx5) for an inpatient stay?

Not for inpatient accommodations or inpatient hospital or SNF PPS ancillaries. Medicare's Claims Processing Manual, Chapter 1 §130.1.3, requires those as adjustment requests (xx7). Late charges are allowed for most outpatient services and for inpatient ancillaries from non-PPS providers, and only when the original bill was paid.

Where do I find bill type codes for Medicaid or a commercial plan?

The values come from the NUBC's Official UB-04 Data Specifications Manual, which CMS names as the source alongside Medicare contractors. Medicaid programs and commercial plans use those values but set their own correction and void rules, so check the plan's provider manual or 837I companion guide.

Free billing screening

Getting UB-04 claims returned for the bill type?

Talk to a billing specialist and start with a free billing screening of a permitted 12-month practice-management export.

A free screening reviews a permitted 12-month practice-management export and provides a short written memo within five business days after receipt. It includes no chart review, coding opinion or extrapolated recovery figure. Chart-based audits are separately scoped and quoted.

  • No obligation to continue
  • Practice details only
  • Reply within 1 business day
Call us Free screening