Insurance EOB importer (US)

67 views
Skip to first unread message

Stefano Mihai Canta

unread,
Jan 21, 2026, 11:28:19 AMJan 21
to bean...@googlegroups.com
Does anyone have an EOB importer they can share? Something that can work with reds importers.

Thank you!
Stefano



 

redst...@gmail.com

unread,
Jan 22, 2026, 1:57:51 AMJan 22
to Beancount

Just checked in a couple here. They import csv reports of EOBs, not EOBs directly.

There’s also this article (“Double-Entry Bookkeeping for US Healthcare”) if it helps.

Stefano Mihai Canta

unread,
Jan 22, 2026, 10:06:01 PMJan 22
to bean...@googlegroups.com
Thank you!
Yesterday I spent some time creating something much simpler by just overriding `extract` from beangulp, but your framework is more powerful. I see the banking importer allows multiple postings by overriding the `add_custom_postings` method, but does it allow for variable substitutions similarly to the `investment` importer?

I'd like to use this config for my importer and I'd like to replace claim_type and claim_number at runtime.
anthem_eob.Importer({
'filing_account' : 'Expenses:Medical',
"currency": "USD",
"main_account": "Expenses:Personal:Non-Retirement:{claim_type}:Claim",
"Plan Discount": "Expenses:Personal:Non-Retirement:{claim_type}:InsDiscount",
"Plan Paid": "Expenses:Personal:Non-Retirement:{claim_type}:InsPayment",
"Your Cost": "Liabilities:Personal:Accounts-Payable:Medical:{claim_number}",
"Deductible": "Equity:Personal:Limits:Medical-Insurance:Deductible",
"Coinsurance": "Equity:Personal:Limits:Medical-Insurance:Coinsurance",
"balancing": "Equity:Personal:Limits:Balancing"
}),


--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/beancount/d792d7d3-c5dd-42dd-8999-f1aed5b8b737n%40googlegroups.com.

Stefano Mihai Canta

unread,
Jan 22, 2026, 10:21:48 PMJan 22
to bean...@googlegroups.com
I can replace the variables for the custom postings, but what about the main account?

Stefano Mihai Canta

unread,
Jan 22, 2026, 10:37:56 PMJan 22
to bean...@googlegroups.com
Nevermind, found it...
Something like this worked for me:
def get_main_account(self, ot):
return self.config['main_account'].format(claim_type=ot.Claim_Type)

This was a great exercise!
Thank you

redst...@gmail.com

unread,
Jan 22, 2026, 11:50:03 PMJan 22
to Beancount

Glad to hear!

Just added basic doc.

Deepwiki should pick up on it soon. For anyone else: deepwiki is very handy to understand and navigate any open source project.

Reply all
Reply to author
Forward
0 new messages