It currently has tested wrappers for two "resources", namely Invoice and Customer, please look at the specs to see what functionality it provides. Since Fortnox (as of now) only provides API documentation per PDF, we hope to keep this up to date as good as possible.
Clone this repository and change what you want, add tests for it, then run the tests with
rspec
to make sure they pass. Pull requests are much appriciated and
cheers to the repository creators Jonas
Arnklint [blog] and Kevin
Sjöberg is almost as good!
- Based on HTTParty
- For Fortnox Invoicing and Fortnox Customers
- RSpec
- Fakeweb/VCR
- Som det fungerar nu är det Fortnox::Invoice.create .update .destroy som gäller
- Du får ett ID tillbaka när det gick bra annars false.
- ID behövs användas för att exempelvis uppdatera.
- Värt att notera är att när du lägger till en kontakt på en faktura är det inte ID du får när du skapar en kontakt som gäller, ID då är kundnr.