Export VAT Statements in XML Format

You can export a VAT statement in XML format and then submit it electronically to the tax authorities.

For more information, see the Spanish Tax Agency website.

To export a VAT statement in XML format

  1. Choose the Search for Page or Report icon, enter VAT Statement, and then choose the appropriate link.

  2. Select the required VAT statement, and then choose the Generate XML file action.


    The VAT statement name must be of the template type One Column Report.

    In the standard version of Business Central, the VAT statement name for the 392 telematic statement is of the type One Column Report.

  3. On the XML VAT Declaration page, on the Options FastTab, fill in the fields as described in the following table.

    Field Description
    VAT entries included Specify if the VAT statement must include open entries, closed entries, or both open and closed entries.
    VAT entries included Specify if the VAT statement must include only entries from the period that is specified in the Date Filter field, or also entries from previous periods.
    Additional Currency Select to display the report amounts in the additional reporting currency.
  4. On the VAT Statement Line FastTab, specify a value for the Date Filter field.

    Optionally, select additional filters.

  5. Choose the OK button.

  6. On the XML Transference Format page, verify that the VAT statement is set up as required, and then choose the OK button.

You can open or save the generated XML file. You can now submit the VAT statement to the tax authorities.

See Also

Create Templates for Telematic VAT Statements in XML File Format
Export VAT Statements in Text Format