Report 340 contains information about invoices and taxes that were issued or received by your company in a given period. 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. For more information, see the Spanish Tax Agency website. If the number of operations exceeds 1,000,000, the report can be submitted electronically.
The file format for Report 340 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 have sold goods or services. Customer information comes from the Customer table. Received invoices come from the companies from which you have purchased goods or services. Vendor information comes from the Vendor table.
|If there are no file format records, the file is not created and an error message is displayed.|
Entries Included in Report 340
The 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.
Report 340 must include the following entries:
Posted sales invoices and credit memos.
Posted purchase invoices and credit memos.
Posted service invoices and credit memos.
Auto invoices and auto credit memos.
Payments in cash.
Entries in the Sales Invoice Book report must be included in the report as issued invoices.
Entries in the Purchases Invoice Book report must be included in the report as received invoices.
Invoices Including Different VAT Percentages or EC Percentages
If 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 will be displayed.
All of these records will show the same invoice ID and customer VAT number.
File Format Restrictions
Before creating Report 340, you should consider the following file format restrictions:
All amounts must be in euro.
All amounts must be positive. In the fields where negative amounts are possible, N is specified.
All text must be capitalized.
All alphanumeric fields must be left-aligned.
All numeric fields must be right-aligned.
Special characters are converted to standard characters.
If the field has no value, it will be empty for alphanumeric fields and populated with zeros for numeric fields.