this library helps you create a CSV file from all the invoices in your Xero account.
You need Ruby installed in your machine to be able to work with the script.
- clone this repo from GitHub in your local machine.
- cd into the directory and run
bundle install
to install the dependencies. - create a file called
CONSUMER_KEY
and paste your customer key in it. - create a file called
rsa
and paste your private key in there. - fill in or set the date criteria for your search to
nil
. (ie.START
&FINISH
variables)
and finally
- run
ruby invoices.rb
in your terminal to trigger the script. This will create and put the CSV file inside the results folder with a timestamp attached to it.