josemmo / einvoicing

Library for reading and creating European-compliant electronic invoices (EN 16931)
https://josemmo.github.io/einvoicing/
MIT License
112 stars 29 forks source link

CreditNote support #33

Closed quamis closed 1 year ago

quamis commented 1 year ago

Hello, From what I'm seeing this package doesn't have support for credit notes?

josemmo commented 1 year ago

Hello @quamis,

According to EN 16931, you can do this by setting the document type to 381 (see this link for a list of type IDs).

In this library, you can change the document type with the method $invoice->setType().

quamis commented 1 year ago

Ok, thanks