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

# Edi837AckFile

Represents an EDI X12 997/999-style acknowledgement transaction set sent back to a clearinghouse in response to an inbound 837 bill submission, confirming acceptance or rejection of the original batch. It wraps a raw `IEdiFile`'s segments under the `I837AckFile` contract so `File837AckBuilder` can populate AK-segment content, and carries a reference to the `Batch` the acknowledgement responds to.

## Purpose
- Adapts a generic `IEdiFile` segment list into the `I837AckFile` contract shape expected by 837-acknowledgement builders and consumers.
- Associates the acknowledgement transaction set with the e-billing `Batch` it responds to.

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

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

## Behavioral notes
- The constructor performs no EDI-content validation; it assumes the supplied `file` already contains valid acknowledgement 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/Edi837AckFile.cs
