Home

Awesome

sii

npm version npm downloads dependency Status devDependency Status

Crea facilmente boleta de honorarios

InstalaciĆ³n

npm i -S sii

Uso

import sii from 'sii';

const user = {
  rut: '11.111.111-1',
  password: '0123456789'
};
const work = {
  description: 'AMAZING WORK',
  value: 555556
};
const destinatary = {
  rut: 22222222,
  dv: '2',
  name: 'AMAZING COMPANY',
  address: 'STREET 1'
};
const zone = 13;
const commune = 15103;
sii.byDestinatary(user, work, destinatary, zone, commune).then(() => console.log('Done'))