---
title: LegalBillService
summary: API reference for LegalBillService.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# LegalBillService

`LegalBillService` is a data-carrier contract (DTO) in the Legal / Bills area of SAIF.SAIFCode.Core, exposing the properties SAIF.Services and its consumers read and populate for this entity*.

## Purpose
- Carries data for the Legal / Bills area, consumed by SAIF.Services and other layers that reference this library's contracts*.

## Context
- Namespace: `SAIF.Core.Contracts.Legal.Bills`
- Kind: Class
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `Id` | `long Id { get; set; }` | Represents the ID associated with this LegalBillService*. |
| `ServiceFromDate` | `DateTime ServiceFromDate { get; set; }` | Records the date of the service from*. |
| `ServiceThruDate` | `DateTime? ServiceThruDate { get; set; }` | Records the date of the service thru*. |
| `BillService` | `BillServiceCode BillService { get; set; }` | Represents the bill service associated with this LegalBillService*. |
| `BilledAmount` | `decimal BilledAmount { get; set; }` | Records the monetary amount of the billed*. |
| `BilledQuantity` | `string BilledQuantity { get; set; }` | Records the quantity of billed*. |
| `PaidAmount` | `decimal PaidAmount { get; set; }` | Records the monetary amount of the paid*. |
| `BilledUnits` | `long BilledUnits { get; set; }` | Represents the billed units associated with this LegalBillService*. |
| `AdjustmentReasonText` | `string AdjustmentReasonText { get; set; }` | Holds free-text text recorded against this LegalBillService*. |
| `AdjustmentReason` | `AdjustmentReason AdjustmentReason { get; set; }` | Represents the adjustment reason associated with this LegalBillService*. |
| `BillServiceRateType` | `BillServiceRateType BillServiceRateType { get; set; }` | Classifies the bill service rate type applicable to this LegalBillService*. |
| `IsPossibleDuplicate` | `bool IsPossibleDuplicate { get; set; }` | Indicates whether possible duplicate applies to this LegalBillService*. |
| `ParentBillServiceId` | `long ParentBillServiceId { get; set; }` | References the identifier of the associated parent bill service record*. |
| `IsAmended` | `bool IsAmended { set; }` | Indicates whether this LegalBillService is a amended*. |

> **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
- Core/SAIF.Core/Contracts/Legal/Bills/LegalBillService.cs
