Generate XML Files (lpesp2208m000)

使用此进程以 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

代码的说明或名称。

Declaration Year

The tax year for which the tax declaration is prepared.

Description

代码的说明或名称。

Declaration Period

“自”和“至”字段可定义以下一组内容: periods for which the tax declaration is prepared.

Communication Type

“自”和“至”字段可定义以下一组内容: communication types.

允许值

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

如果选中此复选框, the purchase invoices are selected.

Sales Invoices

如果选中此复选框, the sales invoices are selected.

Special Cash

如果选中此复选框, the payment documents related to Purchase Invoices with Operation Type 代码 set to ‘07’ (Special Cash Regime) in the 代码清单 (lpgen0110m000) session, are selected.

Consignment

如果选中此复选框,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

“自”和“至”字段可定义以下一组内容:the fiscal periods of the consignment messages for which to generate the XML file.

Communication Type

“自”和“至”字段可定义以下一组内容:the communication types of the consignment messages for which to generate the XML file.

允许值

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

Registration ID

“自”和“至”字段可定义以下一组内容:registration IDs of the consignment messages for which to generate an XML file.

Registration ID Sequence

“自”和“至”字段可定义以下一组内容:sequence numbers of the consignment messages for which to generate an XML file.

Simulate

如果选中此复选框, a preview is created in a report without generating and saving an actual XML file in the Outbox folders.