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

    Type Alias AchEntryData

    The ACH entry as the bank reported it, shared by the ACH and ACH_DEBIT arms of methodData.

    Both arms describe one ACH entry — they differ in which side of it we are, not in what the entry says — so the fields live here once instead of being repeated per arm. The NACHA-native names are kept verbatim (rather than being folded into description) so a reader can line a row up against the batch header and entry detail records when reconciling with the bank.

    Everything is optional: which fields a provider populates varies by rail and by provider, and Victor in particular sends most of these only sometimes.

    type AchEntryData = {
        achId?: string;
        achTraceId?: string;
        addenda?: string;
        companyDiscretionaryData?: string;
        companyEntryDescription?: string;
        companyId?: string;
        companyName?: string;
        secCode?: string;
        senderName?: string;
        sourceBankName?: string;
        sourceRoutingNumber?: string;
        targetBankName?: string;
        targetRoutingNumber?: string;
        victorTraceId?: string;
    }
    Index
    achId?: string
    achTraceId?: string

    Fed trace number (entry detail, positions 80-94).

    addenda?: string

    Payment-related information from the type-05 addenda record.

    companyDiscretionaryData?: string

    Company Discretionary Data (batch header, positions 21-40).

    companyEntryDescription?: string

    Company Entry Description (batch header, positions 54-63).

    companyId?: string

    Company Identification (batch header, positions 41-50).

    companyName?: string

    Company Name (batch header, positions 5-20).

    secCode?: string

    Standard Entry Class code — ccd, ppd, web, …

    senderName?: string

    Originating party — Company Name for CCD, Individual Name for PPD.

    sourceBankName?: string
    sourceRoutingNumber?: string
    targetBankName?: string
    targetRoutingNumber?: string
    victorTraceId?: string

    Victor's own trace id, distinct from the Fed trace in achTraceId.