When you use the Generate txt file function from VAT declaration in the Spanish version of Microsoft Dynamics NAV 2009, the Amount in the generated .txt file is always shown as zero if VAT Calculation Type is set to FULL VAT and VAT percentage is set to zero. However, the Amount in the file is correct when you export it by using the usual VAT. Follow the steps in the code changes section to solve this issue. This problem occurs in the following products:
- The Spanish version of Microsoft Dynamics NAV 2009 R2
- The Spanish version of Microsoft Dynamics NAV 2009 SP1