cry-durs

0.3.9 • Public • Published

DURS

Davčne blagajne, interna implementacija. Ni namenjeno javni uporabi.

let Durs = require('cry-durs');


let taxno = 10203907;
let durs = new Durs(taxno)
durs.SetCertFileLocation('./test_cert')

let certTaxNo = Durs.AddCertificate('./test/test-10203907.p12','cert file password');

let Invoice = durs.ExampleInvoice();
delete Invoice.ReferenceInvoice; // since this is not an storno invoice

let res = await durs.RegisterInvoice(Invoice);
// res.Durs.EOR will contain EOR, or res.Durs.error will contain error info

Readme

Keywords

none

Package Sidebar

Install

npm i cry-durs

Weekly Downloads

1

Version

0.3.9

License

ISC

Unpacked Size

60.9 kB

Total Files

31

Last publish

Collaborators

  • primoz.krajnik