Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.
/ ofac_checker Public archive
forked from codemis/ofac_checker

A Ruby script that looks through your .ach files, and compares the payees with the current OFAC list. It will generate a CSV file with the results, and notify you when it has been completed by email.

License

Notifications You must be signed in to change notification settings

flickerfly/ofac_checker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OFAC Reader [Still in Development]

A Ruby script that looks through your bank .ach or .csv file, and compares the payees with the current OFAC list. It will generate a CSV file with the results, and notify you when it has been completed by email. Once you drop a file in the staging directory, you can run a Rake command to process the document. The command is:

rake ofac_checker:process

Requirements

  • Ruby 1.9.2
  • MySql

Installing

  • Download of copy of the code, and unzip in a convenient location
  • Make sure to install Ruby on your computer/server
  • Make sure to install MySql on your computer/server
  • Run the bundle command to install all necessary gems
  • Rename settings.example.yml to settings.yml and configure the settings
  • Rename database.example.yml to database.yml and configure the settings to match your current database
  • Drop your file into your staging folder to be processed. You set the staging folder in your settings.yml file
  • Now run the rake command:
rake ofac_checker:process

Configure the Script

  • copy the settings.example.yml to settings.yml
  • set staging to the location where your files will reside before being processed (default: file_bin/staging)
  • set completed to the location where your results file will be stored (default: file_bin/completed)
  • set email_smtp to the email smtp settings of your email server in order to get an email upon completion
  • set file > csv > name_header to the header of the column that the CSV uses to list the payee names
  • set file > csv > name_structure to name direction either first_last or last_first (default: first_last)
  • set file > ach currently does not do anything, because ACH files are standardized

Development

Questions or problems? Please post them on the issue tracker. You can contribute changes by forking the project and submitting a pull request.

This script is created by Johnathan Pulos and is under the MIT License.

About

A Ruby script that looks through your .ach files, and compares the payees with the current OFAC list. It will generate a CSV file with the results, and notify you when it has been completed by email.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%