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

# Edi999File

Represents an EDI X12 999 (Functional Acknowledgement) transaction set — the acceptance/rejection response used by `EbillingService.ProcessEOBAcknowledgementFile` to process 835 EOB acknowledgement responses via AK9/AK2/IK5 segments. It wraps a raw `IEdiFile`'s segments under the `I999File` contract, and carries a reference to the `Batch` the acknowledgement pertains to.

## Purpose
- Adapts a generic `IEdiFile` segment list into the `I999File` contract shape expected by 999 acknowledgement-processing logic.
- Associates the acknowledgement transaction set with the e-billing `Batch` it pertains to.

## Context
- Namespace: `SAIF.Services.Claims.Ebilling`
- Assembly/package: `SAIF.Services` (packaged inside the `SAIF.SAIFCode.Core` NuGet package)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Edi999File | `public Edi999File(IEdiFile file)` | Copies the segments and file name from an existing `IEdiFile` into this 999-typed wrapper. |
| Batch | `public Core.Contracts.Claims.Ebilling.Batch Batch { get; set; }` | The e-billing batch this 999 acknowledgement transaction set is associated with. |

## Behavioral notes
- The constructor performs no EDI-content validation; it assumes the supplied `file` already contains valid 999 segments.*

> **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
- Services/SAIF.Services/Claims/EBilling/Edi999File.cs
