Process XML Responses (lpesp2209m000)

Use this session to process the XML file response of the Spanish Tax Authority (AEAT) saved in the inbox directory defined in the Spanish Parameters (lpesp0100m000) session. The local.ly connector saves the Spanish Tax Authority AEAT response in the Inbox directories defined in the Spanish Parameters (lpesp0100m000) session. This session updates only those transactions which are selected in the Select SII Transactions (lpesp2206m000) session and for which the XML file has already been generated and sent to the tax authorities. The records are updated based on the following response:

  • Correcto: The generated transaction is updated with Status set to Accepted and the Security Verification Code (CSV) is updated.
  • Incorrecto: The generated transaction is updated with Status set to Rejected and the Error Message is updated.
  • Aceptado con errores: The generated transaction is updated with Status set to Accepted with Errors and the Security Verification Code (CSV) and ‘ Error Message is updated. This response type is not applicable for consignment transactions.

If the XML response is successfully processed, the XML file is removed from the inbox directory defined in the Spanish Parameters (lpesp0100m000) session and placed in the archive directory.

Field Information

Company

The code of the financial company.

Description

The description or name of the code.

Purchase Invoices

If this check box is selected, the purchase invoices are updated.

Sales Invoices

If this check box is selected, the sales invoices are updated.

Special Cash

If this check box is selected, the payment documents related to purchase invoices with operation type Code set to ‘07’ (Special Cash Regime) in the Code Lists (lpgen0110m000) session, are updated.

Consignment

If this check box is selected, the consignment transactions are updated.