We need to import a PostgreSQL database table into an existing FreshBooks recurring invoice. It can be done in Perl, PHP, Bash or any other portable language in Linux.
FreshBooks API can be found http://developers.freshbooks.com/
The data table include the FreshBooks user id, a description, quantity and amount.
Code should be clean, simple, and documented. We will be running this code on a scheduled cron.