Skip to content

csakbalint/node-billingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-billingo js-standard-style

A Node.JS Client for Billingo.hu

Setup

Require the library

const Billingo = require('node-billingo')

Instantiate the class

const billingo = new Billing({ 
  secret: 'my-little-secret',
  key: 'public-key'
})

Available methods:

// Invoices:
billingo.invoices.get(id);
billingo.invoices.list();
billingo.invoices.blocks();
billingo.invoices.link(id);
billingo.invoices.cancel(id);
billingo.invoices.send(id);
billingo.invoices.create(data);
billingo.invoices.pay(id, data);
billingo.invoices.update(id, data);
billingo.invoices.delete(id);

// Cients:
billingo.clients.get(id); 
billingo.clients.list();
billingo.clients.create(data);
billingo.clients.update(id, data);
billingo.clients.delete(id);

// Expenses:
billingo.expenses.list();
billingo.expenses.categories(langCode);
billingo.expenses.create(data);
billingo.expenses.update(id, data);

// Bank accounts:
billingo.bankAccounts.get(id);
billingo.bankAccounts.list();
billingo.bankAccounts.create(data);
billingo.bankAccounts.update(id, data);

// Payment methods:
billingo.paymentMethods.get(langCode);

// VAT:
billingo.vat.list(query);
billingo.vat.eu(query);

// Currency:
billingo.currency.convert(query);

About

A Node.JS Client for Billingo.hu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published