---
title: Get e-bill EOB extract
summary: Retrieve the e-bill explanation-of-benefits extract from the Medical Billing API for a given clearinghouse.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data
reference_type: package
operation_id: OP-SD-03
trigger: Caller requests an EOB extract for a clearinghouse code.
---

# Get e-bill EOB extract

Retrieve the e-bill explanation-of-benefits extract from the Medical Billing API for a given clearinghouse.

| Field | Value |
| --- | --- |
| **Operation ID** | OP-SD-03 |
| **Trigger** | Caller requests an EOB extract for a clearinghouse code. |
| **Inputs** | Clearinghouse code, row limit |
| **Outputs** | Deserialized EOB extract result |
| **Primary components** | `MedicalBillingApiService.GetEbillEobExtract` |
| **Entry point** | `Data/SAIF.Data/Clients/MedicalBillingApiService.cs` |

## Steps

1. Resolve the URL (`cc.medicalbillingapiurl`) and credentials (`medicalbillingapi.creds`); the timeout is 10 minutes ([SD-BR-003](../business-rules.md#sd-br-003-service-base-url-must-come-from-environment-configuration), [SD-BR-004](../business-rules.md#sd-br-004-credentials-retrieved-from-secure-setting-decrypted-with-system-hash)).
2. GET `v2/Integration/EbillEobExtract?clearinghouseCode={code}&rowLimit={n}` and deserialize the result.

## Process flow

The following diagram visualizes this operation's control flow.

```mermaid
flowchart TD
	Start([Caller requests an EOB extract for a clearinghouse code.]) --> S1["`MedicalBillingApiService.GetEbillEobExtract`"]
	S1 --> S2{"Rules satisfied?"}
	S2 -->|Yes| EndOk([Result returned])
	S2 -->|No| EndErr([Exception / empty result])
```

## Failure and edge-case behavior
- Non-success HTTP status: propagated per `HttpClientBase` `ensureSuccess` handling.

## Related documentation
- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)
- [SQL catalog](../sql/index.md)
- [Database tables](../database-tables.md)


## Sources
- `Data/SAIF.Data/Clients/MedicalBillingApiService.cs`
