Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exemption reason text should not be reused #614

Open
mbrandl87 opened this issue Dec 16, 2024 · 0 comments
Open

Exemption reason text should not be reused #614

mbrandl87 opened this issue Dec 16, 2024 · 0 comments

Comments

@mbrandl87
Copy link

Hi there,

in case you have an invoice made up of a position taxed according to a margin / second hand goods scheme (§25A) with exemption reason text "VATEX-EU-F" and a standard tax position, the standard position also gets the exemption reason set because its stored in a variable defined outside the looping of trans.getZFItems() which is only set if product.getExemptionReasion is not null but it isn't unset if its null.

Its also used further down when the tax summaries are written, so only the last reason is used. That means if you mix kategory E and O items, one would have a "wrong" reason.

I don't know if thats a real problem - the kosit validator still accepts the invoice though a standard rated position has an exemption reason set but its confusing me nevertheless :D

As well, E and O items would end up in one vat rate summary as you map them by percentage. I don't know if the standard would allow it or if it would make sense to summarize by category instead of percent.

might be I'm just misunderstanding things heere but I thought it would be better to bring it to your attention just in case :)

Best
Martin

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

No branches or pull requests

1 participant