https://github.com/esvit/einvoicing
A JavaScript library for creating and parsing electronic invoices compliant with the eInvoicing Directive, EN 16931, and popular extensions
https://github.com/esvit/einvoicing
einvoicing europe european-union invoice invoicing peppol ubl
Last synced: 4 months ago
JSON representation
A JavaScript library for creating and parsing electronic invoices compliant with the eInvoicing Directive, EN 16931, and popular extensions
- Host: GitHub
- URL: https://github.com/esvit/einvoicing
- Owner: esvit
- License: mit
- Created: 2024-12-08T14:58:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-01-07T09:24:39.000Z (9 months ago)
- Last Synced: 2025-05-12T16:57:32.564Z (5 months ago)
- Topics: einvoicing, europe, european-union, invoice, invoicing, peppol, ubl
- Language: TypeScript
- Homepage: https://github.com/esvit/einvoicing/wiki
- Size: 2.63 MB
- Stars: 16
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
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](https://ec.europa.eu/digital-building-blocks/wikis/display/DIGITAL/eInvoicing).
The library ensures full adherence to [EN 16931](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/EN+16931+compliance), supporting the most widely used CIUS (Core Invoice Usage Specifications) and extensions, including [PEPPOL BIS](https://docs.peppol.eu/poacc/billing/3.0/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
```typescript
import { UblReader } from 'einvoicing';const ublReader = new UblReader();
const document = await ublReader.readFromFile('invoice.xml');
```## Who uses it?
\_👋 You use einvoicing and you want to be listed there? [Contact me](mailto:esvit666@gmail.com).
## Contributing
Contributions are more than welcome, the code base is still new and needs more love.
For more information, please checkout the [contributing document](https://github.com/esvit/einvoicing/blob/main/CONTRIBUTING.md).
# Contributors