---
title: IEbillBatchQueryProvider
summary: API reference for IEbillBatchQueryProvider.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data
reference_type: package
---

# IEbillBatchQueryProvider

Contract implemented by `EbillBatchQueryProvider`.

## Purpose
- Defines the members that `EbillBatchQueryProvider` must provide to callers of this abstraction.

## Context
- Namespace: `SAIF.Data.Queries.Claims.Ebilling`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| GetBatch | `EbillBatch GetBatch(long batchId)` | Retrieves batch.* |
| GetBatch | `EbillBatch GetBatch(long batchId, EbillClearinghouse clearinghouse)` | Retrieves batch.* |
| GetBatch | `EbillBatch GetBatch(string batchType, DateTime fileDateTime)` | Retrieves batch.* |
| GetBatch | `EbillBatch GetBatch(string batchType, DateTime fileDateTime, EbillClearinghouse clearinghouse)` | Retrieves batch.* |
| GetFirstBatch | `EbillBatch GetFirstBatch(string batchType, string batchStatus)` | Retrieves first batch.* |
| GetFirstBatch | `EbillBatch GetFirstBatch(string batchType, string batchStatus, EbillClearinghouse clearinghouse)` | Retrieves first batch.* |
| GetLastBatch | `EbillBatch GetLastBatch(string batchType)` | Retrieves last batch.* |
| GetLastBatch | `EbillBatch GetLastBatch(string batchType, EbillClearinghouse clearinghouse)` | Retrieves last batch.* |
| GetLastBatch | `EbillBatch GetLastBatch(string batchType, string batchStatus)` | Retrieves last batch.* |
| GetBatchType | `EbillBatchTypeCode GetBatchType(string code)` | Retrieves batch type.* |
| GetBatchTypeEbill | `EbillBatchTypeCode GetBatchTypeEbill()` | Retrieves batch type ebill.* |
| GetBatchTypePaymentAdvice | `EbillBatchTypeCode GetBatchTypePaymentAdvice()` | Retrieves batch type payment advice.* |
| GetBatchStatus | `EbillBatchStatusCode GetBatchStatus(string code)` | Retrieves batch status.* |
| GetBatchTypeCode | `EbillBatchTypeCode GetBatchTypeCode(string batchType)` | Retrieves batch type code.* |

## Behavioral notes
- As an interface, this type defines no executable behavior of its own; behavior is determined by its implementation(s).*

## Constraints and usage notes
- Callers should depend on this interface rather than the concrete implementation(s) (`EbillBatchQueryProvider`) to preserve testability.*

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Data/SAIF.Data/Queries/Claims/Ebilling/IEbillBatchQueryProvider.cs`
