Skip to content

Commit d908d17

Browse files
authored
Merge pull request #1319 from joaoroyosilva/master
ajuste webservice evento de insucesso na entrega
2 parents e314daa + ac85623 commit d908d17

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Tools.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ public function sefazInsucessoEntrega(
841841
$tagAdic .= "<nProtEvento>{$std->protocolo}</nProtEvento>";
842842
}
843843
return $this->sefazEvento(
844-
'AN',
844+
'SVRS',
845845
$std->chNFe,
846846
$tpEvento,
847847
$std->nSeqEvento,
@@ -1188,6 +1188,8 @@ public function sefazEvento(
11881188
112130,
11891189
112140,
11901190
112150,
1191+
self::EVT_INSUCESSO_ENTREGA,
1192+
self::EVT_CANCELA_INSUCESSO_ENTREGA,
11911193
]
11921194
) && $uf === 'SVRS'
11931195
) {

0 commit comments

Comments
 (0)