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

# BillService

`BillService` is a data-carrier contract (DTO) in the Claims / 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 Claims / Bills area, consumed by SAIF.Services and other layers that reference this library's contracts*.

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `PrescribingProviderLocation` | `ProviderLocation PrescribingProviderLocation { get; set; }` | Represents the prescribing provider location associated with this BillService*. |
| `ServicingProviderLocation` | `ProviderLocation ServicingProviderLocation { get; set; }` | Represents the servicing provider location associated with this BillService*. |
| `PharmacyDispenseAsWrittenCode` | `string PharmacyDispenseAsWrittenCode { get; set; }` | Classifies the pharmacy dispense as written using a coded value*. |
| `Id` | `int Id { get; set; }` | Represents the ID associated with this BillService*. |
| `BillServiceDate` | `DateTime? BillServiceDate { get; set; }` | Records the date of the bill service*. |
| `BillServiceEndDate` | `DateTime? BillServiceEndDate { get; set; }` | Records the date of the bill service end*. |
| `ProviderServiceCode` | `string ProviderServiceCode { get; set; }` | Classifies the provider service using a coded value*. |
| `ServiceModifierCode1` | `string ServiceModifierCode1 { get; set; }` | Represents the service modifier code1 associated with this BillService*. |
| `ServiceModifierCode2` | `string ServiceModifierCode2 { get; set; }` | Represents the service modifier code2 associated with this BillService*. |
| `ServiceModifierCode3` | `string ServiceModifierCode3 { get; set; }` | Represents the service modifier code3 associated with this BillService*. |
| `ServiceModifierCode4` | `string ServiceModifierCode4 { get; set; }` | Represents the service modifier code4 associated with this BillService*. |
| `ServiceQuantity` | `decimal? ServiceQuantity { get; set; }` | Records the quantity of service*. |
| `ChargeAmount` | `decimal? ChargeAmount { get; set; }` | Records the monetary amount of the charge*. |
| `MsrpInvoiceAmount` | `decimal? MsrpInvoiceAmount { get; set; }` | Records the monetary amount of the msrp invoice*. |
| `ToothNumber` | `decimal? ToothNumber { get; set; }` | Uniquely identifies the tooth recorded on this BillService*. |
| `ServiceLocationCode` | `string ServiceLocationCode { get; set; }` | Classifies the service location using a coded value*. |
| `DaysSupplyQuantity` | `decimal? DaysSupplyQuantity { get; set; }` | Records the quantity of days supply*. |
| `BillServiceTypeCode` | `string BillServiceTypeCode { get; set; }` | Classifies the bill service type using a coded value*. |
| `UpdateUser` | `string UpdateUser { get; set; }` | Identifies the user tied to the update on this BillService*. |
| `UpdateNumber` | `int UpdateNumber { get; set; }` | Uniquely identifies the update recorded on this BillService*. |
| `UpdateDate` | `DateTime UpdateDate { get; set; }` | Records the date of the update*. |
| `SecondaryProvServiceCode` | `string SecondaryProvServiceCode { get; set; }` | Classifies the secondary prov service using a coded value*. |
| `DiagnosisPointerCode1` | `string DiagnosisPointerCode1 { get; set; }` | Represents the diagnosis pointer code1 associated with this BillService*. |
| `DiagnosisPointerCode2` | `string DiagnosisPointerCode2 { get; set; }` | Represents the diagnosis pointer code2 associated with this BillService*. |
| `DiagnosisPointerCode3` | `string DiagnosisPointerCode3 { get; set; }` | Represents the diagnosis pointer code3 associated with this BillService*. |
| `DiagnosisPointerCode4` | `string DiagnosisPointerCode4 { get; set; }` | Represents the diagnosis pointer code4 associated with this BillService*. |
| `SecondaryBillServiceTypeCode` | `string SecondaryBillServiceTypeCode { get; set; }` | Classifies the secondary bill service type using a coded value*. |
| `PrescriptionWrittenDate` | `DateTime? PrescriptionWrittenDate { get; set; }` | Records the date of the prescription written*. |
| `DisplayAsWrittenCode` | `string DisplayAsWrittenCode { get; set; }` | Classifies the display as written using a coded value*. |
| `CompoundDrugFlag` | `string CompoundDrugFlag { get; set; }` | Represents the compound drug flag associated with this BillService*. |
| `PrescribingProviderId` | `string PrescribingProviderId { get; set; }` | References the identifier of the associated prescribing provider record*. |
| `PrescriberLastName` | `string PrescriberLastName { get; set; }` | Holds the prescriber last name recorded on this BillService*. |
| `PrescriberFirstName` | `string PrescriberFirstName { get; set; }` | Holds the prescriber first name recorded on this BillService*. |
| `TaxChargedAmount` | `decimal? TaxChargedAmount { get; set; }` | Records the monetary amount of the tax charged*. |
| `PrescribingProviderCode` | `string PrescribingProviderCode { get; set; }` | Classifies the prescribing provider using a coded value*. |
| `CbpAuditedServices` | `IList<AuditedService> CbpAuditedServices { get; set; }` | Contains the collection of AuditedService entries associated with this BillService*. |
| `PriorServices` | `IList<BillService> PriorServices { set; }` | Contains the collection of BillService entries associated with this BillService*. |

> **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/Claims/Bills/BillService.cs
