(ESP) Generate Report 340

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3

After you post vendor and customer transactions, you can generate Report 340 for all vendor invoices and customer invoices. You can transfer vendor invoices and customer invoices to the Spanish VAT reports form. You can then verify the information for each line, and generate the report as an ASCII file. For more information about Report 340, see (ESP) Report 340.

Note

This topic does not apply to versions of Microsoft Dynamics AX 2012 prior to cumulative update 3 for AX 2012.

Prerequisites

The following table shows the prerequisites that must be in place before you start.

Category

Prerequisite

Related setup task

Set up the cash ledger account for Report 340. For more information, see (ESP) Cash ledger accounts (form).

Set up a sales tax settlement period. For more information, see Set up a sales tax settlement period and Sales tax settlement periods (form).

Setup

In the General ledger parameters form, on the Sales tax FastTab, select the Special regime for cash accounting method check box to ensure that the cash accounting method is active for the legal entity.

In the Vendors form, on the Invoice and delivery FastTab, select the Special regime for cash accounting method check box to ensure that the cash accounting method is active for the selected vendor.

1. Create Report 340

Use the Spanish VAT list form to transfer vendor invoices and customer invoices to the Spanish VAT reports form. You can specify a threshold for the cash amount that is received from a customer in the Spanish VAT list form. If the cash amount of the combined transactions for the customer exceeds the specified limit, then the amount is included in the report.

To create Report 340, follow these steps:

  1. Click General ledger > Periodic > Sales tax payments > Spain > Spanish VAT reports.

  2. Click Create new to open the Spanish VAT list form. For more information, see (ESP) Spanish VAT list (form).

  3. Specify the criteria for transferring the invoices to the Spanish VAT reports form.

  4. In the Minimum payment amount in cash field, enter the threshold value of the cash amount in the accounting currency that is received from the customer. This value is used to filter the invoices that are transferred to the report.

  5. Click OK to transfer the invoices to the Spanish VAT reports form. For more information, see (ESP) Spanish VAT reports (form).

2. Verify the VAT report lines and generate Report 340

You can verify the Operation type field values for the VAT report lines, and then generate the report as an ASCII file.

To verify the VAT report lines and generate Report 340, follow these steps:

  1. Click General ledger > Periodic > Sales tax payments > Spain > Spanish VAT reports.

  2. In the Spanish VAT reports form, click VAT report lines to open the VAT report lines form. For more information, see (ESP) VAT report lines (form).

  3. On the Overview tab, verify the report lines.

  4. In the Operation type field, enter one of the options listed in the following table.

    Operation type

    Description

    A

    Generates a report that contains transactions for sold properties.

    In the Amount of property sale subject to VAT field, enter the amount that is received from the sale of the property.

    R

    Generates a report that contains transactions for the rental of business properties.

    1. If the rented property has a property tax account number, in the Property tax account number field, enter the tax account number for the property.

    2. In the Location code for the building/property field, enter the location code of the property.

    S

    Generates a report that contains transactions for subventions or grants that are received from public administrations or private companies.

    T

    Generates a report that contains transactions for income from copyrights.

    U

    Generates a report that contains transactions that are based on insurance operations.

    V

    Generates a report that contains transactions for the purchase of services from travel agencies.

    W

    Generates a report that contains transactions for services and transactions for the import of items that have a production tax associated with them in the cities of Ceuta and Melilla.

    X

    Generates a report that contains transactions for agricultural operations.

    Z

    Generates a report that contains transactions for posted payment or transactions for posted collections that involve cash accounting method.

    Note

    Leave the Operation type field blank to generate a report that contains transactions that have a cash amount that exceeds the specified limit. In the Cash received field, enter the cash amount that is received by the legal entity for the property. In the Fiscal year of invoice(s) for cash received field, enter the year during which the cash is received from the customer.

  5. Close the form.

  6. Optional: In the Spanish VAT reports form, click Summary to preview the summary of the Spanish VAT register book.

  7. Click Output, and then click Export to ASCII file to open the Export to ASCII file dialog box.

  8. In the File name field, enter the path and file name for the ASCII file.

  9. Click OK to generate Report 340 as an ASCII file.