einvoicing
v0.0.2
Published
A JavaScript library for creating and parsing electronic invoices compliant with the eInvoicing Directive, EN 16931, and popular extensions
Downloads
90
Maintainers
Readme
European Invoicing (eInvoicing)
About
eInvoicing is a JavaScript library designed to create and parse electronic invoices in compliance with the eInvoicing Directive and European standard.
The library ensures full adherence to EN 16931, supporting the most widely used CIUS (Core Invoice Usage Specifications) and extensions, including PEPPOL BIS, enabling seamless integration with eInvoicing systems across Europe.
Installation
First of all, make sure your environment meets the following requirements:
Then, you should be able to install this library using Composer:
npm i --save einvoicing
Usage
Importing invoice documents
import { UblReader } from "einvoicing";
const ublReader = new UblReader();
const document = await ublReader.readFromFile('invoice.xml');