aenzbi

1.0.1 • Public • Published

Aenzbi

Aenzbi Business Management with POS and EBMS integration

Installation

Install the package using npm:

npm install aenzbi

Usage

POS Example

const { POS } = require('aenzbi');

const pos = new POS();
pos.addSale({ item: 'Product1', price: 100 });
console.log(pos.getSales());

EBMS Example

const { POS } = require('aenzbi');

const pos = new POS();
const sale = { id: 1, amount: 100 };
const invoice = pos.generateInvoice(sale);

pos.postInvoiceToEBMS(invoice, '', 'https://ebms.obr.gov.bi:9443/ebms_api')
    .then(response => console.log(response))
    .catch(error => console.error(error));

Anand System POS Integration

const { AnandPOSIntegration } = require('aenzbi/integrations/anand_pos');

const anandPOS = new AnandPOSIntegration();
anandPOS.integrate();

Anand System PMS Integration

const { AnandPMSIntegration } = require('aenzbi/integrations/anand_pms');

const anandPMS = new AnandPMSIntegration();
anandPMS.integrate();

Readme

Keywords

none

Package Sidebar

Install

npm i aenzbi

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

43.4 kB

Total Files

25

Last publish

Collaborators

  • allyelvis