Add .travis.yml
Test reformatting of taxes
Add `create invoice` API call

Also includes minor code refactoring