X12 820 N103/N104 Field Guide: Identification Code Values and Common Mistakes
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.
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
Example
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.