{"title":"Report 340 in the Spanish version","url":"https://jonas-paprotka.de/docs/localfunctionality/spain/report-340/","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/spain/report-340, 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/spain/report-340","source":{"name":"Business Central application docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-docs","commit":"46907ace177f8d31deba47a2fdb57c3336e66252","date":"2026-11-19"},"checked":"2026-11-19","description":"Provides an overview of Report 340, detailing how it captures information on invoices and taxes issued or received by your company within a specific period.","date":"2026-10-20","meta":{"topic":"concept-article"},"outline":[{"level":1,"title":"Report 340 in the Spanish version","slug":"report-340-in-the-spanish-version","at":0,"chars":4665},{"level":2,"title":"Requirements for entrepreneurs and small companies","slug":"requirements-for-entrepreneurs-and-small-companies","at":648,"chars":1051},{"level":2,"title":"File format","slug":"file-format","at":1699,"chars":595},{"level":2,"title":"Entries included in Report 340","slug":"entries-included-in-report-340","at":2294,"chars":1614},{"level":3,"title":"Business entries","slug":"business-entries","at":2546,"chars":442},{"level":3,"title":"Small business entries","slug":"small-business-entries","at":2988,"chars":495},{"level":3,"title":"Invoices including different VAT percentages or EC percentages","slug":"invoices-including-different-vat-percentages-or-ec-percentages","at":3483,"chars":425},{"level":2,"title":"File format restrictions","slug":"file-format-restrictions","at":3908,"chars":542},{"level":2,"title":"Related information","slug":"related-information","at":4450,"chars":215}],"text":"# Report 340 in the Spanish version\nThe Report 340 report contains information about invoices and taxes that were issued or received by your company in a given period, based on VAT Date. The report is generated in a format that is approved by the tax authorities. This report should be submitted in the company's monthly or quarterly liquidation period, depending on the size of the company. This file can be uploaded to the Spanish Tax Agency website or submitted on CD-ROM. Learn more at the Spanish Tax Agency<https://www.agenciatributaria.es/> website. If the number of operations exceeds 1,000,000, the report can be submitted electronically.\n## Requirements for entrepreneurs and small companies\nThe reporting requirements for entrepreneurs and small businesses are modified to support businesses that use the cash accounting criteria (CAC).\nA company can use the cash accounting method if business sales don't exceed 2,000,000 euros per year. There's one exception to this rule for a business whose receipts in cash from any single customer exceed the sum of 100,000 euros.\nIn Business Central, you can set up posting groups for cash-based VAT accounting for purchases and sales.\nIf you file a report under this regimen, the following label is applied to certain Business Central reports: Régimen especial del criterio de caja. The modified reports are:\nReport|Description\nReport 117|Reminder\nReport 118|Finance Charge Memo\nReport 205|Order Confirmation\nReport 206|Sales - Invoice\nReport 207|Sales - Credit Memo\nReport 405|Purchase Order\nReport 406|Purchase - Invoice\nReport 407|Purchase - Credit Memo\nReport 5900|Service Order\nReport 5911|Service - Invoice\nReport 5912|Service - Credit Memo\n## File format\nThe file format for the Report 340 report includes one deponent record, and at least one issued invoice or one received invoice. Deponent information comes from the Company Information table and the request form. Issued invoices come from the companies to which you sold goods or services. Customer information comes from the Customer table. Received invoices come from the companies from which you purchased goods or services. Vendor information comes from the Vendor table.\n> NOTE\n> If there are no file format records, the file isn't created and an error message is displayed.\n## Entries included in Report 340\nThe entries included in Report 340 must have been posted in the period and fiscal year entered in the request form. The entries that are included in the report of payments in cash can be posted from the previous year.\n### Business entries\nReport 340 must include the following entries:\n Posted sales invoices and credit memos.\n Posted purchase invoices and credit memos.\n Posted service invoices and credit memos.\n Auto invoices and auto credit memos.\n Payments in cash.\nEntries in the Sales Invoice Book report must be included in the report as issued invoices.\nEntries in the Purchase Invoice book report must be included in the report as received invoices.\n### Small business entries\nFor small businesses and entrepreneurs operating under the Cash Accounting Criteria (CAC), Report 340 reports invoices under the CAC. The invoice is marked with a \"Z\" for operation type. If the invoice is under the CAC, then the following details are reported:\n Payment/receipt method, that is, cash, check, transfer, and so forth. This field is blank in the report if no payment collection has occurred.\n Payment/receipt amount (full, partial)\n Payment/receipt dates\n### Invoices including different VAT percentages or EC percentages\nIf the invoice has more than one VAT percentage or equivalence charge (EC) percentage, the report must include all of the records with different VAT percentage and EC percentage. If the invoice includes equivalence charges (EC), the EC percentage and EC amount without VAT is displayed.\nAll of these records show the same invoice ID and customer VAT number.\n## File format restrictions\nBefore creating the Report 340 report, you should consider the following file format restrictions:\n All amounts must be in euro.\n All amounts must be positive. In the fields where negative amounts are possible, N is specified.\n All text must be capitalized.\n All alphanumeric fields must be left-aligned.\n All numeric fields must be right-aligned.\n Special characters are converted to standard characters.\n If the field has no value, it's empty for alphanumeric fields and populated with zeros for numeric fields.\n## Related information\n how-to-create-report-340\n payments-in-cash\n spain-local-functionality\nFind free e-learning modules for Business Central here<https://learn.microsoft.com/training/dynamics365/business-central>"}