@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias AchFileMetadata

    Snapshot of an ACH file's contents, crystallized at create (NACHA-generation) and at archive time. achBatchIds is populated when AchFileService.archive detaches the FK, so historical lookups can still resolve batches that no longer point at the file. withdrawalIds / depositIds / recordCount / totalAmount freeze the file's contents so archived files still render their count, sum, and transactions instead of zeros once the FK is detached. Same batch-id/transaction-id idea as wire_file.metadata, but richer: the wire variant has no crystallized recordCount / totalAmount.

    type AchFileMetadata = {
        achBatchIds?: string[];
        depositIds?: string[];
        recordCount?: number;
        totalAmount?: string;
        withdrawalIds?: string[];
    }
    Index

    Properties

    achBatchIds?: string[]
    depositIds?: string[]

    Contained transaction ids — DEPOSIT files.

    recordCount?: number

    Crystallized transaction count.

    totalAmount?: string

    Crystallized sum (numeric text, BigNumber-parseable).

    withdrawalIds?: string[]

    Contained transaction ids — WITHDRAWAL files.