Tross
ELATION

Get patient charges

Read a patient's full charge ledger -- the "Patient Charges" view.

POSThttps://api.ontross.com/api/integrations/elation/get-patient-charges
Request Fields
input.billing_patient_id
string
required
Billing-module patient id whose charge ledger is read -- the id in the billing URL (billing.elationemr.com/<practice>/patients/<id>). Resolve it with search-billing-patients.
Example
"307393"
input.outstanding_only
boolean
Return only charge lines with an outstanding balance (balance greater than zero).
Example
false
Default
false
input.limit
integer
Optional cap on the number of charge lines returned, newest service date first. Omit to return the full ledger.
Example
100
auth_id
string
required
Saved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"
Output Fields
billing_patient_id
string
The patient whose charges these are.
Example
"307393"
count
integer
Number of charge lines returned.
Example
82
total_charge
string
Sum of the charge column across the returned lines.
Example
"2360.21"
total_paid
string
Sum of the paid column.
Example
"1593.42"
total_adjustment
string
Sum of the adjustment column.
Example
"766.79"
total_balance
string
Sum of the outstanding balance across the returned lines.
Example
"0.00"
charges
array
The patient's charge ledger, newest service date first.
charges[].date_of_service
string
Date the service was rendered (YYYY-MM-DD).
Example
"2023-07-12"
charges[].code
string
CPT/HCPCS procedure code billed.
Example
"99215"
charges[].units
string
Units billed.
Example
"1.00"
charges[].charge
string
Amount charged for the line.
Example
"281.59"
charges[].paid
string
Amount paid against the line.
Example
"189.77"
charges[].adjustment
string
Contractual or other adjustment applied to the line.
Example
"91.82"
charges[].balance
string
Outstanding balance on the line (charge minus paid minus adjustment).
Example
"0.00"
charges[].status
string
Settlement status of the line.
Example
"settled"
charges[].status_detail
string
Human-readable status detail.
Example
"Settled (Default Settle)"
charges[].claim_id
string
Billing-module claim id the charge belongs to.
Example
"16143"
charges[].charge_id
string
Billing-module charge/service-line id (unique per line).
Example
"4203302"
charges[].claim_number
string
Claim number assigned by the billing module.
Example
"590226421"
charges[].billed_date
string
Date the claim was first billed.
Example
"2024-11-19"
charges[].last_activity_date
string
Date of the most recent activity on the line.
Example
"2024-12-03"
Code
curl --request POST \
  --url https://api.ontross.com/api/integrations/elation/get-patient-charges \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"billing_patient_id":"307393","outstanding_only":false,"limit":100},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "billing_patient_id": "307393",
    "outstanding_only": false,
    "limit": 100
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "billing_patient_id": "307393",
    "count": 82,
    "total_charge": "2360.21",
    "total_paid": "1593.42",
    "total_adjustment": "766.79",
    "total_balance": "0.00",
    "charges": [
      {
        "date_of_service": "2023-07-12",
        "code": "99215",
        "units": "1.00",
        "charge": "281.59",
        "paid": "189.77",
        "adjustment": "91.82",
        "balance": "0.00",
        "status": "settled",
        "status_detail": "Settled (Default Settle)",
        "claim_id": "16143",
        "charge_id": "4203302",
        "claim_number": "590226421",
        "billed_date": "2024-11-19",
        "last_activity_date": "2024-12-03"
      }
    ]
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}