Solution : https://service.sap.com/sap/support/notes/1145030 (SAP Service marketplace login required)
Key words : 
attached correction instructions, balance occurs, local currency, entered manually, batch input, terms f5580, sapltax1 reason, solution implement, update_xbset, prerequisites
Related Notes : 
       
| 1222923 | F5 580 Balance in 2nd/3rd local curr w/ manual tax in LC | 
| 1171092 | F5 060 w/ direct tax in FB60/FB70 Argentina/Peru | 
| 1112432 | F5 580: Balance in second/third local currency, manual tax | 
| 1099913 | F5 580 for balance in 2nd or 3rd local currency | 
| 994329 | F5 580 Incorrect tax amount in second/third local currency |