Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

To resolve these state inconsistencies you have to do certain manual actions:

2.1.Previous Customizing

In order for the batches to be able to take the TimeOut state previously, it is necessary to parameterize the table /EDGE/SII_MP_013 - Equivalence between Middleware and eDocuments states:

Image Added

Status Process Step
504TIME_OUT

2.2. Manual actions to be performed

To understand this problem, the first thing to do is to check the status of the invoices in the AEAT to see if they have been accepted or rejected.

Once we know the status of the invoices, through exceptional processing:

Image Added

We change the intermediate states to the states indicated by the AEAT. That is, if the records are accepted, we mark them as accepted, if the records are rejected we mark them as rejected or if they have been accepted with errors we mark them as accepted with errors. Finally we change the status of the batch to a final state so that no live batch error (that an intermediate is in two batches at once in a state that is not accepted, partially accepted, rejected or discarded), either accepted, if all records are accepted, partially accepted if there is any rejection or rejected if all records are rejected.

Records that have been rejected should be corrected and resubmitted to the AEAT.

Important: You can choose to resend the records of a batch with a TimeOut error by putting the records of this batch back into a modification batch to get the AEAT to return the correct states to us without having to consult their status one by one. This way, with a modification batch, if the invoices were accepted in the first shipment with a TimeOut error, we will not get the "Duplicate invoice" error that would occur if the invoices were sent again in a registration batch.

Please note that this is possible for all types of invoices except Outgoing Invoice Payments and Incoming Invoice Payments. These two books are cumulative and if they are sent more than once to the AEAT, incorrect amounts will be added. It is therefore necessary to check the status of these invoices in the AEAT and, if they are accepted, not to send them again and to put them in the Cockpit with "Accepted" status so that the statuses (SAP and AEAT) are aligned.

The product cannot develop an automatic functionality for the Time Out problem, as there are invoices that cannot be automatically sent back to the AEAT without having checked their status, as is the case of FE collections and FR payments.

3. Recommendations

We recommend that the Batches contain no more than 1000 invoices, including a maximum of 750 invoices, as the larger the batch, the greater the risk of error in TimeOut. To do this, you can set the table "Conditions for batches SII":

Image Added