Reference·REF Segment·REF*F8
X12 837P Reference

Understanding X12 837P REF*F8: Original Reference Number in Practice

Jul 27, 2026 · 4 min read
← REF*G1

A correction or void claim without REF*F8 — or with a value that doesn't match what the payer actually assigned to the original claim — doesn't get quietly ignored. It gets rejected outright, because the payer has no way to know what it's supposed to be correcting.

Quick answer

REF*F8 is the REF segment carrying qualifier F8, used on 837P correction and void claims (CLM05-3 = 7 or 8) to reference the payer-assigned control number of the original claim being replaced or cancelled.

What this element contains

REF01
F8 — the fixed qualifier value that marks this as an original claim reference
REF02
The payer's original claim control number — not your internal CLM01 value — this must be the number the payer assigned on the earlier remit or acknowledgment
Pairing
Required alongside CLM05-3 = 7 or 8 — a frequency code alone, without this reference, leaves the correction unmatched

Example

Synthetic example Generated by Synthibase
REF*F8*9920134477*

9920134477 is the synthetic payer-assigned control number from the original claim being corrected. Synthetic claim data.

Where this trips people up

It's common to see REF*F8 populated with the submitter's own claim number (CLM01) instead of the number the payer actually returned on the original remit — the two are easy to confuse since both are just claim identifiers. The payer can't match a correction to the wrong control number, so the claim rejects on a 277CA even though every other field on the correction is accurate.

Testing X12 837P REF: The Fields Your System Actually Needs to Handle
EDI Rejection Codes: Complete List and How to Fix Them
How to Reduce Claim Denials Through Better Pre-Submission Testing
Test correction and void claims that actually match
Synthibase generates synthetic correction and void claims with REF*F8 values tied back to the correct original payer control number, so correction-matching logic gets tested before it fails in production.
Start free trial →
This page is written independently by Synthibase for testing and informational purposes. It is not an official publication of HL7 International or X12/Washington Publishing Company, and is not a substitute for reviewing the official standard or your trading partner's companion guide. See our Terms of Service for full legal terms.