Generate XML Files (lpesp2208m000)

Utilize essa sessão para 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

A descrição ou o nome do código.

Declaration Year

The tax year for which the tax declaration is prepared.

Description

A descrição ou o nome do código.

Declaration Period

Os campos De e Até definem um intervalo de: periods for which the tax declaration is prepared.

Communication Type

Os campos De e Até definem um intervalo de: communication types.

Valores permitidos

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

Se esta caixa de controle estiver selecionada, the purchase invoices are selected.

Sales Invoices

Se esta caixa de controle estiver selecionada, the sales invoices are selected.

Special Cash

Se esta caixa de controle estiver selecionada, the payment documents related to Purchase Invoices with Operation Type Código set to ‘07’ (Special Cash Regime) in the Listas de códigos (lpgen0110m000) session, are selected.

Consignment

Se esta caixa de controle estiver selecionada, 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

Os campos De e Até definem um intervalo de: the fiscal periods of the consignment messages for which to generate the XML file.

Communication Type

Os campos De e Até definem um intervalo de: the communication types of the consignment messages for which to generate the XML file.

Valores permitidos

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

Registration ID

Os campos De e Até definem um intervalo de: registration IDs of the consignment messages for which to generate an XML file.

Registration ID Sequence

Os campos De e Até definem um intervalo de: sequence numbers of the consignment messages for which to generate an XML file.

Simulate

Se esta caixa de controle estiver selecionada, a preview is created in a report without generating and saving an actual XML file in the Outbox folders.