Skip to content

Commit

Permalink
ADd example
Browse files Browse the repository at this point in the history
  • Loading branch information
lgaticaq committed May 4, 2016
1 parent bbb5925 commit ccca99b
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,30 @@

Crea facilmente boleta de honorarios

## Installation
## Instalación
```bash
npm i -S sii
```

## Uso
```javascript
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'))
```

0 comments on commit ccca99b

Please sign in to comment.