---
title: clsBilling
summary: API reference for clsBilling.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.EAIP
reference_type: package
---

# clsBilling

`clsBilling` represents an EAIP billing record for a claim period, including billed dates, admin fees, bill type, reimbursement totals, and related expense billings.*

## Purpose

- Tracks header-level EAIP billing data such as the claim, period, bill date, and bill type.*
- Aggregates the `ExpenseBillings` items and total amounts that make up a generated bill.

## Context

- Namespace: `Billing`
- Assembly/package: `SAIF.Business.Claim.EAIP`

## Public members

| Member | Signature | Purpose |
| --- | --- | --- |
| `BillingID` | `Public ReadOnly Property BillingID() As Integer` | Returns billing i d. |
| `BilledDate` | `Public Property BilledDate() As Date` | Gets or sets billed date. |
| `ClaimID` | `Public Property ClaimID() As Decimal` | Gets or sets claim i d. |
| `PeriodID` | `Public Property PeriodID() As Decimal` | Gets or sets period i d. |
| `AdminFeeAmount` | `Public Property AdminFeeAmount() As Decimal` | Gets or sets admin fee amount. |
| `AfEaipReimbusementDetailID` | `Public Property AfEaipReimbusementDetailID() As Integer` | Gets or sets af eaip reimbusement detail i d. |
| `BilledAmount` | `Public Property BilledAmount() As Decimal` | Gets or sets billed amount. |
| `ReimbursedTotal` | `Public ReadOnly Property ReimbursedTotal() As Decimal` | Returns reimbursed total. |
| `TypeCode` | `Public Property TypeCode() As String` | Gets or sets type code. |
| `TypeCodes` | `Public ReadOnly Property TypeCodes() As CodeTables.clsEaipBillingTypeCodes` | Returns type codes. |
| `ExpenseBillings` | `Public ReadOnly Property ExpenseBillings() As clsExpenseBilling.clsExpenseBillingCollection` | Returns expense billings. |
| `CreationInfo` | `Public WriteOnly Property CreationInfo() As clsRecordInfo` | Gets or sets creation info. |
| `CreateDate` | `Public ReadOnly Property CreateDate() As Date` | Returns create date. |
| `CreateUser` | `Public ReadOnly Property CreateUser() As String` | Returns create user. |
| `UpdateInfo` | `Public WriteOnly Property UpdateInfo() As clsUpdateInfo` | Gets or sets update info. |
| `UpdateDate` | `Public ReadOnly Property UpdateDate() As Date` | Returns update date. |
| `UpdateUser` | `Public ReadOnly Property UpdateUser() As String` | Returns update user. |
| `UpdateNumber` | `Public ReadOnly Property UpdateNumber() As Integer` | Returns update number. |
| `IsDirty` | `Public Overrides ReadOnly Property IsDirty() As Boolean` | Returns is dirty. |
| `IsValid` | `Public Overrides ReadOnly Property IsValid() As Boolean` | Returns is valid. |
| `NewBilling` | `Public Shared Function NewBilling(ByVal inDPI As IDataPortalInfo) As clsBilling` | Executes the `NewBilling` operation. |
| `GetBilling` | `Public Shared Function GetBilling(ByVal inDPI As IDataPortalInfo, ByVal inBillingID As Integer) As clsBilling` | Retrieves the `GetBilling` operation. |
| `DataPortalInfo` | `Public Property DataPortalInfo() As Framework.IDataPortalInfo Implements Framework.IBusinessCriteria.DataPortalInfo` | Gets or sets data portal info. |
| `BillingID` | `Public Property BillingID() As Integer` | Gets or sets billing i d. |
| `CreateSQL` | `Public ReadOnly Property CreateSQL() As String Implements Framework.IBusinessCriteria.CreateSQL` | Returns create s q l. |
| `DeleteSQL` | `Public ReadOnly Property DeleteSQL() As String Implements Framework.IBusinessCriteria.DeleteSQL` | Returns delete s q l. |
| `InsertSQL` | `Public ReadOnly Property InsertSQL() As String Implements Framework.IBusinessCriteria.InsertSQL` | Returns insert s q l. |
| `RetrieveSQL` | `Public ReadOnly Property RetrieveSQL() As String Implements Framework.IBusinessCriteria.RetrieveSQL` | Returns retrieve s q l. |
| `UpdateSQL` | `Public ReadOnly Property UpdateSQL() As String Implements Framework.IBusinessCriteria.UpdateSQL` | Returns update s q l. |
| `New` | `Public Sub New(ByVal inDPI As IDataPortalInfo)` | Executes the `New` operation. |
| `New` | `Public Sub New(ByVal inDPI As IDataPortalInfo, ByVal inBillingID As Integer)` | Executes the `New` operation. |
| `GetBillings` | `Public Shared Function GetBillings(ByVal inDPI As IDataPortalInfo, ByVal inClaimID As Decimal` | Retrieves the `GetBillings` operation. |
| `GetUnreconciledAdminFees` | `Public Shared Function GetUnreconciledAdminFees(ByVal inDPI As IDataPortalInfo) As clsBusinessCollection(Of clsBilling)` | Retrieves the `GetUnreconciledAdminFees` operation. |
| `GetBillingsByPeriod` | `Public Shared Function GetBillingsByPeriod(ByVal inDPI As IDataPortalInfo, ByVal inPeriodID As Decimal` | Retrieves the `GetBillingsByPeriod` operation. |
| `GetUnreconciledAdminFeesFromApi` | `Public Shared Function GetUnreconciledAdminFeesFromApi(ByVal inDPI As IDataPortalInfo) As UnreconciledAdminFees()` | Retrieves the `GetUnreconciledAdminFeesFromApi` operation. |

## Inherited public members

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| `MyGuid` | `Public ReadOnly Property MyGuid() As String` | Returns the object's generated GUID identifier.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `IsNew` | `Public ReadOnly Property IsNew() As Boolean` | Indicates whether the object represents unsaved data.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `IsDeleted` | `Public ReadOnly Property IsDeleted() As Boolean` | Indicates whether the object has been marked for deletion.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `SetValueOnChange` | `Public Function SetValueOnChange(Of T)(ByRef inFieldValue As T, ByVal inSetValue As T, Optional ByVal inMarkDirty As Boolean = True) As Boolean` | Assigns a new field value only when it differs and optionally marks the object dirty.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `Rules` | `Public ReadOnly Property Rules() As clsRulesManager` | Exposes the BOF rules manager for validation and messages.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `Save` | `Public Overridable Function Save() As Boolean` | Persists the object through the BOF save pipeline.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `SaveChild` | `Public Overridable Function SaveChild() As Boolean` | Persists the object as a BOF child object.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `ToXml` | `Public Function ToXml() As String` | Returns the object's XML representation using the configured default tag name.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |

## Behavioral notes

- This type is documented from its source declaration.
- The type participates in the `clsBusinessBase` inheritance path used by `SAIF.Business.Claim.EAIP`.

## Constraints and usage notes

- Consumers should rely on the public members and BOF lifecycle patterns visible in the source file.

> **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

- `Business\SAIF.Business.Claim.EAIP\Billing\clsBilling.vb`
- `Legacy\BusinessObjectFramework\clsBusinessBase.vb`
