2017 © Pedro PelĂĄez
 

library fortnox

Fortnox API Implement in PHP

image

hmphu/fortnox

Fortnox API Implement in PHP

  • Tuesday, February 23, 2016
  • by hmphu
  • Repository
  • 1 Watchers
  • 3 Stars
  • 49 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Fortnox PHP SDK

Unofficial PHP wrapper for Fortnox API http://developer.fortnox.se/getting-started/, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist hmphu/fortnox

or add, (*4)

"hmphu/fortnox": "*"

to the require section of your composer.json., (*5)

Get a developer account

First of all you need to register as a developer., (*6)

To register you just need to fill out this form., (*7)

Get your Access Token

You’ve got your Authorization-Code and your Client-Secret. These will be the keys to get the final Access-Token., (*8)

The Authorization-Code is valid for seven days before becoming invalid and can only be used once to retrieve the Access-Token., (*9)

If the Authorization-Code is used again after an Access-Token has been retrieved the Authorization-Code will become invalid and the integration will become deactivated., (*10)

The Access-Token combined with the Client-Secret is unique for your application and connects to a specific Fortnox account., (*11)

To retrieve your Access-Token you simply send a request to our API using the headers “Authorization-Code” and “Client-Secret”., (*12)

Here’s an example using cURL, (*13)

curl -X "GET" "https://api.fortnox.se/3/" \
     -H "Authorization-Code: YOUR_AUTHORIZATION_CODE" \
     -H "Client-Secret: YOUR_CLIENT_SECRET" \
     -H "Content-Type: application/json" \
     -H "Accept: application/json"

Supported Apis

  • Account API
  • Account Charts API
  • Archive API
  • Article API
  • Article File Connection API
  • Article URL Connection API
  • Customer API
  • Invoice API
  • Project API
  • Supplier API

Authors and Contributors

Make with love to Fortnox, (*14)

In 2016, PhuHM (@hmphu), http://hmphu.com, (*15)

Support or Contact

Having trouble? [contact me][3], (*16)

The Versions

23/02 2016

dev-master

9999999-dev

Fortnox API Implement in PHP

  Sources   Download

GNU

The Requires

 

by Phu Hoang

23/02 2016

1.0.0

1.0.0.0

Fortnox API Implement in PHP

  Sources   Download

GNU

The Requires

 

by Phu Hoang