Add Luxembourg (LU) tax regime - #918
Open
nietoarranz wants to merge 2 commits into
Open
Conversation
Introduce VAT rates, TVA identity validation with checksum, and a sample invoice for Luxembourg. Co-authored-by: Cursor <cursoragent@cursor.com>
Include the missing rules file, regime-code schema entry, and corrected AED source URL so generate output stays committed. Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #918 +/- ##
==========================================
- Coverage 94.90% 94.88% -0.03%
==========================================
Files 323 325 +2
Lines 17639 17722 +83
==========================================
+ Hits 16741 16816 +75
- Misses 556 560 +4
- Partials 342 346 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Luxembourg (
LU) tax regime so GOBL can build and validate Luxembourg invoices with local VAT rates and n° TVA identity checks.Included
Europe/Luxembourg, credit-note corrections)Design notes
rules/normpackages rather than older validate hooks.Intentionally out of scope
Feedback welcome on whether identity coverage, rate history, or invoice rules should be expanded before merge.
Test plan
go test ./regimes/lu/...data/regimes/lu.jsonmatches the Go regime definitionexamples/lu/invoice-lu-lu.yaml