Criado por Gabriel Leal em 24/03/2023 17:44 · Atualizado em 19/01/2026 12:25 · Leitura: 1 min
Situação: Ao tentar emitir a NFCE o sistema retorna a seguinte mensagem:
'Ocorreu o seguinte problema na transmissão do XML da NFC-e: Rejeição - Status: 395 - Rejeição: Endereço do site da UF da consulta via QR-Code diverge do previsto'.
Solução :
1 - Realizar a copia do banco da API
2 - Rode o seguinte Update no API do Checkout:
UPDATE links_webservice set link = 'https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml'
where UF = 'MG' and tipo_link = 'URL_CONSULTA_QRCODE' and tipo_ambiente = 'HOMOLOGACAO';
UPDATE links_webservice set link = 'https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml'
where UF = 'MG' and tipo_link = 'URL_CONSULTA_QRCODE' and tipo_ambiente = 'PRODUCAO';