@cfxlabsinc/b2b-services
    Preparing search index...
    interface AchFile {
        achBatchIds?: string[];
        bucketName: string;
        bucketPath: string;
        createdAt: Date;
        depositIds?: string[];
        fileName: string;
        id: string;
        recordCount?: number;
        status: "CREATED" | "SUBMITTED" | "ARCHIVED";
        totalAmount?: string;
        type: "WITHDRAWAL" | "DEPOSIT";
        updatedAt: Date;
        withdrawalIds?: string[];
    }
    Index

    Properties

    achBatchIds?: string[]

    Snapshot of which ach_batches belonged to this file. Populated by AchFileService.archive before the FK is detached so that archived files keep a historical record of their contents. Undefined for CREATED files (use the FK lookup) and may be undefined for SUBMITTED files too — only ARCHIVED files are guaranteed to carry it.

    bucketName: string
    bucketPath: string
    createdAt: Date
    depositIds?: string[]
    fileName: string
    id: string
    recordCount?: number
    status: "CREATED" | "SUBMITTED" | "ARCHIVED"
    totalAmount?: string
    type: "WITHDRAWAL" | "DEPOSIT"
    updatedAt: Date
    withdrawalIds?: string[]

    Crystallized contents of the file, snapshotted at create (NACHA generation) and archive so display survives the FK detach. withdrawalIds / depositIds are the contained transaction ids; recordCount / totalAmount the frozen count and sum. Undefined for files created before snapshotting landed.