Giter VIP home page Giter VIP logo

transferwise-to-freeagent's Introduction

FreeAgent now links directly with TransferWise! This package still works but there's no reason to use it.

Installation

  1. Make sure you have node and npm installed
  2. npm install
  3. Copy .env.example to .env and populate each value.
  4. Generate a public-private key pair:
openssl genrsa -out private.pem 2048
openssl rsa -pubout -in private.pem -out public.pem

Keep private.pem in the root directory of the app, and upload public.pem to your TransferWise account (Settings -> API Tokens -> Manage public keys)

FreeAgent does not fully support multi-currency bank accounts (at the time of writing), so they recommend that you add a separate bank account for each currency that you hold (see "A word on PayPal" at https://www.freeagent.com/blog/multi-currency-banking-arrives/)

You can specify multiple FreeAgent bank accounts as a comma-separated string in .env, e.g. FREEAGENT_BANK_ACCOUNT_ID="123,456". The script will loop through these accounts and import transactions from TransferWise that match the bank account's currency.

Usage

node index.js

It'll output a simple "Yep". Go to your FreeAgent account and the transactions since your last upload will be in the bank account, ready to be explained/confirmed.

transferwise-to-freeagent's People

Contributors

dependabot[bot] avatar ryanito avatar shai126 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.