Skip to content

feat: add Czech Republic (CZ) DPH tax regime#809

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

feat: add Czech Republic (CZ) DPH tax regime#809
pablocaeg wants to merge 1 commit intoinvopop:mainfrom
pablocaeg:feat/regime-cz-v2

Conversation

@pablocaeg
Copy link
Copy Markdown

@pablocaeg pablocaeg commented Apr 15, 2026

Summary

Added the Czech Republic DPH (VAT) tax regime. Rebuilt on v0.400.0 using the new rules package.

  • Two current rate tiers since the January 2024 consolidation reform:
    • Standard (Základní sazba) at 21%
    • Reduced (Snížená sazba) at 12%, merged from the previous 15% first reduced and 10% second reduced
  • Historical VAT rates back to 2004 (EU accession)
  • DIČ (Daňové identifikační číslo) validation with three format types:
    • 8-digit legal entities using modulo-11 checksum with weights [8,7,6,5,4,3,2]
    • 10-digit individuals using Rodné číslo divisibility by 11 check
    • 9-digit special identifiers
  • IČO (Identifikační číslo osoby) business registration identity with shared modulo-11 validation
  • Supplier must have either DIČ or IČO
  • Domestic B2B example invoice
  • 29 tests, 93.7% 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.

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.

Rebuilt on v0.400.0-rc1 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