Import Harvest time entries into Freshbooks Cloud Accounting or Freshbooks Classic.
$ composer require 2upmedia/freshbooks-importer dev-master
$ ./artisan vendor:publish
- Choose the option for
_2UpMedia\FreshbooksImporter\FreshbooksImporterServiceProvider
- Find your authentication token at https://[subdomain].freshbooks.com/apiEnable
- Configure authentication token, subdomain, and mappings in config/freshbooks-importer.php. Set
freshbooks-version
tofreshbooks-classic
. - You can run the artisan commands to get a list of project IDs and task IDs with the
freshbooks-importer:list-projects
andfreshbooks-importer:list-tasks
command - Export a Detailed Time Report as a CSV
- Push CSV data to Harvest
$ ./artisan freshbooks-importer:import-harvest [path/to/harvest-entries.csv]
$ composer require 2upmedia/freshbooks-importer dev-master
$ ./artisan vendor:publish
- Choose the option for
_2UpMedia\FreshbooksImporter\FreshbooksImporterServiceProvider
- Create a Freshbooks app here https://my.freshbooks.com/#/developer. Add any redirect URI with an https:// scheme. We will replace it later.
- Copy Client ID, Client Secret, Authorization URL to config/freshbooks-importer.php. Also add mappings. Set
freshbooks-version
tofreshbooks
. - Run
$ ./artisan serve
- Expose local artisan web development server port with ngrok to get a publically accessible SSL URL. Copy generate https:// ngrok URL and replace the Redirect URI with https://GENERATED-ID.ngrok.io/freshbooks-importer/oauth/redirect.
- Visit https://GENERATED-ID.ngrok.io/freshbooks-importer/oauth/authorize
- You will be redirected to authorize the application.
- Follow the same process as above starting at 7.