---
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 a parsed EDI 999 (functional acknowledgment) transaction file, implementing `I999File` and extending `EdiFile` (from `SAIF.Common.Files.Edi`) to add a `Batch` reference, constructed by copying the segments and file name from an already-parsed generic `IEdiFile`.

## Purpose
- Wraps a generically parsed `IEdiFile` as a strongly typed EDI 999 acknowledgment file, carrying its segments and file name forward.
- Associates the 999 file with the `Batch` it acknowledges.

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Edi999File(...) | `public Edi999File(IEdiFile file)` | Copies `file`'s segments and file name into this instance via the base `EdiFile`'s `SetSegments`. |
| Batch | `public Batch Batch { get; set; }` | The batch record this 999 acknowledgment file corresponds to. |

## Sources
- Services/SAIF.Services/Edi/Edi999File.cs
