Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0033031Localization Pack: SpainAEAT 349public2016-05-24 10:272016-05-24 10:27
maite 
Triage Finance 
highminoralways
newopen 
5
 
 
0033031: Wrong amount when "adjustment line" (amount 0.01) references different tax than "regular line"
Wrong amount when "adjustment line" (amount 0.01) references different tax than "regular line"
1. Register Purchase Invoice header
2. Add "regular" line for any product and set qty=1 and price=3750.40 and tax "Adquisiciones Intracomunitarias 21% ISP"
3. Add "adjustment" line for another product and set qty=1 and price=0.01 and tax "Adquisiciones Intracomunitarias 21%" (note that it is a different tax)
4. Process invoice and post it
5. Access Tax Report Launcher and run 349 report. Realize that amount shown for this business partner is 3750.42 instead of 3750.41, which is total invoice amount

NOTE: in case "adjustment line" references to same tax "Adquisiciones Intracomunitarias 21% ISP" than "regular line" then obtained amount is correct. Problem is in "getTaxBaseAmountPerBusinessPartner" method of AEAT3492010ReportDao.java
No tags attached.
Issue History
2016-05-24 10:27maiteNew Issue
2016-05-24 10:27maiteAssigned To => Triage Finance
2016-05-24 10:27maiteIssue Monitored: networkb

There are no notes attached to this issue.