Skip to content

feat: add Hungary (HU) ÁFA tax regime#789

Open
pablocaeg wants to merge 1 commit intoinvopop:mainfrom
pablocaeg:feat/regime-hu
Open

feat: add Hungary (HU) ÁFA tax regime#789
pablocaeg wants to merge 1 commit intoinvopop:mainfrom
pablocaeg:feat/regime-hu

Conversation

@pablocaeg
Copy link
Copy Markdown

Summary

Added the Hungarian ÁFA (VAT) tax regime.

  • Three VAT rate tiers:
    • Standard (Általános kulcs) at 27%, the highest in the EU
    • Reduced (Kedvezményes kulcs) at 18%
    • Super reduced (Kedvezményes alsó kulcs) at 5%
  • Historical VAT rates back to EU accession (May 2004)
  • Adószám validation with modulo-10 weighted checksum, verified against python-stdnum
  • Normalization handles the full 11-digit format (TTTTTTTT-V-RR), extracting the 8-digit base number
  • Supplier adószám required on non-simplified invoices per Section 169 of Act CXXVII of 2007
  • Credit note and debit note corrections
  • Domestic B2B example invoice
  • 20 tests, 97.6% code coverage

Sources

Pre-Review Checklist

  • Opened this PR as a draft
  • Read the CONTRIBUTING.md guide
  • Performed a self-review of my code
  • Added thorough tests with at least 90% code coverage
  • Modified or created example GOBL documents to show my changes in use
  • Added links to the source of the changes in tax regimes or addons
  • Run go generate . to ensure that the Schemas and Regime data are up to date
  • Reviewed and fixed all linter warnings
  • Been obsessive with pointer nil checks to avoid panics
  • Updated the CHANGELOG.md with an overview of my changes

And if you are part of the org:

  • Requested a review from Copilot and fixed or dismissed (with a reason) all the feedback raised.
  • Requested a review from @samlown.

@pablocaeg pablocaeg marked this pull request as ready for review April 7, 2026 17:51
Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@pablocaeg
Copy link
Copy Markdown
Author

pablocaeg commented Apr 14, 2026

Rebuilt on top of v0.400.0, now using the new rules package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant