If you try to use Generate txt or xml file functionality (Telematic VAT Declaration) from value-added tax (VAT) statement with any line setup as "Type=Account totaling" and no VAT posting group setup is informed in the Spanish version of Microsoft Dynamics NAV 2009, you receive the following error message:
"The VAT Posting setup does not exist. Identification fields and values: VAT Prod Posting group='', VAT bus Posting group=.''
If VAT posting groups are not set up for the line, you cannot generate the file. Follow the steps in the code changes section to solve this issue. This problem occurs in the following product:- The Spanish version of Microsoft Dynamics NAV 2009 R2
- The Spanish version of Microsoft Dynamics NAV 2009 SP1