Skip to content

Commit 94dd25c

Browse files
john182JohnVanderson
andauthored
removido MA do servidor SVAN (#75)
Co-authored-by: JohnVanderson <john.vanderson@nfe.com>
1 parent 14552b4 commit 94dd25c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

NFe.Servicos/ServicosNFe.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,8 @@ private INfeServico CriarServico(ServicoNFe servico, string proxyAddress = null)
262262
case ServicoNFe.RecepcaoEventoCartaCorrecao:
263263
case ServicoNFe.RecepcaoEventoCancelmento:
264264
case ServicoNFe.RecepcaoEventoManifestacaoDestinatario:
265-
if (IsSvanNFe4()) return new RecepcaoEvento4SVAN(url, _certificado, _cFgServico.TimeOut);
265+
if (IsSvanNFe4())
266+
return new RecepcaoEvento4SVAN(url, _certificado, _cFgServico.TimeOut);
266267

267268
if (_cFgServico.VersaoRecepcaoEventoCceCancelamento == VersaoServico.Versao400)
268269
return new RecepcaoEvento4(url, _certificado, _cFgServico.TimeOut);
@@ -287,7 +288,7 @@ private INfeServico CriarServico(ServicoNFe servico, string proxyAddress = null)
287288

288289
private bool IsSvanNFe4()
289290
{
290-
return (_cFgServico.cUF == Estado.PA || _cFgServico.cUF == Estado.MA) &&
291+
return _cFgServico.cUF == Estado.PA &&
291292
_cFgServico.VersaoNfeStatusServico == VersaoServico.Versao400 &&
292293
_cFgServico.ModeloDocumento == ModeloDocumento.NFe;
293294
}

0 commit comments

Comments
 (0)