# 835 file parsing and Payer ID

**URL:** <https://community.open-emr.org/t/835-file-parsing-and-payer-id/9802>\
**Category:** Day-to-Day Users\
**Tags:** billing\
**Created:** [March 25, 2018, 3:40am UTC](https://community.open-emr.org/t/835-file-parsing-and-payer-id/9802 "2018-03-25T03:40:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KyleNave](https://community.open-emr.org/letter_avatar_proxy/v4/letter/k/e480ec/32.png) [@KyleNave](https://community.open-emr.org/u/KyleNave)\
**Post date:** [March 25, 2018, 3:40am UTC](https://community.open-emr.org/t/835-file-parsing-and-payer-id/9802/1 "2018-03-25T03:40:15Z")

</div>

Good Evening all.

I have received my first few 835 response files through office Ally and I’m trying to read them into OpenEMR with mixed result.

One problem I see is that the payer\_id is not being identified. The value is not showing up in TRN04 in any of the 835 files I have and it appears this is the only way that OpenEMR recognizes the payer.

Anyone else see this problem and have a solution?

Thanks,  
Kyle

---

<div class="post-metadata">

**Author:** ![KyleNave](https://community.open-emr.org/letter_avatar_proxy/v4/letter/k/e480ec/32.png) [@KyleNave](https://community.open-emr.org/u/KyleNave)\
**Post date:** [March 25, 2018, 4:29am UTC](https://community.open-emr.org/t/835-file-parsing-and-payer-id/9802/2 "2018-03-25T04:29:05Z")

</div>

I was specifically looking at the ar\_session table which does not have the payer\_id.

Apparently somewhere down stream it can correlate as the invoice shows the correct payer… is payer\_id in ar\_session still used?

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [March 26, 2018, 1:59am UTC](https://community.open-emr.org/t/835-file-parsing-and-payer-id/9802/3 "2018-03-26T01:59:08Z")

</div>

hi @KyleNave, payer id can have different contexts, the most common which you’re probably familiar with is the electronic payer id which helps route claims to the correct payers through clearinghouses. `TRN04` is seldom used and maybe only in institutional cases.

In this case the payer id in `ar_session` is the openemr payer id from the `insurance_data` table which is sourced from `insurance_companies.id` but this might not be used in the era posting routine.

> <https://github.com/openemr/openemr/blob/master/interface/billing/sl_eob_process.php>

> <https://github.com/openemr/openemr/blob/master/library/sl_eob.inc.php#L244>
