Share via


eVAT Architecture

To perform electronic tax declaration in Microsoft Dynamics NAV, you must download and register the required .dll files from the website of the Dutch tax authorities.

Process Overview

The Bapi.dll file must be used to help secure the message that is sent to and received from the tax authority. To be able to use this Bapi.dll in Microsoft Dynamics NAV, a new assembly, Microsoft.Dynamics.BAPIWrapper.dll, has been developed. This file makes communication possible between the Dutch tax authorities and Microsoft Dynamics NAV. The files from the tax authorities must be downloaded and placed in the same folder as the Microsoft.Dynamics.BAPIWrapper.dll file installs to. For more information, see How to: Install Prerequisite Files for Electronic Declarations

When you run a BAPI-related process, such as the electronic VAT declaration or electronic ICP declaration, the following automated steps occur.

  1. An extensible markup language (XML) file is created by Microsoft Dynamics NAV in the server temporary folder.

  2. The XML file is then downloaded automatically to the client temporary folder.

  3. The XML file is moved from the client temporary folder to the client working folder.

    The client working folder is set up in the Elec. Tax Declaration Setup window.

A file is also created during the communication between the Bapi.dll and the tax authorities. The file is accessed by Microsoft Dynamics NAV so that the application code can process it. During this process, the following automated steps occur.

  1. The file is moved from the client working folder to the client temporary folder.

  2. The file is uploaded from the client temporary folder to the server temporary folder.

See Also

Tasks

How to: Install Prerequisite Files for Electronic Declarations
How to: Register for Electronic VAT and ICP Declarations

Concepts

General Parameters and Certificates