Every Laravel E-commerce project requires processing payments and generating invoices. Yet for the best experience this flow needs to be tailored for each project.
Just to give you a few use cases:
Sometimes a successful payment is confirmed with an invoice receipt. That’s the simple use case.
And sometimes there is no payment (yet) but there still is an invoice. In this case the customer pays some time after receiving the service/product. Or it’s a correcting invoice accompanied by an outbound payment.
There are probably other use cases.
And what’s common for all of these?
All these use cases require an invoice generator.
Using this package, you can:
- create an invoice
- add lines (items) to the invoice
- add seller info to the invoice
- add customer info to the invoice
- add payment info to the invoice
- calculate taxes and totals
- generate a pdf of the invoice
- handle discounts*
- set the currency
- set invoice status
* You can handle discounts by adding a line with a negative amount, or describe it in the line description field (“product x incl 30% discount”) and subtract the discount manually.
Ready to stop creating your Laravel invoices manually? Check out the github page for more information and code examples.