Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0029734Localization Pack: SpainMulti Dimensional Tax Report Cash VATpublic2015-04-29 13:472015-05-05 12:53
maite 
vmromanos 
urgentmajoralways
closedno change required 
5
 
 
vmromanos
35594
OBPS
0029734: Invoice paid in only one payment appears several times in the report in case it references several orders
Invoice paid in only one payment appears several times in the report in case it references several orders
1. Register Sales Order. Add any line and process
2. Register another Sales Order for same org and bp. Add any line and process
3. Register Sales Invoice for same org and bp. Run "Create lines from" process and select previous orders. Process invoice
4. Register Payment in related to that invoice
5. Run Multidimensional Cash vat report and realize that you invoice appears 2 times, although it only has one payment related
No tags attached.
png mtr.png (173,765) 2015-05-05 12:50
https://issues.openbravo.com/file_download.php?file_id=8051&type=bug
png
Issue History
2015-04-29 13:47maiteNew Issue
2015-04-29 13:47maiteSupport ticket => 35594
2015-04-29 13:47maiteOBNetwork customer => Yes
2015-04-29 13:47maiteResolution time => 1433109600
2015-04-29 13:48maiteIssue Monitored: networkb
2015-04-29 14:15maiteAssigned To => vmromanos
2015-05-04 18:29vmromanosStatusnew => scheduled
2015-05-05 12:50vmromanosFile Added: mtr.png
2015-05-05 12:53vmromanosReview Assigned To => vmromanos
2015-05-05 12:53vmromanosNote Added: 0077002
2015-05-05 12:53vmromanosStatusscheduled => closed
2015-05-05 12:53vmromanosResolutionopen => no change required

Notes
(0077002)
vmromanos   
2015-05-05 12:53   
Rejected:

The report is designed to show these 2 lines because they come from the 2 different payment details associated to each sales order.

As you can see in the mtr.png screenshot, the invoice's tax base and tax amounts (in the square) don't appear in the Totals section (because they might appear several times as in the example and the sum would be wrong).

On the other hand, we do sum the Tax Base Settlement and Tax Settlement amounts (in the circle), because they correspond to the individual payment details.

Finally you can verify that the Summary per Tax Category and the Summary per Tax/Withholding % sections contain the right totals per tax category and tax %