{"title":"Upload books of purchases and sales and the VAT declaration in XML format","url":"https://jonas-paprotka.de/docs/localfunctionality/russia/upload-books-purchases-sales-xml-vat-declaration/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/localfunctionality/russia/upload-books-purchases-sales-xml-vat-declaration, MicrosoftDocs/dynamics365smb-docs at 46907ac (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/localfunctionality/russia/upload-books-purchases-sales-xml-vat-declaration","source":{"name":"Business Central application docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-docs","commit":"46907ace177f8d31deba47a2fdb57c3336e66252","date":"2026-11-19"},"checked":"2026-11-19","description":"Russian enhancements include books of purchases and sales VAT in XML format.","date":"2026-10-26","meta":{"topic":"how-to"},"outline":[{"level":1,"title":"Upload books of purchases and sales and the VAT declaration in XML format","slug":"upload-books-of-purchases-and-sales-and-the-vat-declaration-in-xml-format","at":0,"chars":3393},{"level":2,"title":"VAT declaration","slug":"vat-declaration","at":270,"chars":861},{"level":2,"title":"Upload purchase and sales books, and additional sheets to XML files","slug":"upload-purchase-and-sales-books-and-additional-sheets-to-xml-files","at":1131,"chars":818},{"level":2,"title":"Uploading VAT declaration to XML","slug":"uploading-vat-declaration-to-xml","at":1949,"chars":1273},{"level":2,"title":"Related information","slug":"related-information","at":3222,"chars":171}],"text":"# Upload books of purchases and sales and the VAT declaration in XML format\nTo upload VAT reports to XML files, you must configure the folder where the files are uploaded.\nGo to Statutory Report Setup and fill Excel Reports Folder Name and Electronic Files Folder Name.\n## VAT declaration\nThe VAT Declaration file is formed on the basis of the generated data on VAT Purchase Ledgers or VAT Sales Ledgers, additional sheets, and the journal of invoices.\nFor the correct formation of the VAT Declaration is necessary:\n1. Generate VAT Purchase Ledgers or VAT Sales Ledgers, additional sheets for the required period (see how-to-create-vat-ledgers).\n1. Correct the data of VAT Purchase Ledgers or VAT Sales Ledgers, if necessary.\n1. Generate and check the journal of invoices.\n1. Upload purchase and sales books, and additional sheets in XML format.\n1. Upload the journal of issued and received invoices (if there are operations for the period) in XML format.\n1. Generate the VAT Declaration in XML format.\n1. The generated files are located in the folder specified in the setting Statutory Report Setup, Electronic Files Folder Name.\n## Upload purchase and sales books, and additional sheets to XML files\nTo upload VAT Purchase Ledgers or VAT Sales Ledgers to XML, you need to stand on the line with the generated VAT Ledger, select Print, Export XML (to upload the book).\nThe system generates an XML file in the folder specified in the settings and fill the Name of XML file field for the book.\nYou should upload additional sheets to XML only if they aren't empty.\nFor unloading of additional sheets of VAT Purchase Ledgers or VAT Sales Ledgers in the XML you need to stand on the line with the generated VAT Ledger, select Print, Export additional sheet XML (for upload of additional sheet in the workbook in XML).\nThe system generates an XML file in the folder specified in the settings and fill the Name of XML file field for the additional sheet.\n## Uploading VAT declaration to XML\nTo generate a Declaration file, choose the ![Tell Me feature] icon, enter Export VAT Declaration to XML, and then choose the related link:\nTo calculate and upload a file, you must specify:\n Year\n Period type - Quarter if the Declaration is submitted quarterly\n Period number\nIn the VAT purchase ledgers and VAT sales ledgers fields, you must select the generated purchase and sales books.\nIf the books don't appear in the selected period, you can remove the filter and all the books are available for selection.\nThe system automatically completes the data on the names of XML files for VAT Purchase Ledgers, VAT Sales Ledgers, and additional sheets on the basis of previously unloaded files:\n XML Purchase Ledgers name\n XML Sales Ledgers name\n XML Sales Ledgers additional sheet name\n XML Purchase Ledgers additional sheet name\nPlace Code - you must specify the location code of the organization.\nSignatoryNo - choose the code of the employee.\nTax Auth No - specify the code of the tax authority where the Declaration is submitted.\nTo upload the Declaration, select OK in the lower right corner of the form.\nThe generated file is located in the folder specified in the configuration Statutory Report Setup, Electronic Files Folder Name.\n## Related information\nrussia-local-functionality\nFind free e-learning modules for Business Central here<https://learn.microsoft.com/training/dynamics365/business-central>"}