Type of Bill Codes on the UB-04: How to Read FL 4 and Pick the Frequency
By MedPrecision Operations Team · 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.
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 form | What CMS calls it | What it tells the payer | 0137 reads as |
|---|---|---|---|
| 1st character | Ignored | Leading zero | 0 |
| 2nd character | First digit | Type of facility | 1 = hospital |
| 3rd character | Second digit | Classification (type of care) | 3 = outpatient |
| 4th character | Third digit | Frequency (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)
| Code | Type of facility |
|---|---|
| 1 | Hospital |
| 2 | Skilled nursing |
| 3 | Home health |
| 4 | Religious non-medical (hospital) |
| 7 | Clinic or renal dialysis facility (uses the clinic list below) |
| 8 | Special 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)
| Code | Classification | CMS note |
|---|---|---|
| 1 | Inpatient (Part A) | — |
| 2 | Hospital-based or inpatient (Part B) | Includes HHA visits under a Part B plan of treatment |
| 3 | Outpatient | Includes HHA visits and HHA DME under a Part A plan of treatment |
| 4 | Other (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" |
| 8 | Swing bed | SNF level of care in a hospital with an approved swing bed agreement |
Classification when the facility digit is 7 (clinics)
| Code | Clinic type |
|---|---|
| 1 | Rural health clinic (RHC) |
| 2 | Hospital-based or independent renal dialysis facility |
| 4 | Outpatient rehabilitation facility (ORF) |
| 5 | Comprehensive outpatient rehabilitation facility (CORF) |
| 6 | Community mental health center (CMHC) |
| 7 | Free-standing provider-based federally qualified health center (FQHC) |
Classification when the facility digit is 8 (special facilities)
| Code | Special facility type |
|---|---|
| 1 | Hospice (non-hospital-based) |
| 2 | Hospice (hospital-based) |
| 5 | Critical 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
| Code | Frequency | CMS note |
|---|---|---|
| 0 | Nonpayment/zero claim | — |
| 1 | Admit through discharge claim | The normal original bill |
| 2 | Interim, first claim | — |
| 3 | Interim, continuing claims | Not valid for PPS bills, except SNF PPS bills |
| 4 | Interim, last claim | Not valid for PPS bills, except SNF PPS bills |
| 5 | Late charge | Limited on Medicare (see the next section) |
| 7 | Correction | Medicare treats it as a debit-only adjustment |
| 8 | Void/cancel | Medicare treats it as a cancel-only adjustment |
| 9 | Final claim for a home health PPS episode | — |
Notices a provider sends
| Code | Notice |
|---|---|
| A | Admission/election notice |
| B | Termination/revocation notice (hospice, Medicare coordinated care demonstration, religious non-medical health care institution) |
| C | Hospice change of provider |
| D | Void/cancel (hospice, Medicare coordinated care demonstration, religious non-medical health care institution) |
| E | Hospice 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 callA 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.
Request received
A billing specialist will review your practice details and reach out within 1 business day. A confirmation email may also arrive. If it does not, you can reach us at +1-872-297-2815.
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 bill | Reads as | What CMS adds |
|---|---|---|
| 0110 | Hospital, inpatient Part A, nonpayment/zero claim | — |
| 0111 | Hospital, inpatient Part A, admit through discharge | — |
| 0112 / 0113 / 0114 | Hospital, inpatient Part A, interim first / continuing / last | Interim continuing and last are not valid for PPS bills, except SNF PPS bills (Ch. 1 §80.3.2.2) |
| 0117 | Hospital, inpatient Part A, correction | Debit-only adjustment (Ch. 1 §130.1) |
| 0118 | Hospital, inpatient Part A, void/cancel | Cancel-only adjustment (Ch. 1 §130.1) |
| 0121 | Hospital, inpatient Part B, admit through discharge | — |
| 0131 | Hospital, outpatient, admit through discharge | Covered hospital outpatient services bill on 13X (Ch. 4 §120) |
| 0137 | Hospital, outpatient, correction | Debit-only adjustment (Ch. 1 §130.1) |
| 0138 | Hospital, outpatient, void/cancel | Cancel-only adjustment (Ch. 1 §130.1) |
| 0141 | Hospital, other Part B, admit through discharge | Includes diagnostic lab for nonpatients (Ch. 1 §80.3.2.2) |
| 0181 | Hospital, swing bed, admit through discharge | — |
| 0211 | Skilled nursing, inpatient Part A, admit through discharge | — |
| 0221 | Skilled nursing, inpatient Part B, admit through discharge | — |
| 0231 | Skilled nursing, outpatient, admit through discharge | — |
| 032x | Home health, classification 2, any frequency | The claim for a home health period of care; 0327 adjusts it and 0328 cancels it (Ch. 1 §130.5) |
| 0711 | Clinic, rural health clinic, admit through discharge | — |
| 0721 | Clinic, renal dialysis facility, admit through discharge | — |
| 0741 / 0751 | Clinic, ORF / CORF, admit through discharge | — |
| 0761 | Clinic, community mental health center, admit through discharge | — |
| 0771 | Clinic, federally qualified health center, admit through discharge | — |
| 0811 / 0821 | Special facility, hospice (non-hospital-based / hospital-based), admit through discharge | — |
| 081A | Special facility, hospice (non-hospital-based), admission/election notice | — |
| 0851 | Special facility, critical access hospital, admit through discharge | CAH outpatient services use 85X where other hospitals use 13X (Ch. 4 §240.5) |
| 0857 / 0858 | Special facility, critical access hospital, correction / void | Debit-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 do | Bill type | What else the bill needs |
|---|---|---|
| Change dates, charges, codes, diagnoses, patient status or payer order on a processed claim | xx7 (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 identifier | xx8 with reason code D5, then a new original xx1 | CMS accepts cancel-only requests for this, and says the provider then submits the corrected bill as xx1 |
| Repay a duplicate payment or an OIG overpayment | xx8 with reason code D6 | Includes cancelling an outpatient bill whose services belong on the inpatient bill |
| Add charges left off an original outpatient bill | xx5 (late charge), only where Medicare allows it | Allowed 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 services | xx7, not xx5 | CMS requires an adjustment request for these |
Claim change reason codes for an xx7 or xx8 (Chapter 1, §130.1.2.1):
| Reason code | Use it when | Bill type |
|---|---|---|
| D0 | Service dates change | xx7 |
| D1 | Charges change, and nothing else does | xx7 |
| D2 | Revenue codes, HCPCS or HIPPS change | xx7 |
| D3 | Second or subsequent interim PPS bill (PPS inpatient hospital only) | xx7 |
| D4 | GROUPER input changes: diagnoses or procedures (PPS inpatient hospital) | xx7 |
| D5 | Cancel-only to correct a Medicare beneficiary identifier or provider number | xx8 |
| D6 | Cancel-only to repay a duplicate payment or OIG overpayment | xx8 |
| D7 | Change to make Medicare the secondary payer | xx7 |
| D8 | Change to make Medicare the primary payer | xx7 |
| D9 | Any other change | xx7 |
| E0 | Patient status changes | xx7 |
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 ScreeningIs 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.
Related Reading on This Topic
Related Services
Related Specialties
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