Skip to content

Commit

Permalink
Update the readme
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Nöhles <[email protected]>
  • Loading branch information
BolZer committed Jun 27, 2024
1 parent f676b1d commit 9649135
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

## Introduction
`e-invoicing` is a library to generate and read data of specifications which comply with the EN16931.
It is possible to generate CIUS like XRechnung, Peppol BIS Billing and ZUGFeRD / factur-x.

## Usage
```bash
composer require easybill/e-invoicing
```

### Example: EN16931 Cross Industry Invoice
The document factory offers handy shortcut functions to assemble a document for every supported specification
with the correct basic structure. $document is now ready to be filled with data related to your business case.
In this example we generate a normal EN16931 as Cross Industry Invoice.

```PHP
use easybill\eInvoicing\CII\Documents\CrossIndustryInvoice;
Expand All @@ -34,8 +34,7 @@ $xml = Transformer::create()->transformToXml($document)
```

### Example: EN16931 Universal Business Language Invoice
The document factory offers handy shortcut functions to assemble a document for every supported specification
with the correct basic structure. $document is now ready to be filled with data related to your business case.
In this example we generate a CIUS (XRechnung 3.0) as UBL document

```PHP
use easybill\eInvoicing\Transformer;
Expand Down

0 comments on commit 9649135

Please sign in to comment.