Denial Code Extraction: Why CARC and RARC Must Pair Up
Denial code extraction has to keep the group code, CARC and remark codes together. CARC 96 alone can mean bill the patient or refund the patient, depending on the other two.

Denial code extraction means pulling three codes for every adjustment on a remittance: the group code, the claim adjustment reason code (CARC) and any remittance advice remark codes (RARCs). Store them as one record. The same CARC can call for opposite actions, and only the other two codes tell you which one applies.
Medicare's own rules give the clearest case. CARC 96 with group code PR and remark code N124 means the patient agreed in writing to pay and can be billed. CARC 96 with CO and N125 means the patient cannot be billed and any money collected must be refunded within 30 days.
What do the three codes on a denial mean?
A CARC says why a claim or service line was paid differently than it was billed. The X12 reason code list had 298 active codes on November 27, 2026, plus 110 deactivated ones. CARC 1 is a deductible, CARC 45 is a charge above the fee schedule or contracted rate, and CARC 16 is a claim with missing information or a billing error.
The group code says who carries the adjusted amount. The valid ones are CO (contractual obligation), OA (other adjustment), PI (payer initiated reduction) and PR (patient responsibility). A fifth, CR, is not to be used in version 005010 and later. CMS's remittance advice manual chapter calls CO amounts "generally" a write-off that is "not billed to the patient," and says PR amounts "may be billed to the patient."
A RARC adds the detail a CARC cannot. Most are supplemental and explain an adjustment a CARC already reported. The rest start with "Alert:" and, in X12's words, "are never related to a specific adjustment or CARC." Of the 1,145 active codes on the X12 remark code list, 194 are alerts.
The lists have different owners. CMS's manual says CMS maintains the remark codes and a separate committee maintains the reason codes. Both change three times a year, around March 1, July 1 and November 1.
| Code | What it answers | Example | Where it sits in an 835 |
|---|---|---|---|
| Group code | Who carries the amount. | CO, PR | CAS01. |
| CARC | Why payment differs from the charge. | 96, non-covered charge(s) | CAS02, then CAS05, CAS08 and on. |
| RARC | What exactly is wrong, or a general notice. | N125, MA130 | LQ for a line; MOA or MIA for a whole claim. |
Where do denial codes sit in an 835 and on paper?
In an 835 electronic remittance, each adjustment goes in a CAS segment. CAS01 holds the group code, followed by up to six sets of reason code, amount and quantity, from CAS02 to CAS04 through CAS17 to CAS19. An X12 interpretation quotes that rule. Another one confirms that claim-level adjustments use the CAS segment in loop 2100 and line-level ones use loop 2110.
Remark codes live elsewhere. CMS's manual puts line-level remark codes in the LQ segment and claim-level ones in the MOA segment, or MIA for inpatient claims. So a remark code belongs to a line or a claim, not to one reason code. If the extractor drops the line it came from, the pairing is gone. Our post on 835 remittance advice processing walks through the CLP and CAS loops.
On a paper remittance or a payer PDF, the group code and CARC can print as one token. X12's reason code page gives "PR32" and "CO286" as examples of what a provider might see. The OCR step has to split off the two letters, then find the remark codes, which may print in their own column or in a code glossary. The guide to EOB parsing automation covers the patient-facing version of the same document.
Worked example: one CARC, opposite actions
Take three lines from a hypothetical Medicare remittance to a medical equipment supplier. Lines 1 and 2 use the notices CMS prescribes for certain denied equipment and supply claims in chapter 30, section 150.8 of its claims processing manual. Line 3 uses codes that CGS, a Medicare contractor, lists for claims it returns.
| Field | Line 1 | Line 2 | Line 3 |
|---|---|---|---|
| What happened | Billed with modifier GA: signed advance notice on file. | Billed with modifier GZ: no signed advance notice. | HCPCS code not valid on the date of service. |
| Group code | PR | CO | CO |
| CARC | 96, non-covered charge(s). | 96, non-covered charge(s). | 16, missing information or billing error. |
| RARCs | N124 | N125 | M20, MA130 |
| What the RARC says | The patient is liable, having been told in writing and agreed to pay. | Refund anything collected from the patient within 30 days. | Invalid HCPCS; no appeal rights, submit a new claim. |
| Next action | Bill the patient. | Do not bill; refund; decide on an appeal. | Fix the code and send a new claim. |
Lines 1 and 2 carry the same CARC and need opposite handling. On line 1, PR and N124 say the patient owes the amount, so it goes to patient billing. On line 2, CO and N125 say the supplier owns the loss, and any payment taken from the patient goes back. The post on advance beneficiary notice processing covers the signed notice that decides which line you get.
Line 2 also has a clock. The section 150.8 notice says an appeal filed within 30 days lets the supplier hold the refund until the decision, and an appeal can be filed any time within 120 days. If the appeal fails, the refund is due within 15 days. A router keyed on CARC 96 alone either bills a protected patient or writes off money a patient agreed to pay.
Line 3 shows a remark code that removes options. MA130 reads "no appeal rights are afforded because the claim is unprocessable." The CGS page on returned claims says such claims cannot be fixed through a redetermination or a reopening and must be sent as new claims. CMS instructions for returned claims, such as transmittal 3475, pair CARC 16 with group code CO.
Sending line 3 to appeals also burns time. Under chapter 1 of the same manual, a Medicare claim generally must be filed within 12 months of the date of service. A submission with an invalid procedure code does not count as a claim, so the corrected one still has to beat that deadline.
Which CARCs need a remark code?
X12 writes the rule into some definitions. CARC 16 says "at least one Remark Code must be provided," and that it can be an NCPDP reject reason code or any RARC that is not an alert. CMS's manual explains why: some CARCs "are so generic that the reason for adjustment cannot be communicated clearly without at least one remark code," so the remark code carries the meaning.
A count of the X12 list as published on November 27, 2026 finds the same requirement in 15 of the 298 active CARCs. They are 16, 96, 129, 148, 201, 226, 227, 234, 237, 250, 251, 252, 267, 307 and A1. Separately, 23 active CARCs limit which group code goes with them. CARC 18, an exact duplicate, takes OA unless state workers' compensation rules require CO, and CARC 45 takes CO or PR "depending upon liability."
Usage notes also rule things out. CARC 16 says "Do not use this code for claims attachment(s)/other documentation." Attachments have their own codes: 252 when one is needed, 251 when the one received was incomplete, and 250 when it was the wrong document. A rule that sends every CO-16 to a "send the records" queue reads the code against its own definition.
Where does automated denial routing go wrong?
Keying on the CARC alone is the obvious failure. Five others show up once the basic pairing works.
Remark codes on the wrong line
Flatten every remark code on a claim into one list and a code from line 3 can land beside line 1's CARC. Keep the claim and line identity on every adjustment. Apply MOA or MIA remark codes to the whole claim and LQ codes only to their own line.
Alerts read as reasons
MA01 is an alert telling the provider it may appeal within 120 days. It sets a deadline, but it never explains why money was cut. MA13, another alert, warns: "You may be subject to penalties if you bill the patient for amounts not reported with the PR (patient responsibility) group code." Wire that rule into any patient billing step.
OCR misreads that still look valid
On printed remittances, the letter O and the digit 0 swap easily, and so do I and 1. A misread I turns the group code PI into P1, which is itself a valid CARC for property and casualty claims. A "letters then digits" pattern check lets that through. Check the group code against the four valid values and the reason code against the list, separately.
Stale code lists
Codes start and stop. N29, "Missing documentation/orders/notes/summary/report/chart," stopped on March 1, 2016. Validate each code against the list as it stood on the remittance date, and refresh the list after each update.
Medicare rules applied to every payer
The 30-day refund, the 120-day appeal and the MA130 rule are Medicare rules. Commercial payers use the same codes, but their appeal windows and corrected claim rules come from contracts and companion guides. The CAQH CORE operating rule limits which code combinations a health plan may use for each business scenario, per CMS transmittal 1281. It does not say what the provider should do next.
What should a denial code extractor check?
- Store one record per adjustment: claim, line, group code, CARC, amount and quantity, plus the RARCs for that line and for the claim.
- Accept only CO, OA, PI or PR as group codes, and only CARCs and RARCs that were active on the remittance date.
- Flag any of the 15 remark-required CARCs that arrives with no supplemental RARC at the line or claim. It is either a missed field or a payer error.
- Check the group code rules written into the CARC text, such as OA for CARC 18. A mismatch usually means a misread.
- Keep alerts in their own field for notices and deadlines, never as the reason.
- Route on the full combination of group code, CARC and supplemental RARCs. Send combinations missing from the routing table to a person, not a default queue.
- Pull patient balances from PR amounts only.
- Put dates on the record: the refund deadline for an N125, the appeal window, and the filing limit for any claim that must be sent again.
Before trusting the router, replay a past quarter of remittances through it and compare each routed action with what the billing team did. Each disagreement is a missing combination, a misread code or a human error worth knowing about. For returns like line 3, the fix usually sits upstream, in the codes covered in our post on medical coding automation.
When remittances arrive as scans or PDFs instead of 835 files, the codes have to be read off the page first. DocsAPI, built by HyperVerge, is a document intelligence API that classifies documents such as EOBs and remittance advice and extracts their fields and tables. In its own 2026 benchmark on 1,700 real documents, it read clean typed English at 97 to 99% and multi-page bank statement tables at 91%, so the code checks above still apply. Pricing starts at $0.02 per page, and access starts with a demo. The medical documents page lists the other files it reads.
Written by Nupura Ughade.
Related guide: OCR for medical documents.
Frequently asked questions
A CARC (claim adjustment reason code) says why a claim or service line was paid differently than it was billed, and it always comes with a group code such as CO or PR that says who carries the amount. A RARC (remittance advice remark code) adds detail about that adjustment. Remark codes that start with "Alert:" are general notices and never explain a specific adjustment.
Yes. In Medicare's notices for certain denied equipment and supply claims, CARC 96 with group code PR and RARC N124 means the patient agreed in writing to pay and can be billed. CARC 96 with group code CO and RARC N125 means the patient cannot be billed and anything collected must be refunded within 30 days. An appeal filed within those 30 days lets the supplier hold the refund until the decision.
On the X12 list as published on November 27, 2026, 15 of the 298 active CARCs say at least one remark code that is not an alert must be provided: 16, 96, 129, 148, 201, 226, 227, 234, 237, 250, 251, 252, 267, 307 and A1. If one of these arrives with no supplemental remark code, either a field was missed or the payer made an error.
Not in Medicare. MA130 says no appeal rights are afforded because the claim is unprocessable. Medicare contractor CGS says these claims cannot be fixed through a redetermination or a reopening and must be corrected and sent as new claims, and the new claim still has to meet Medicare's 12-month filing limit.
Adjustments are in CAS segments. CAS01 is the group code, followed by up to six sets of reason code, amount and quantity. Claim-level CAS segments sit in loop 2100 and line-level ones in loop 2110. Remark codes for a service line go in the LQ segment, and remark codes for a whole claim go in the MOA segment, or MIA for inpatient claims.
Related Blog Posts

EOB Parsing Automation: Why It's Harder Than 835 Parsing
An EOB and a remittance advice are different documents. The structural difference, and the fields that matter for reconciliation.

ANSI X12 835 Remittance Advice: The CAS Segments That Matter
An 835 file arrives fully structured under HIPAA's X12 mandate. Here is the real segment anatomy behind claim payments, and why teams still re-key it.

Advance Beneficiary Notice Processing: The Liability Gap
One blank field on Form CMS-R-131 can void the whole notice, and the practice, not the patient, ends up absorbing the denied claim.
Want to see it on your own documents?
Try our free OCR tool in your browser, or book a demo to see how DocsAPI reads the document types covered in this guide.
