Openbravo Issue Tracking System - Localization Pack: Spain | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0026991 | Localization Pack: Spain | AEAT 349 | public | 2014-07-01 18:59 | 2014-09-16 14:22 | |||||||
Reporter | maite | |||||||||||
Assigned To | rafaroda | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
Support ticket | ||||||||||||
OBNetwork customer | ||||||||||||
Regression introduced in release | ||||||||||||
Summary | 0026991: It should not be possible to select invoices from different periods as "corrective 349" invoices in the tab "Reversed Invoices" | |||||||||||
Description | It should not be possible to select invoices from different periods as "corrective 349" invoices in the tab "Reversed Invoices" | |||||||||||
Steps To Reproduce | 1. Register a sales invoice for an amount of 100 € for a customer located in France. Tax rate to be used: Entregas intracomunitarias (%N=>0%). Invoice dated on August 2014. Complete and Post the invoice. Launch the 349 tax form from the Tax Report Launcher for August period and realize that the Tax Base Amount for that customer is = 100 2. Register a new sales invoice for an amount of 200 € for the same customer as in 1. Once more the tax rate to be used: Entregas intracomunitarias (%N=>0%). Invoice dated on September 2014. Complete and Post the invoice. Launch the 349 tax form from the Tax Report Launcher for September period and realize that the Tax Base Amount for that customer is = 200 3. Register a Reverse Sales Invoice for the same customer and for an amount of -200 €. Invoice dated on October 2014 Access "Reverse Invoice" tab, select August invoice (see point 1 above) and set it as "corrective 349". Enter below data: Year = 2014 Period = August Base Imponible del 349 Productos = 100 In this tab add a new record referencing the invoice dated in February (see point 2 above) and set it as "corrective 349". Enter below data: Year = 2014 Period = September Base Imponible del 349 Productos = 200 Realize that no error is obtained. Launch the 349 tax form from the Tax Report Launcher for October and realize that it is not possible to validate the txt file obtained because it is not possible to import it in AEAT software "Informativas". Below error is shown (In Spanish): Código: 31401A Descripción: Base Imponible rectificada NO NUMÉRICA The reason is: Openbravo is making this calculation: (1) to get new August tax base is doing 100-200 = -100 (2) to get new September tax base is doing 200-200= 0 but above calculations are not correct because it is not possible to indicate which amount (among reverse invoice amount of 200 €) should correct August invoice and which amount (among reverse invoice amount of 200 €) should correct September invoice. Therefore it should not be possible to reference invoices from different periods (months or quarters) in the same reverse invoice as "Corrective 349", as there is no way to know the new tax base amount of each period (month or quarter). At the end of the day end-user needs to register two Reversed Sales Invoice, first one reversing August invoice and second one reversing September invoice. Same applies to purchase invoice. Same applies for Quarterly submission of 349 tax form. | |||||||||||
Proposed Solution | It should not be possible to reference invoices from different periods (months or quarters) in the same reverse invoice as "Corrective 349", as there is no way to know the new tax base amount of each period (month or quarter). | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2014-07-01 18:59 | maite | New Issue | ||||||||||
2014-07-01 18:59 | maite | Assigned To | => jonalegriaesarte | |||||||||
2014-07-01 19:00 | maite | Issue Monitored: networkb | ||||||||||
2014-07-01 19:23 | heccam | Issue Monitored: heccam | ||||||||||
2014-07-21 16:36 | jonalegriaesarte | Regression date | => 2014-08-08 | |||||||||
2014-07-21 16:40 | jonalegriaesarte | Regression date | 2014-08-08 => | |||||||||
2014-07-21 16:40 | jonalegriaesarte | Resolution time | => 1407448800 | |||||||||
2014-07-24 13:44 | jonalegriaesarte | Assigned To | jonalegriaesarte => AtulOpenbravo | |||||||||
2014-08-19 13:53 | psanjuan | Summary | Should not be possible to reference invoices from different periods in "Reversed Invoices" tab, in a "corrective 349" invoice => It should not be possible to select invoices from different periods as "corrective 349" invoices in the tab "Reversed Invoices" | |||||||||
2014-08-19 13:53 | psanjuan | Description Updated | bug_revision_view_page.php?rev_id=6350#r6350 | |||||||||
2014-08-19 13:53 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6352#r6352 | |||||||||
2014-08-19 14:15 | psanjuan | Note Added: 0069508 | ||||||||||
2014-08-19 14:15 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6355#r6355 | |||||||||
2014-08-19 14:15 | psanjuan | Proposed Solution updated | ||||||||||
2014-08-19 14:25 | psanjuan | Note Edited: 0069508 | bug_revision_view_page.php?bugnote_id=0069508#r6357 | |||||||||
2014-08-19 14:29 | psanjuan | Note Edited: 0069508 | bug_revision_view_page.php?bugnote_id=0069508#r6358 | |||||||||
2014-08-19 14:29 | psanjuan | Note Edited: 0069508 | bug_revision_view_page.php?bugnote_id=0069508#r6359 | |||||||||
2014-08-19 14:30 | psanjuan | Note Edited: 0069508 | bug_revision_view_page.php?bugnote_id=0069508#r6360 | |||||||||
2014-08-19 14:35 | psanjuan | Note Edited: 0069508 | bug_revision_view_page.php?bugnote_id=0069508#r6361 | |||||||||
2014-08-19 14:39 | psanjuan | Note Edited: 0069508 | bug_revision_view_page.php?bugnote_id=0069508#r6362 | |||||||||
2014-08-26 16:10 | rafaroda | Status | new => scheduled | |||||||||
2014-08-26 16:10 | rafaroda | Assigned To | AtulOpenbravo => rafaroda | |||||||||
2014-08-26 16:10 | rafaroda | fix_in_branch | => pi | |||||||||
2014-09-02 18:43 | rafaroda | Note Added: 0069918 | ||||||||||
2014-09-16 12:44 | rafaroda | Relationship added | related to 0027613 | |||||||||
2014-09-16 12:52 | hgbot | Checkin | ||||||||||
2014-09-16 12:52 | hgbot | Note Added: 0070139 | ||||||||||
2014-09-16 12:52 | hgbot | Status | scheduled => resolved | |||||||||
2014-09-16 12:52 | hgbot | Resolution | open => fixed | |||||||||
2014-09-16 12:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat349.es/rev/d78267acb4cbc34acda720da1c9d52ee7902b894 [^] | |||||||||
2014-09-16 12:57 | psanjuan | Note Added: 0070142 | ||||||||||
2014-09-16 13:00 | psanjuan | Note Edited: 0070142 | bug_revision_view_page.php?bugnote_id=0070142#r6572 | |||||||||
2014-09-16 13:12 | psanjuan | Note Edited: 0070142 | bug_revision_view_page.php?bugnote_id=0070142#r6573 | |||||||||
2014-09-16 13:12 | psanjuan | Note Added: 0070144 | ||||||||||
2014-09-16 13:12 | psanjuan | Status | resolved => closed | |||||||||
2014-09-16 13:12 | psanjuan | fix_in_branch | pi => | |||||||||
2014-09-16 14:22 | hgbot | Checkin | ||||||||||
2014-09-16 14:22 | hgbot | Note Added: 0070147 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|