-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Feature Request: Support for Additional EDI 835 Segments
Hi @keironstoddart,
Thank you for creating this useful EDI 835 parser! I'm working with EDI 835 files and need to extract some specific information that I'm not sure is currently supported by the parser.
Requested Segments/Fields
I need to extract the following information from EDI 835 files:
| Segment | Qualifier | Description | Data Field Needed |
|---|---|---|---|
| TRN | 1 | Trace number | EFT Trace Number |
| N1 | PR | Payer identification | Payor Name |
| REF | TJ | Provider NPI | Group NPI |
| REF | EI | Employer ID number | Group EIN |
| DTM | 405 | Production date | Payment Received Date |
Current Status
I've reviewed the documentation and source code but I'm not certain if these segments are currently parsed and accessible through the existing API.
Questions
- Are these segments currently supported by the parser?
- If yes, could you provide an example of how to access them?
- If no, would you be open to adding support for these segments?
Use Case
I'm trying to extract payment remittance information including:
- Group NPI: 1234567890
- Group EIN: 123456789
- Payor Name: Medicare
- EFT Payment Amount: 12345.67 (I believe this is already supported via BPR segment)
- EFT Trace Number: 123456789
- Payment Received Date: 6/5/25
Example Code
Here's what I'm hoping to achieve:
from edi_835_parser import parse
with open('835_file.txt', 'r') as file:
transactions = parse(file)
for transaction in transactions:
# Would like to access:
print(f"Group NPI: {transaction.group_npi}") # From REF*TJ
print(f"Group EIN: {transaction.group_ein}") # From REF*EI
print(f"Payor Name: {transaction.payor_name}") # From N1*PR
print(f"EFT Trace Number: {transaction.trace_number}") # From TRN*1
print(f"Payment Date: {transaction.payment_date}") # From DTM*405Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels