v1.28.0

getlago/lagov1.28.0May 14, 2025by annvelents

AI Summary

Major update requiring a migration guide that focuses on multi-tenancy support, allowing invoices to use taxes and currency from the selected Billing Entity, and enhancing Avalara integration.

Key Highlights

  • Use taxes from selected Billing Entity for invoices
  • Enhance Avalara integration with invoice payloads and reporting credit notes
  • Add lago_id and payment amount to payment requires action webhooks

New Features

  • Billing Entity tax usage
  • Avalara integration improvements
  • Webhook payload updates

Full Release Notes

**Please, follow the migration guide at https://docs.getlago.com/guide/migration/migration-to-v1.28.0**

## What's Changed
* fix(ruby): Fix one docker image ruby version by @jdenquin in https://github.com/getlago/lago/pull/527
* fix(docker): Add libyaml dep for ruby 3.4 by @jdenquin in https://github.com/getlago/lago/pull/528
* bump version to 1.28.0 by @annvelents in https://github.com/getlago/lago/pull/530


**Full Changelog**: https://github.com/getlago/lago/compare/v1.27.1...v1.28.0


## API Changelog:
* chore(organization): Add organization_id to coupon_targets table by @vincent-pochet in https://github.com/getlago/lago-api/pull/3626
* Feat(multientities): use taxes from selected for the billing entity for invoices by @annvelents in https://github.com/getlago/lago-api/pull/3525
* misc(webhooks): Add lago_id to payment.requires_action webhook payload by @ancorcruz in https://github.com/getlago/lago-api/pull/3612
* Feat(multientities): refresh draft invoices when manage taxes on billing entity by @annvelents in https://github.com/getlago/lago-api/pull/3530
* misc(webhooks): add payment amount to payment requires action webhook by @ancorcruz in https://github.com/getlago/lago-api/pull/3629
* chore(logs): Log when idempotency record is not unique by @julienbourdeau in https://github.com/getlago/lago-api/pull/3630
* feat(avalara-integration): Define invoice payload for avalara by @lovrocolic in https://github.com/getlago/lago-api/pull/3569
* chore(gems): No more whitequark/parser warning! by @julienbourdeau in https://github.com/getlago/lago-api/pull/3628
* feat(avalara-integration): handle reporting credit notes for avalara by @lovrocolic in https://github.com/getlago/lago-api/pull/3592
* fix: populate job for credit_notes_taxes by @vincent-pochet in https://github.com/getlago/lago-api/pull/3631
* Feat(multientities): use organizations default_currency and timezone from the default billing_entity by @annvelents in https://github.com/getlago/lago-api/pull/3547
* feat (avalara-integration): Cover void invoice flow by @lovrocolic in https://github.com/getlago/lago-api/pull/3638
* fix(multientities):  wrong document numbering by @annvelents in https://github.com/getlago/lago-api/pull/3602
* Feat(multientiites): add billing entities to data exports by @annvelents in https://github.com/getlago/lago-api/pull/3550
* Fix(multientities): fix eu_tax country source by @annvelents in https://github.com/getlago/lago-api/pull/3622
* feat(multi entities): Invoice mailer uses billing entity as data source by @ancorcruz in https://github.com/getlago/lago-api/pull/3523
* feat(multi entities): Apply Billing Entity invoice grace period changes  by @ancorcruz in https://github.com/getlago/lago-api/pull/3548
* Fix(multientities): return be sequential id by @annvelents in https://github.com/getlago/lago-api/pull/3616


**Full Changelog**: https://github.com/getlago/lago-api/compare/v1.27.1...v1.28.0

## FE Changelog:
## What's Changed
* bug: add missing permissions in API key form by @ansmonjol in https://github.com/getlago/lago-front/pull/2193
* misc: use TW in charge components by @ansmonjol in https://github.com/getlago/lago-front/pull/2194
* feat: prepare design system for audit logs feature by @keellyp in https://github.com/getlago/lago-front/pull/2192


**Full Changelog**: https://github.com/getlago/lago-front/compare/v1.27.1...v1.28.0