0.2.4 • Published 2 years ago

fortnox-wrapper v0.2.4

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

fortnox

A Node.js module that implements, some, fortnox api functions.

Installation

npm install fortnox --save

Usage

Javascript

import { Fortnox } from 'fortnox';

const fn = new Fortnox({host: 'https://api.fortnox.se/3/', clientSecret: 'xyz', accessToken: 'zyx' })
const aCustomer = await fn.customers.get('1');
const allActiveCustomers = await fn.customers.getAll('active'); 
const aNewCustomer = await fn.customers.create({Name: 'John McClane'});

Implemented (so far):

  • Customer (create, get, update, remove)
  • Article (create, get, update, remove)
  • Invoice (create, get, update, send (email), cancel)
  • Supplier (create, get, update, inactivate) (0.1.14)
  • SupplierInvoice (create, get, update, cancel) (0.1.14)

Fork and add stuff!

Help

0.2.3

2 years ago

0.2.2

2 years ago

0.2.4

2 years ago

0.1.16

4 years ago

0.1.15

4 years ago

0.1.14

4 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago