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

# Ebill

Domain entity representing Ebill data within the claims ebilling area of the claims/policy domain, mapped for NHibernate persistence.*

## Purpose
- Models ebill data used by the claims ebilling area of this library.*
- Inherits shared identity/lifecycle behavior from `EntityBase`.

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Id | `long Id { get; set; }` | Primary key / surrogate identifier for this record.* |
| Bill | `CbpBill Bill { get; set; }` | Reference to the associated `CbpBill` record.* |
| ReceiptBatch | `EbillBatch ReceiptBatch { get; set; }` | Reference to the associated `EbillBatch` record.* |
| Patient | `EbillPatient Patient { get; set; }` | Reference to the associated `EbillPatient` record.* |
| Eob | `EbillEob Eob { get; set; }` | Reference to the associated `EbillEob` record.* |
| ResponseSet | `EbillResponseSet ResponseSet { get; set; }` | Reference to the associated `EbillResponseSet` record.* |
| Status | `EbillStatusCode Status { get; set; }` | Reference to the associated `EbillStatusCode` record.* |
| FacilityAddress | `EbillAddress FacilityAddress { get; set; }` | Reference to the associated `EbillAddress` record.* |
| FirstResponseBatch | `EbillBatch FirstResponseBatch { get; set; }` | Reference to the associated `EbillBatch` record.* |
| LastResponseBatch | `EbillBatch LastResponseBatch { get; set; }` | Reference to the associated `EbillBatch` record.* |
| CbpAdmissionTypeCode | `string CbpAdmissionTypeCode { get; set; }` | Coded value identifying cbp admission type code.* |
| ClearinghouseControlNumber | `string ClearinghouseControlNumber { get; set; }` | Value of clearinghouse control number exposed by this type.* |
| StatementFromDate | `DateTime? StatementFromDate { get; set; }` | Date/time value for statement from date.* |
| StatementThruDate | `DateTime? StatementThruDate { get; set; }` | Date/time value for statement thru date.* |
| SetType | `EbillSetTypeCode SetType { get; set; }` | Reference to the associated `EbillSetTypeCode` record.* |
| InjuryDate | `DateTime? InjuryDate { get; set; }` | Date/time value for injury date.* |
| AdmissionDate | `DateTime? AdmissionDate { get; set; }` | Date/time value for admission date.* |
| DischargeDate | `DateTime? DischargeDate { get; set; }` | Date/time value for discharge date.* |
| OriginalBillId | `long? OriginalBillId { get; set; }` | Foreign-key identifier referencing the related original bill record.* |
| TotalAmount | `Decimal TotalAmount { get; set; }` | Monetary amount for total amount.* |
| UbBillTypeCode | `string UbBillTypeCode { get; set; }` | Coded value identifying ub bill type code.* |
| ServiceLocationCode | `string ServiceLocationCode { get; set; }` | Coded value identifying service location code.* |
| FacilityNpi | `long? FacilityNpi { get; set; }` | Value of facility npi exposed by this type.* |
| SubmitterControlNumber | `string SubmitterControlNumber { get; set; }` | Value of submitter control number exposed by this type.* |
| TransactionSetControlNumber | `string TransactionSetControlNumber { get; set; }` | Value of transaction set control number exposed by this type.* |
| UpdateUser | `string UpdateUser { get; set; }` | Value of update user exposed by this type.* |
| UpdateDate | `DateTime UpdateDate { get; set; }` | Date/time value for update date.* |
| UpdateNumber | `int UpdateNumber { get; set; }` | Value of update number exposed by this type.* |
| ClearinghouseReceivedDate | `DateTime? ClearinghouseReceivedDate { get; set; }` | Date/time value for clearinghouse received date.* |
| Services | `IList<EbillService> Services { get; set; }` | Value of services exposed by this type.* |
| HealthInformations | `IList<EbillHealthInformation> HealthInformations { get; set; }` | Value of health informations exposed by this type.* |
| Documents | `IList<EbillDocument> Documents { get; set; }` | Value of documents exposed by this type.* |
| EobAdjustments | `IList<EbillEobAdjustment> EobAdjustments { get; set; }` | Value of eob adjustments exposed by this type.* |
| AddDocument | `void AddDocument(EbillDocument document)` | Adds document.* |
| AddService | `void AddService(EbillService service)` | Adds service.* |
| AddHealthInformation | `void AddHealthInformation(EbillHealthInformation healthInformation)` | Adds health information.* |
| Ebill() | `Ebill()` | Initializes a new instance of the type with the supplied dependencies.* |

## Behavioral notes
- Properties are typically declared `virtual` to support NHibernate lazy-loading proxies (see the corresponding mapping file under `Data/SAIF.Data.NHibernate`).*

## Constraints and usage notes
- No additional usage constraints beyond standard NHibernate entity/DTO conventions could be confirmed from static analysis.**

> **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/Model/Claims/Ebilling/Ebill.cs`
