Generate XML Files (lpesp2208m000)

Utilizzare questa sessione per generate the XML file, in accordance with the Spanish Tax Authority’s (AEAT) standards.

To generate an XML file, you can select these transaction data:

  • Sales invoices
  • Purchase invoices
  • Special cash
  • Consignment

The XML file generated is saved in the Outbox folders defined in the Spanish Parameters (lpesp0100m000) session. After the XML file is generated, the local.ly connector submits the file to Spanish Tax Authority using Web services.

Finance Company

The code of the financial company.

Description

La descrizione o il nome del codice.

Declaration Year

The tax year for which the tax declaration is prepared.

Description

La descrizione o il nome del codice.

Declaration Period

I campi Da e A consentono di definire un intervallo di periods for which the tax declaration is prepared.

Communication Type

I campi Da e A consentono di definire un intervallo di communication types.

Valori consentiti

  • A0 - Normal: the initial message.
  • A1 - Modification: a modification message.
Purchase Invoices

Se la casella di controllo è selezionata, the purchase invoices are selected.

Sales Invoices

Se la casella di controllo è selezionata, the sales invoices are selected.

Special Cash

Se la casella di controllo è selezionata, the payment documents related to Purchase Invoices with Operation Type Codice set to ‘07’ (Special Cash Regime) in the Elenchi codici (lpgen0110m000) session, are selected.

Consignment

Se la casella di controllo è selezionata, the fields in which you can specify criteria to select consignment messages are available.

Finance Company

The code of the financial company.

Fiscal Year

The fiscal year of the consignment messages for which to generate the XML file.

Fiscal Period

I campi Da e A consentono di definire un intervallo di the fiscal periods of the consignment messages for which to generate the XML file.

Communication Type

I campi Da e A consentono di definire un intervallo di the communication types of the consignment messages for which to generate the XML file.

Valori consentiti

  • A0 - Normal: the initial message.
  • A1 - Modification: a modification message.

Registration ID

I campi Da e A consentono di definire un intervallo di registration IDs of the consignment messages for which to generate an XML file.

Registration ID Sequence

I campi Da e A consentono di definire un intervallo di sequence numbers of the consignment messages for which to generate an XML file.

Simulate

Se la casella di controllo è selezionata, a preview is created in a report without generating and saving an actual XML file in the Outbox folders.