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

# LegalBillService

Domain entity representing Legal bill service data within the legal bills area of the claims/policy domain, mapped for NHibernate persistence.*

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

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Id | `long Id { get; set; }` | Primary key / surrogate identifier for this record.* |
| LegalBill | `LegalBill LegalBill { get; set; }` | Reference to the associated `LegalBill` record.* |
| ServiceFromDate | `DateTime ServiceFromDate { get; set; }` | Date/time value for service from date.* |
| ServiceThruDate | `DateTime? ServiceThruDate { get; set; }` | Date/time value for service thru date.* |
| BillService | `BillService BillService { get; set; }` | Reference to the associated `BillService` record.* |
| IsAmended | `bool IsAmended { get; set; }` | Indicates whether amended.* |
| BilledAmount | `decimal BilledAmount { get; set; }` | Monetary amount for billed amount.* |
| PaidAmount | `decimal PaidAmount { get; set; }` | Monetary amount for paid amount.* |
| BilledUnits | `long BilledUnits { get; set; }` | Value of billed units exposed by this type.* |
| AdjustmentReasonText | `string AdjustmentReasonText { get; set; }` | Value of adjustment reason text exposed by this type.* |
| AdjustmentReason | `AdjustmentReason AdjustmentReason { get; set; }` | Reference to the associated `AdjustmentReason` record.* |
| BillServiceRateType | `BillServiceRateType BillServiceRateType { get; set; }` | Reference to the associated `BillServiceRateType` record.* |
| ParentBillServiceId | `long? ParentBillServiceId { get; set; }` | Foreign-key identifier referencing the related parent bill service record.* |
| CreateDate | `DateTime CreateDate { get; set; }` | Date/time value for create date.* |
| CreateUser | `string CreateUser { get; set; }` | Value of create user exposed by this type.* |
| UpdateDate | `DateTime? UpdateDate { get; set; }` | Date/time value for update date.* |
| UpdateUser | `string UpdateUser { get; set; }` | Value of update user exposed by this type.* |
| UpdateNumber | `int UpdateNumber { get; set; }` | Value of update number 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/Legal/Bills/LegalBillService.cs`
