1.0.6 • Published 1 year ago

nav-invoice v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

nav-invoice

Nav-invoice is a Node.js module that provides an interface to connect to the NAV online invoicing system using the official NAV Invoice API.

Install

npm i nav-invoice

Usage

import { Navi, NaviOptions } from 'nav-invoice';

const technicalUser: User = {
  login: 'login',
  password: 'password',
  taxNumber: 'taxNumber',
  exchangeKey: 'exchange key',
  signatureKey: 'signature key',
};

const software: Software = {
  softwareId: 'software id',
  softwareName: 'software name',
  softwareOperation: 'LOCAL_SOFTWARE',
  softwareMainVersion: 'version',
  softwareDevName: 'dev name',
  softwareDevContact: 'dev contact',
  softwareDevCountryCode: 'HU',
  softwareDevTaxNumber: 'tax number',
};

const options = { returnWithXml: false, testing: true };

const navi = new Navi(user, software, options);
1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago