Dolibarr ERP & CRM » Bugs » bug #1538 Spanish Localtax2 is not correctly calculatedLatest modifications
Answer now
Snapshot Details |
Last Modified On: | 2014-08-07 10:41 | | Submitted by: | Marcos García (marcosgdf) |
Submitted on: | 2014-07-23 04:14 | |
Summary: | Spanish Localtax2 is not correctly calculated |
Description: | An user of dolibarr.es forum complaints about a Localtax2 bad calculated.
In Spain, R.E. (Localtax2) is generally applied to product sales and not to service sales. But if a service is invoiced in the same invoice as a product sale, it must be applied to it too.
Example:
INVOICE A/1
- Product A: 2 €
- Product B: 2 €
Subtotal: 4 €
21 % VAT: 0,84 €
5,2 % RE: 0,20 €
Total: 5,04 €
INVOICE A/2
- Product A: 2 €
- Transport: 0,50 €
21 % VAT: 0,53 €
5,2 % RE: 0,10 € <---- INCORRECT. MUST BE 0,13 €
Total: 3,13 € <----- INCORRECT. MUST BE 3,16 €
http://www.dolibarr.es/foro/viewtopic.php?f=18&t=1611 |
Step to reproduce bug: | |
Detected in version: | 3.5.3 | | Category: | Core Problem |
Severity: | 7 | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Status |
Status: | Open | | Assigned to: | None |
Resolution: | None | |
Comments- Marcos García 2014-08-07 10:45
- Hi Cédric:
I'm currently discussing this topic with Juanjo because we are the only one Spanish contributors in Dolibarr. The bug report is correct but we are going to review all the calculation of Spanish taxes. He is already in charge of correcting the bug. - Cedric GROSS 2014-08-07 10:41
- So is it ok or transport is a special case ?
- Juanjo Menent 2014-07-28 18:49
- Our fiscal specialist said:
"The RE for the transport should not apply. If you invoice products to a Client subject to RE and you make a service or you will invoicing the shipping costs for products, you must make 2 separates invoices: One with the products (with RE) and one with services (without RE)" - Juanjo Menent 2014-07-24 20:40
- We must consult to a fiscal specialist before doing anything
|
|
I'm currently discussing this topic with Juanjo because we are the only one Spanish contributors in Dolibarr. The bug report is correct but we are going to review all the calculation of Spanish taxes. He is already in charge of correcting the bug.