Class DetEventoInsucessoEntregaNFe
Classe de detalhamento do evento de insucesso na entrega da NFe/NFCe
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.NFe
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
[XmlRoot(ElementName = "detEvento")]
public class DetEventoInsucessoEntregaNFe : EventoDetalhe, IXmlSerializable
Properties
COrgaoAutor
Código do órgão autor do evento. Informar o código da UF da chave de acesso para este evento.
Declaration
[XmlIgnore]
public UFBrasil COrgaoAutor { get; set; }
Property Value
| Type | Description |
|---|---|
| UFBrasil |
COrgaoAutorField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade COrgaoAutor para atribuir ou resgatar o valor)
Declaration
[XmlElement("cOrgaoAutor")]
public int COrgaoAutorField { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DescEvento
Descrição do evento. Padrão = Insucesso na Entrega da NF-e
Declaration
[XmlElement("descEvento")]
public override string DescEvento { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
DhHashTentativaEntrega
Data e hora da geração do hash da tentativa de entrega. Formato AAAA-MMDDThh:mm:ssTZD.
Declaration
[XmlIgnore]
public DateTimeOffset DhHashTentativaEntrega { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
DhHashTentativaEntregaField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade DhHashTentativaEntrega para atribuir ou resgatar o valor)
Declaration
[XmlElement("dhHashTentativaEntrega")]
public string DhHashTentativaEntregaField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DhTentativaEntrega
Data e hora da tentativa de entrega. Formato = AAAA-MM-DDTHH:MM:SS TZD
Declaration
[XmlIgnore]
public DateTimeOffset DhTentativaEntrega { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
DhTentativaEntregaField
Propriedade auxiliar para serialização/desserialização do XML (Utilize sempre a propriedade DhTentativaEntrega para atribuir ou resgatar o valor)
Declaration
[XmlElement("dhTentativaEntrega")]
public string DhTentativaEntregaField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HashTentativaEntrega
Hash SHA-1, no formato Base64, resultante da concatenação de: Chave de Acesso da NF-e + Base64 da imagem capturada na tentativa da entrega (ex: imagem capturada da assinatura eletrônica, digital do recebedor, foto, etc).
Nota 1: A critério do autor do evento, este campo pode ser utilizado como índice para acesso as informações do Insucesso na Entrega da NF-e. Nota 2: A SEFAZ não tem nenhum controle sobre a informação deste campo.
Propriedade, se não for informado em Base64, automaticamente converte o conteúdo para Base64, facilitando para o desenvolvedor.
Declaration
[XmlElement("hashTentativaEntrega")]
public string HashTentativaEntrega { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LatGPS
Latitude do ponto de entrega (Coordenada GPS)
Declaration
[XmlElement("latGPS")]
public string LatGPS { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LongGPS
Longitude do ponto de entrega (Coordenada GPS)+
Declaration
[XmlElement("longGPS")]
public string LongGPS { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NTentativa
Número da tentativa de entrega que não teve sucesso
Declaration
[XmlElement("nTentativa")]
public int NTentativa { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TpMotivo
Motivo do insucesso da entrega
Declaration
[XmlElement("tpMotivo")]
public TipoMotivoInsucessoEntrega TpMotivo { get; set; }
Property Value
| Type | Description |
|---|---|
| TipoMotivoInsucessoEntrega |
VerAplic
Versão do aplicativo do Autor do Evento.
Declaration
[XmlElement("verAplic")]
public string VerAplic { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
XJustMotivo
Justificativa do motivo do insucesso. Informar apenas para TpMotivo = 4-Outros
Declaration
[XmlElement("xJustMotivo")]
public string XJustMotivo { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
WriteXml(XmlWriter)
Declaration
public override void WriteXml(XmlWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlWriter | writer |