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

Tax percent is changing to 19% when rate is standard and provided percent is 7% #18

Open
urakozz opened this issue Oct 18, 2024 · 0 comments

Comments

@urakozz
Copy link

urakozz commented Oct 18, 2024

Hello and thank you for the library.

We are currently exploring its functionality and have identified a bug in the tax calculation.

If in the German invoice example from tests you'd change percent from 19% to 7%, the result of parsing would be still 19%

It seems like "rate": "standard" takes priority over provided percent, however it's inaccurate.

Source: Factur-X Documentation
§7.3.3.3 THE BLOCK "RAM:APPLICABLEHEADERTRADESETTLEMENT"

BG-23: VAT breakdown block...
✓ VAT applicable on a standard or reduced rate: "S"

I suspect this is probably automation on the gobl itself, but it probably would make sense if provided percentage would take a priority over the rate. It feels like it makes sense not only for German/French accounting, but as a generic behaviour

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