Lists Freshbooks expenses in XML format (php)
PHP JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Freshbooks Expenses


Lists Freshbooks expenses in XML format. Original use case: For importing into Google Docs spreadsheets with importXML.

Create a keys.php with your Freshbooks API credentials to use.

Currently available parameters: date_from, date_to.

Also: debug=1 turns on debugging mode. headers=1 adds header elements.

Uses the php lib from

How to import into Google Docs

  1. Put the code on a server somewhere

  2. In a Google Docs spreadsheet, put in this function: =importXML("http://server/expenses.php?headers=1", "//expenses/*")


Known Issues

  • Inconsistency between headers and columns. Might be easiest for now to omit headers in the XML.