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

l10n_it_edi Error with tax price included #60299

Open
BitStab opened this issue Oct 19, 2020 · 0 comments
Open

l10n_it_edi Error with tax price included #60299

BitStab opened this issue Oct 19, 2020 · 0 comments

Comments

@BitStab
Copy link

BitStab commented Oct 19, 2020

Impacted versions:
V12

Steps to reproduce:
- Install Accounting, l10n_it, l10n_it_edi
- Create an italian company and configure
it, use italian chart of account

Create an invoice, containing a product with tax included in the sales price. change the quantity to f.e. 6.

Current behavior:
In the electronic invoice XML the single price is ok, but the subtotal of the line is wrong because of rounding errors.
2020-10-19 17_40_49-Window
In the picture you can see the calculation error. The original price including 10% tax is 1,50€
The check of SDI gives the error "PrezzoTotale calculated incorrect", because they check it with a simple mathematic proof:
Price * Quantity = PrezzoTotale
If this doesn't apply they refuse the invoice with this error

Expected behavior:
correct calculated subtotal on lines. In the given case of above it would be the following:
1,5 / 1,1 = 1,363
1,363 * 6 = 8,18 (rounded)
For this it is important to have 3 digits after the decimal point on the single price field of the XML.

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