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

# Bill

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

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

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Id | `long Id { get; set; }` | Primary key / surrogate identifier for this record.* |
| BillReport | `BillReport BillReport { get; set; }` | Reference to the associated `BillReport` record.* |
| BillId | `long BillId { get; set; }` | Foreign-key identifier referencing the related bill record.* |
| ClaimId | `long ClaimId { get; set; }` | Foreign-key identifier referencing the related claim record.* |
| SaifClaimNumber | `string SaifClaimNumber { get; set; }` | Value of saif claim number exposed by this type.* |
| PolicyNumber | `string PolicyNumber { get; set; }` | Value of policy number exposed by this type.* |
| BillClaimSegmentId | `long BillClaimSegmentId { get; set; }` | Foreign-key identifier referencing the related bill claim segment record.* |
| UpdateDate | `DateTime UpdateDate { get; set; }` | Date/time value for update date.* |
| UpdateNumber | `long UpdateNumber { get; set; }` | Value of update number exposed by this type.* |
| UpdateUser | `string UpdateUser { get; set; }` | Value of update user exposed by this type.* |

## 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/Edi/Bill.cs`
