Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Invoices Laravel Package

elegantly/laravel-invoices

Manage invoices in Laravel with database storage, serial numbering, and PDF generation. Create, render, store, and download invoices as PDFs or views, add taxes/discounts and payment instructions (QR codes), and customize templates.

View on GitHub
Deep Wiki
Context7
v5.1.4
v5.1.3
v5.1.2
v5.1.1
v5.1.0

Added

  • Initial GOBL support — New ‎⁠GOBLable⁠ contract with ‎⁠toGOBL()⁠ method. ‎⁠Address⁠, ‎⁠Party⁠, ‎⁠Identity⁠, and ‎⁠TaxId⁠ classes implement it, enabling conversion to the GOBL (https://docs.gobl.org) open standard for structured business documents.

  • New ‎⁠Party⁠ base class — ‎⁠Buyer⁠ and ‎⁠Seller⁠ now extend a shared ‎⁠Party⁠ class, reducing duplication. Both subclasses are preserved for type compatibility.

  • New ‎⁠TaxId⁠ value object — Structured tax identification with ‎⁠country⁠ and ‎⁠code⁠ properties, replacing the flat ‎⁠tax_number⁠ string. Displayed via ‎⁠getLabel()⁠ in PDF templates.

  • New ‎⁠Identity⁠ value object — Represents business identities (e.g. SIREN, SIRET) following the GOBL org/identity spec (https://docs.gobl.org/draft-0/org/identity). Identities are now rendered in the PDF party block.

  • Configurable support classes — New config keys: ‎⁠party_class⁠, ‎⁠identity_class⁠, ‎⁠address_class⁠, ‎⁠tax_id_class⁠ let you swap default implementations.

  • ‎⁠seller_information⁠ and ‎⁠buyer_information⁠ are now cast to ‎⁠Party⁠ objects instead of plain arrays on the ‎⁠Invoice⁠ model.

Breaking Changes

  • ‎⁠tax_number⁠ → ‎⁠tax_id⁠: The ‎⁠tax_number⁠ string on ‎⁠Seller⁠/‎⁠Buyer⁠ has been replaced by a ‎⁠TaxId⁠ object.

Config: update ‎⁠default_seller⁠:

Before

'tax_number' => 'FR123456789',

After

'tax_id' => [
    'country' => 'FR',
    'code' => '123456789',
],

PdfInvoice — use the new ‎⁠TaxId⁠ class:

Before

tax_number: 'FR123456789',

After

tax_id: new TaxId(country: 'FR', code: '123456789'),
  • Migration required — A migration is included to convert existing ‎⁠tax_number⁠ values in ‎⁠buyer_information⁠ and ‎⁠seller_information⁠ JSON columns. Publish and run it:php artisan vendor:publish --tag="invoices-migrations"

php artisan migrate

  • ‎⁠Buyer⁠/‎⁠Seller⁠ replaced by ⁠Party⁠.
v5.0.0

Breaking Changes

  • RoundingMode enum update: RoundingMode::HALF_UP must be replaced by RoundingMode::HalfUp to align with the brick/money v0.13.0
v4.8.0
v4.7.2
v4.7.1
v4.7.0

Add fields column to Invoice model

v4.6.6
v4.6.5
v4.6.4
v4.6.3

[Added] Children relation

v4.6.2

Customizable rounding mode

v4.6.1
v4.6.0

[Added] Support for payment_instructions in Invoice Model

v4.5.1

[Added] Store the logo in the database

v4.5.0
v4.4.7
v4.4.6
v4.4.5
v4.4.4
v4.4.3

Display the discount code when the name is not defined

v4.4.2

Fix crashes when the invoice subtotal amount is 0

v4.4.1
v4.4.0

Changelog

  • Added better support for custom casts on state and type, making the system more flexible.
  • If you’re using custom enums for these fields, ensure they implement the new Elegantly\Invoices\Contracts\HasLabel interface.
v4.3.6
v4.3.5
v4.3.4

PdfInvoice new supports quantities as float

v4.3.3
v4.3.2

Fix the tax calculation when using percent_off with discount

v4.3.1
v4.3.0
v4.2.2
  • Add br and pt translations
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor