If the registration status is still PENDING
after retrieving the invoice via the retrieveInvoice
endpoint, it indicates that the connection to the Spanish Tax Authority server has been lost.
No action is required on your end. SIGN ES includes an availability check for the TicketBAI service, and the transmission of TicketBAI files will automatically resume once the service connection is restored.