UNPKG

@midlandsbank/node-nacha

Version:

NACHA ACH EFT File Parser/Formatter for CCD+ / PPD+ / CTX+

5 lines (4 loc) 209 B
const accountTypeDictionary = require('../accountTypeDictionary') module.exports = function getAccountTypeCode(accountType) { return accountTypeDictionary[accountType] || '2'; // Default to Checking ('2') }