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

# LegalBill

`LegalBill` 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 LegalBill*. |
| `CaseId` | `long CaseId { get; set; }` | Uniquely identifies the case value recorded on this LegalBill*. |
| `CaseNumber` | `string CaseNumber { get; set; }` | Uniquely identifies the case recorded on this LegalBill*. |
| `IsConflictWorker` | `bool IsConflictWorker { get; set; }` | Indicates whether conflict worker applies to this LegalBill*. |
| `ReceivedDate` | `DateTime ReceivedDate { get; set; }` | Records the date of the received*. |
| `IssueDate` | `DateTime IssueDate { get; set; }` | Records the date of the issue*. |
| `InvoiceText` | `string InvoiceText { get; set; }` | Holds free-text text recorded against this LegalBill*. |
| `Comment` | `string Comment { get; set; }` | Holds free-text comment recorded against this LegalBill*. |
| `NewComment` | `string NewComment { get; set; }` | Holds free-text comment recorded against this LegalBill*. |
| `BillStatus` | `BillStatus BillStatus { get; set; }` | Records the current status of the bill*. |
| `ParentBillId` | `long ? ParentBillId { get; set; }` | References the identifier of the associated parent bill record*. |
| `RequestedByEmployeeId` | `string RequestedByEmployeeId { get; set; }` | References the identifier of the associated requested by employee record*. |
| `ApprovedByEmployeeId` | `string ApprovedByEmployeeId { get; set; }` | References the identifier of the associated approved by employee record*. |
| `ApprovedDate` | `DateTime? ApprovedDate { get; set; }` | Records the date of the approved*. |
| `IsPrepayment` | `bool IsPrepayment { get; set; }` | Indicates whether this LegalBill is a prepayment*. |
| `SpecialHandling` | `SpecialHandling SpecialHandling { get; set; }` | Represents the special handling associated with this LegalBill*. |
| `WitnessInformation` | `string WitnessInformation { get; set; }` | Represents the witness information associated with this LegalBill*. |
| `BillServices` | `IList<LegalBillService> BillServices { get; set; }` | Contains the collection of LegalBillService entries associated with this LegalBill*. |
| `UpdateUser` | `string UpdateUser { get; set; }` | Identifies the user tied to the update on this LegalBill*. |
| `UpdateDate` | `DateTime? UpdateDate { get; set; }` | Records the date of the update*. |
| `UpdateNumber` | `int UpdateNumber { get; set; }` | Uniquely identifies the update recorded on this LegalBill*. |
| `CreateDate` | `DateTime CreateDate { get; set; }` | Records the date of the create*. |
| `CreateUser` | `string CreateUser { get; set; }` | Identifies the user tied to the create on this LegalBill*. |
| `ProviderData` | `ProviderData ProviderData { set; }` | Represents the provider data associated with this LegalBill*. |

> **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/LegalBill.cs
