Generate XML Files (lpesp2208m000)

Cette session permet 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.

Informations sur le champ

Finance Company

The code of the financial company.

Description

Description ou nom du code.

Declaration Year

The tax year for which the tax declaration is prepared.

Description

Description ou nom du code.

Declaration Period

Les champs De et A permettent de définir une plage de : periods for which the tax declaration is prepared.

Communication Type

Les champs De et A permettent de définir une plage de : communication types.

Valeurs autorisées

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

Si cette case est cochée, the purchase invoices are selected.

Sales Invoices

Si cette case est cochée, the sales invoices are selected.

Special Cash

Si cette case est cochée, the payment documents related to Purchase Invoices with Operation Type Code set to ‘07’ (Special Cash Regime) in the Listes de codes (lpgen0110m000) session, are selected.

Consignment

Si cette case est cochée, 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

Les champs De et A permettent de définir une plage de : the fiscal periods of the consignment messages for which to generate the XML file.

Communication Type

Les champs De et A permettent de définir une plage de : the communication types of the consignment messages for which to generate the XML file.

Valeurs autorisées

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

Registration ID

Les champs De et A permettent de définir une plage de : registration IDs of the consignment messages for which to generate an XML file.

Registration ID Sequence

Les champs De et A permettent de définir une plage de : sequence numbers of the consignment messages for which to generate an XML file.

Simulate

Si cette case est cochée, a preview is created in a report without generating and saving an actual XML file in the Outbox folders.