E-Payment Integrator 2020 macOS Edition

Questions / Feedback?

VerifyMode Property

Determines how the totals in the Batch and File control records are validated.

Syntax

public var verifyMode: AchconverterVerifyModes {
get {...}
set {...} }

public enum AchconverterVerifyModes: Int32 { case vmValidateTotals = 0 case vmComputeTotals = 1 case vmNoValidation = 2 }

Default Value

0

Remarks

Batch Control Records contain several fields that provide information about each batch included in the ACH file. These include an Entry Count (number of records in the batch), Credit Total (total funds added to the merchant's account), Debit Total (total of funds removed from the merchant's account), and a hash used to verify that there are no missing transactions. The ending File Control record contains similar information about the entire batch The final record in an ACH file is the File Control Record. This record contains several fields that provide information about all of the batches and all of the transactions in the ACH file. These fields are exposed in the following properties:

FileBatchCountTotal number of batches contained in this ACH File.
FileBlockCountTotal number of blocks (each block consists of 960 characters).
FileCreditTotalGross amount of funds deposited into the merchant's account.
FileDebitTotalGross amount of funds removed from the merchant's account
FileEntryCountTotal number of entries in the file (sum of all entries in each batch)
FileEntryHashUsed to validate that there are no transactions missing from the file

There are similar fields for each of the batches contained within the ACH file, but only the final totals are exposed. The class carefully computes these values as the input is parsed, and the table below shows how they are validated:

Verify ModeDescription
vmValidateTotals (0)The totals listed in each control record in the file are compared against the totals that the class computes itself. If there is any mismatch, the class fails with an error.
vmComputeTotals (1)The totals listed in each control record in the file are ignored. The values computed by the class are substituted. This is useful when adding or removing records from the ACH or XML files.
vmNoValidation (2)No validation is performed. The values in the file are used, and the computed values are ignored.

Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 macOS Edition - Version 20.0 [Build 7941]