curl --request GET \
--url https://api.getlemma.com/v0/transactions/{id}/era \
--header 'Authorization: Bearer <token>'{
"id": "era_Hn7wFj3cTd9yXk5v",
"transaction_id": "transaction_Wp5mRx3nKv8bTh2d",
"payer": {
"name": "Aetna Health Insurance",
"id": "60054"
},
"payee": {
"name": "Riverside Family Medicine",
"npi": "1234567890"
},
"payment": {
"amount": 325000,
"method": "check",
"check_number": "8294751036",
"date": "2026-03-12T00:00:00Z"
},
"claims": [
{
"patient_control_number": "CLM-2026-03-1542",
"payer_claim_number": "ACN7829304561",
"status": "paid",
"charged_amount": 250000,
"paid_amount": 187500,
"patient_responsibility": 5000,
"patient": {
"name": "Jane Smith",
"subscriber_id": "W123456789"
},
"service_date": "2026-02-15T00:00:00Z",
"service_end_date": null,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 57500
}
],
"service_lines": [
{
"procedure_code": "99213",
"modifiers": ["25"],
"charged_amount": 150000,
"paid_amount": 112500,
"units": 1,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 37500
}
],
"remark_codes": []
},
{
"procedure_code": "90471",
"modifiers": [],
"charged_amount": 100000,
"paid_amount": 75000,
"units": 1,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 20000
},
{
"group": "PR",
"reason_code": "2",
"reason": "Coinsurance amount",
"amount": 5000
}
],
"remark_codes": ["N130"]
}
]
},
{
"patient_control_number": "CLM-2026-03-1587",
"payer_claim_number": "ACN7829304598",
"status": "paid",
"charged_amount": 175000,
"paid_amount": 137500,
"patient_responsibility": 0,
"patient": {
"name": "John Doe",
"subscriber_id": "W987654321"
},
"service_date": "2026-02-16T00:00:00Z",
"service_end_date": null,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 37500
}
],
"service_lines": [
{
"procedure_code": "99214",
"modifiers": [],
"charged_amount": 175000,
"paid_amount": 137500,
"units": 1,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 37500
}
],
"remark_codes": []
}
]
}
]
}
Retrieve the parsed 835 Electronic Remittance Advice for a transaction.
curl --request GET \
--url https://api.getlemma.com/v0/transactions/{id}/era \
--header 'Authorization: Bearer <token>'{
"id": "era_Hn7wFj3cTd9yXk5v",
"transaction_id": "transaction_Wp5mRx3nKv8bTh2d",
"payer": {
"name": "Aetna Health Insurance",
"id": "60054"
},
"payee": {
"name": "Riverside Family Medicine",
"npi": "1234567890"
},
"payment": {
"amount": 325000,
"method": "check",
"check_number": "8294751036",
"date": "2026-03-12T00:00:00Z"
},
"claims": [
{
"patient_control_number": "CLM-2026-03-1542",
"payer_claim_number": "ACN7829304561",
"status": "paid",
"charged_amount": 250000,
"paid_amount": 187500,
"patient_responsibility": 5000,
"patient": {
"name": "Jane Smith",
"subscriber_id": "W123456789"
},
"service_date": "2026-02-15T00:00:00Z",
"service_end_date": null,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 57500
}
],
"service_lines": [
{
"procedure_code": "99213",
"modifiers": ["25"],
"charged_amount": 150000,
"paid_amount": 112500,
"units": 1,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 37500
}
],
"remark_codes": []
},
{
"procedure_code": "90471",
"modifiers": [],
"charged_amount": 100000,
"paid_amount": 75000,
"units": 1,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 20000
},
{
"group": "PR",
"reason_code": "2",
"reason": "Coinsurance amount",
"amount": 5000
}
],
"remark_codes": ["N130"]
}
]
},
{
"patient_control_number": "CLM-2026-03-1587",
"payer_claim_number": "ACN7829304598",
"status": "paid",
"charged_amount": 175000,
"paid_amount": 137500,
"patient_responsibility": 0,
"patient": {
"name": "John Doe",
"subscriber_id": "W987654321"
},
"service_date": "2026-02-16T00:00:00Z",
"service_end_date": null,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 37500
}
],
"service_lines": [
{
"procedure_code": "99214",
"modifiers": [],
"charged_amount": 175000,
"paid_amount": 137500,
"units": 1,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 37500
}
],
"remark_codes": []
}
]
}
]
}
Returns the parsed Electronic Remittance Advice (ERA) data for a transaction that originated from an insurance payment. The response contains the structured 835 data including claim-level payment details, adjustments, and service line breakdowns.Documentation Index
Fetch the complete documentation index at: https://docs.getlemma.com/llms.txt
Use this file to discover all available pages before exploring further.
Show Claim object
paid, denied, primary_forwarded, or
partial.0 for
denied claims or when applied entirely to adjustments.Show Adjustment object
CO (contractual obligation), PR
(patient responsibility), OA (other adjustment), or PI (payor
initiated).45 for charges exceeding the fee
schedule).Show Service line object
N130).{
"id": "era_Hn7wFj3cTd9yXk5v",
"transaction_id": "transaction_Wp5mRx3nKv8bTh2d",
"payer": {
"name": "Aetna Health Insurance",
"id": "60054"
},
"payee": {
"name": "Riverside Family Medicine",
"npi": "1234567890"
},
"payment": {
"amount": 325000,
"method": "check",
"check_number": "8294751036",
"date": "2026-03-12T00:00:00Z"
},
"claims": [
{
"patient_control_number": "CLM-2026-03-1542",
"payer_claim_number": "ACN7829304561",
"status": "paid",
"charged_amount": 250000,
"paid_amount": 187500,
"patient_responsibility": 5000,
"patient": {
"name": "Jane Smith",
"subscriber_id": "W123456789"
},
"service_date": "2026-02-15T00:00:00Z",
"service_end_date": null,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 57500
}
],
"service_lines": [
{
"procedure_code": "99213",
"modifiers": ["25"],
"charged_amount": 150000,
"paid_amount": 112500,
"units": 1,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 37500
}
],
"remark_codes": []
},
{
"procedure_code": "90471",
"modifiers": [],
"charged_amount": 100000,
"paid_amount": 75000,
"units": 1,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 20000
},
{
"group": "PR",
"reason_code": "2",
"reason": "Coinsurance amount",
"amount": 5000
}
],
"remark_codes": ["N130"]
}
]
},
{
"patient_control_number": "CLM-2026-03-1587",
"payer_claim_number": "ACN7829304598",
"status": "paid",
"charged_amount": 175000,
"paid_amount": 137500,
"patient_responsibility": 0,
"patient": {
"name": "John Doe",
"subscriber_id": "W987654321"
},
"service_date": "2026-02-16T00:00:00Z",
"service_end_date": null,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 37500
}
],
"service_lines": [
{
"procedure_code": "99214",
"modifiers": [],
"charged_amount": 175000,
"paid_amount": 137500,
"units": 1,
"adjustments": [
{
"group": "CO",
"reason_code": "45",
"reason": "Charge exceeds fee schedule/maximum allowable",
"amount": 37500
}
],
"remark_codes": []
}
]
}
]
}