8
When the AEAT response file for invoices sent correctly is incorporated into D365, whether the invoice has an error or if it is correct, it is requested that the response data be collected from the XML and saved in the record of each invoice, in the related fields of the record of actions in electronic message elements.

1. Always, when receiving response XML1. Whenever a response is imported, the following data is copied from the XML to fields in the electronic record item (invoice):
A. The value of the XML tag siiR: EstadoRegistro, is saved in a new field 'Estado Registro' in the Share Registration section.
B. The value of the XML siiR: CSV tag is saved in a new field 'CSV' in the Share Registration section (since this secure verification code is the proof of registration of the invoice in the AEAT and must be able to be queried and filtered to be searched by users)

In case of incorrect response file
1. In case of receiving an incorrect response file, and with a value in and that the information is copied into the fields 'response code' and "response description".

It is information that must be linked to the record of the invoice submitted to the AEAT and that is currently not available so that any user can filter and consult in an agile way. As we indicated in the detail of the ticket, it is not operational to open XML files one by one
Category: Tax
STATUS DETAILS
Needs Votes