{"id":22514688,"url":"https://github.com/cityssm/node-eft-generator","last_synced_at":"2025-08-03T16:31:11.420Z","repository":{"id":196210819,"uuid":"695156454","full_name":"cityssm/node-eft-generator","owner":"cityssm","description":"Formats Electronic Funds Transfer (EFT) data into the CPA 005 standard.","archived":false,"fork":false,"pushed_at":"2024-11-11T22:17:56.000Z","size":366,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-14T02:18:42.788Z","etag":null,"topics":["banking","canadian-payments-association","cpa","cpa005","eft"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@cityssm/eft-generator","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cityssm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-22T13:30:47.000Z","updated_at":"2024-10-03T17:13:01.000Z","dependencies_parsed_at":"2024-07-31T15:57:12.734Z","dependency_job_id":"6dc7201d-8f0e-4bb8-8dfc-d568953975b7","html_url":"https://github.com/cityssm/node-eft-generator","commit_stats":null,"previous_names":["cityssm/node-eft-generator"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fnode-eft-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fnode-eft-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fnode-eft-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fnode-eft-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cityssm","download_url":"https://codeload.github.com/cityssm/node-eft-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228553633,"owners_count":17936016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["banking","canadian-payments-association","cpa","cpa005","eft"],"created_at":"2024-12-07T03:20:28.898Z","updated_at":"2025-08-03T16:31:11.397Z","avatar_url":"https://github.com/cityssm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EFT Generator for Node\n\n[![NPM Version](https://img.shields.io/npm/v/%40cityssm%2Feft-generator)](https://www.npmjs.com/package/@cityssm/eft-generator)\n[![DeepSource](https://app.deepsource.com/gh/cityssm/node-eft-generator.svg/?label=active+issues\u0026show_trend=true\u0026token=cznyFIk-aMahhJdonnA8yjqZ)](https://app.deepsource.com/gh/cityssm/node-eft-generator/?ref=repository-badge)\n[![codecov](https://codecov.io/gh/cityssm/node-eft-generator/graph/badge.svg?token=JLS2JHUC4O)](https://codecov.io/gh/cityssm/node-eft-generator)\n\nFormats Electronic Funds Transfer (EFT) data into the CPA 005 standard.\n\nSupports credit (C) and debit (D) record types.\nOther logical record types are not supported.\n\n✔️ Output parsed successfully by Scotiabank.\n\n## Installation\n\n```sh\nnpm install @cityssm/eft-generator\n```\n\n## Usage\n\n```javascript\nimport fs from 'node:fs'\nimport { EFTGenerator } from '@cityssm/eft-generator'\n\nconst eftGenerator = new EFTGenerator({\n  originatorId: '0123456789',\n  originatorShortName: 'SSM',\n  originatorLongName: 'The City of Sault Ste. Marie',\n  fileCreationNumber: '0001'\n})\n\neftGenerator.addDebitTransaction({\n  bankInstitutionNumber: '111',\n  bankTransitNumber: '22222',\n  bankAccountNumber: '333333333',\n  cpaCode: 385, // Property Taxes\n  amount: 1234.56,\n  payeeName: 'Test Property Owner'\n})\n\nconst output = eftGenerator.toCPA005()\n\nfs.writeFileSync('cpa005.txt', output)\n```\n\n## Resources\n\n- [Canadian Payments Association Standard 005](https://www.payments.ca/sites/default/files/standard005eng.pdf)\n- [Royal Bank CPA-005 Reference](https://www.rbcroyalbank.com/ach/file-451771.pdf)\n\n## Related Projects\n\n[CPA Codes for Node](https://github.com/cityssm/node-cpa-codes)\u003cbr /\u003e\nLookups, validations, and utility functions for Canadian Payments Association (CPA) Standard 007 transaction and return codes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityssm%2Fnode-eft-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcityssm%2Fnode-eft-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityssm%2Fnode-eft-generator/lists"}