-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathcancelamento.go
More file actions
20 lines (18 loc) · 788 Bytes
/
cancelamento.go
File metadata and controls
20 lines (18 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package nfe
import (
"time"
)
// RetCancNFe representa o XML de retorno da Sefaz do cancelamento da NFe. Não é mais usado, tendo sido substituído pelos eventos (EventoNFe), mas ainda pode ser retornado em uma consulta de protocolo (ConsSitNFe) de notas antigas.
type RetCancNFe struct {
Versao string `json:"-" xml:"versao,attr"`
InfCanc struct {
TpAmb TAmb `json:"tpAmb" xml:"tpAmb"`
VerAplic string `json:"verAplic" xml:"verAplic"`
CStat int `json:"cStat" xml:"cStat"`
XMotivo string `json:"xMotivo" xml:"xMotivo"`
CUF int `json:"cUF" xml:"cUF"`
ChNFe string `json:"chNFe" xml:"chNFe"`
DhRecbto time.Time `json:"dhRecbto" xml:"dhRecbto"`
NProt string `json:"nProt" xml:"nProt"`
} `json:"infCanc" xml:"infCanc"`
}