Reference·PER Segment·PER04
X12 837P Reference

X12 837P PER04 (Communication Number): Format, Values, and Testing Notes

Jul 28, 2026 · 4 min read
← PER03

PER04 is the payload the rest of the segment exists to deliver — the actual phone number, fax number, or email a payer will use. Its shape changes completely depending on the qualifier that precedes it, which is exactly the kind of conditional logic test data tends to skip.

Quick answer

PER04 is the fourth element of the PER segment in an X12 837P claim — the actual communication number or address, formatted according to whatever type was declared in the preceding PER03 qualifier.

How format depends on the qualifier

TE
Telephone — digits only in the base format, sometimes with an extension appended after a colon
EM
Email — a standard email address string
FX
Fax — digits only, same shape as a telephone number
UR
URL — a full web address string

Example

Synthetic example Generated by Synthibase
PER*IC*BILLING DEPT*TE*3035550142*EM*BILLING@SYNTHACLINIC.TEST

PER04 carries two synthetic values here — 3035550142 for the telephone qualifier and a fictitious address for the email qualifier.

Where this trips people up

Phone numbers in PER04 sometimes carry an extension appended with a colon, and test suites that only ever generate a bare ten-digit number never exercise the code path that has to split an extension back out for display or dialing. The same problem shows up with email values — test data that's always a clean, short address never catches a downstream field-length limit or a validation regex that chokes on a longer but still valid address.

X12 837P PER Segment Guide: Fields, Format, and Testing Gotchas
What is X12 837P? Complete Format and Field Guide
How to Build a Trading Partner Onboarding Process for Healthcare EDI
Test the formatting edge cases, not just the happy path
Synthibase generates synthetic 837P claims with PER04 values that include extensions, varied email formats, and realistic length variation, so your parsing logic is tested against what payers actually send.
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.