Reference·N1 Segment·N103/N104
X12 820 Reference

X12 820 N103/N104 Field Guide: Identification Code Values and Common Mistakes

Jul 28, 2026 · 4 min read
← N102

N103 and N104 are the pair of fields that let a payer's system match a party by something more durable than a name string, and they're also the pair most often left blank in test data because the segment parses fine without them.

Quick answer

N103 (Identification Code Qualifier) states what kind of identifier follows, and N104 (Identification Code) carries that identifier's actual value — together they give the party named in N102 a code, such as a federal Tax ID or a payer-assigned ID, that downstream systems can match on reliably instead of relying on name text.

The elements that actually matter in practice

N103
Identification Code Qualifier — tells the receiving system how to interpret N104 — common qualifiers point to a federal Tax ID or a payer-assigned identifier
N104
Identification Code — the actual identifier value, formatted according to whatever N103 specifies

Example

Synthetic example Generated by Synthibase
N1*PE*Meridian Health Plan*FI*471029384

A synthetic N1 loop where N103=FI qualifies N104=471029384 as a federal Tax ID belonging to the payee, Meridian Health Plan.

Where this trips people up

Because N1 technically parses without N103/N104 populated, synthetic test files often leave them blank to save effort, which hides how much downstream matching logic actually depends on them. A test suite that never exercises the blank case, and never exercises a mismatched qualifier and value either, gives false confidence — production files show up with both problems, and a system that was only ever tested against clean, fully populated pairs has no fallback behavior defined for either.

How to Test X12 820 N1: A Field-by-Field Breakdown
EDI 835 Remittance Advice: Complete Guide for Healthcare IT
How to Write EDI Test Cases That Actually Catch Go-Live Failures
Generate complete and incomplete N103/N104 pairs alike
Synthibase produces synthetic X12 820 files that vary N103/N104 completeness deliberately, including blank and mismatched cases, so your matching logic gets tested against the files it will actually receive.
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.