Reference·X12 820·RMR
X12 820 Reference

Testing X12 820 RMR: The Fields Your System Actually Needs to Handle

Jul 28, 2026 · 6 min read

BPR tells you how much money moved in total. RMR is where that total gets pulled apart and assigned to actual people and policies. A test file that gets the header right but never exercises RMR properly will pass a smoke test and still fail the first time a health plan tries to apply a premium payment to a specific subscriber's account.

Quick answer

RMR (Remittance Advice Accounts Receivable Open Item Reference) is the segment in an X12 820 that connects a specific dollar amount to a specific subscriber, group, or policy being paid for. Every RMR is a line item: it names what's being referenced, the identifier for that reference, and the premium amount applying to it, and a single 820 typically repeats this segment once per subscriber or group covered by the payment.

The elements that actually matter in practice

RMR01 →
Reference Identification Qualifier — identifies what kind of number RMR02 is — commonly a qualifier pointing to a subscriber number, policy number, or group number
RMR02 →
Reference Identification — the actual subscriber, group, or policy identifier this line item's payment applies to
RMR04 →
Monetary Amount — the premium amount being paid for this specific subscriber or group, which should sum across all RMR segments to the total in BPR02

Example

Synthetic example Generated by Synthibase
RMR*IK*SUBS0038291*PIF*312.50

A synthetic RMR line item: RMR01=IK qualifies RMR02 as a subscriber number, and RMR04 states the $312.50 premium being paid for that subscriber.

Where this trips people up

The single most common failure in synthetic 820 test data is generating RMR amounts that don't sum back to BPR02 — a test file with three RMR segments and a total that's off by a few cents will still parse, but it will silently fail any reconciliation logic that checks the math. The other gap is testing only single-subscriber payments: real premium files frequently carry dozens or hundreds of RMR loops for a single group remittance, and a test harness that only ever generates one or two never proves out how the receiving system performs at realistic volume, or how it behaves when one line item in a large batch has a data problem the others don't.

EDI 835 Remittance Advice: Complete Guide for Healthcare IT
How to Write EDI Test Cases That Actually Catch Go-Live Failures
Generate realistic RMR premium detail at any volume
Synthibase produces synthetic X12 820 files with RMR line items that sum correctly to the payment total, at batch sizes from a single subscriber to full-group remittances, so your posting logic gets tested against realistic volume, not just a happy-path example.
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.