fix: remove stripping of swiss vat endings in e-invoice#236
Closed
HenningWendtland wants to merge 2 commits intoalyf-de:developfrom
Closed
fix: remove stripping of swiss vat endings in e-invoice#236HenningWendtland wants to merge 2 commits intoalyf-de:developfrom
HenningWendtland wants to merge 2 commits intoalyf-de:developfrom
Conversation
2aa9710 to
ba1620b
Compare
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.
Business Background:
In Switzerland, the rule for the ending is simple but strict. Whether the ending is "missing" or "present" depends entirely on the tax status of the company.
Format: CHE-116.281.710 MWST
Legal Reason: Under Art. 26 of the Swiss VAT Act, a "valid tax voucher" for input tax deduction must show the UID including the VAT suffix. If a German company invoices a Swiss company and omits the suffix, the Swiss company might technically be denied the right to "claim back" the VAT (if any was charged) or may face issues during a tax audit.
There are three specific cases where you will see the number without any ending:
If you are invoicing a company in Liechtenstein, they also use the CHE prefix (due to a treaty with Switzerland). However, Liechtenstein companies do not use the suffixes MWST/TVA/IVA. They simply use the number CHE-123.456.789.
Meaning for the Code: