Fazer o download do xml correto, executar um sql e importar novamente o XML



DELETE FROM NFE_MASTER WHERE NUMERO=0000