afi-generate
v1.0.5
Published
IB4B afi/txt file generation
Downloads
86
Maintainers
Readme
IB4B afi/txt file generation Node.js
Generate IB4B .afi/.txt Files from Node.js 🎇 Exports transaction files into Internet Banking for Business (IB4B).
Implemented according to general BNZ documentation.
Basic usage:
const ib4b = new IB4B({
account: '0201000123456000',
});
const transaction = {
transactionCode: IB4B.CREDIT,
account: '0200123456789000',
amount: '12.50',
accountTitle: 'The Electrician Corp',
reference: 'AZ100364C',
remitter: 'ACME CORPORATION',
};
const file = ib4b.generate([transaction]);