Official client libraries

We have a couple of official libraries you can use to easily connect your app/service to fakturan.nu. Each library comes with it's own documentation and examples.

Choose your language:

CURL examples

If your language isn't listed, you can use CURL like so:

Get a list of your products

curl --user <api-key-user>:<api-key-pass-here> -H "Content-Type: application/json" https://fakturan.nu/api/v2/products

Create a product

curl --user <api-key-user>:<api-key-pass-here> -H "Content-Type: application/json" -d '{"name": "Blue Suede Shoes", "unit": "pairs"}' https://fakturan.nu/api/v2/products

Create an invoice

curl --user <api-key-user>:<api-key-pass-here> -H "Content-Type: application/json" -d '{"date": "20150101", "client": {"company": "Acme Shoe factory"}, "rows": [{"product_name": "Blue Suede Shoes", "unit": "pairs"}]}' https://fakturan.nu/api/v2/invoices