Skip to content
Lists Freshbooks expenses in XML format (php)
PHP JavaScript Shell
Find file
Latest commit 03fe5b4 Ben Buckman, New Leaf Digital adding Known Issues to readme

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.
Something went wrong with that request. Please try again.