You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depois dentro da função que monta o XML de inutilização, adicione o certificado no web service:
webservice.ClientCertificates.Add(NFeContexto.Certificado);
Depois mude as váriaveis status e motivo, pois elas estão dentro da Tag pai "infInut", da forma que está estoura erro de referência.
var status = resultado["infInut"]["cStat"].InnerText;
var motivo = resultado["infInut"]["xMotivo"].InnerText;
Sempre retorna erro 403 - Forbidden da sefaz
The text was updated successfully, but these errors were encountered: