Table of Contents
Constants
-
CANCELAMENTO
= 210220
-
CIENCIA_EMISSAO
= 210210
-
CONFIRMACAO
= 210200
-
OPERACAO_NAO_REALIZADO
= 210240
Properties
-
$danfe
: mixed
-
$domDoc
: mixed
-
$key
: mixed
-
$type
: mixed
Methods
-
__construct()
: mixed
-
buildCTe()
: mixed
-
buildNFe()
: mixed
-
buildNFSe()
: mixed
-
extrairFaturaECobranca()
: mixed
-
getCertificado()
: mixed
-
getCertificadoEmissor()
: mixed
-
getChaveAcesso()
: mixed
-
getCpfCnpjEmitente()
: mixed
-
getCTe()
: mixed
-
getDanfe()
: mixed
-
getEmitente()
: mixed
-
getEmitenteNotaManual()
: mixed
-
getFiltroInscricaoEstadualAndCodMunicipio()
: mixed
-
getNFe()
: mixed
-
getNFSe()
: mixed
-
manifesto()
: array<string|int, mixed>
-
manifestoLote()
: mixed
-
permissaoUsuarioAtual()
: mixed
-
processarArquivoImporteManual()
: mixed
-
buildDestinatario()
: mixed
-
buildEmitente()
: mixed
-
buildEmitenteNFSe()
: mixed
-
buildExpedidor()
: mixed
-
buildProdutoNFe()
: mixed
-
buildRecebedor()
: mixed
-
buildRemetente()
: mixed
-
buildTomadorNFSe()
: mixed
-
buildTomadorServico()
: mixed
-
destinatarioValido()
: bool
-
getData()
: mixed
-
getNodeValue()
: string|null
-
getNodeValueDOM()
: mixed
-
getTipoNota()
: mixed
-
mapearDadosDanfe()
: array<string|int, mixed>
-
notaJaExiste()
: bool
-
openDanfe()
: mixed
-
registrarErro()
: mixed
-
tipoNota()
: bool
-
validarArquivoZip()
: mixed
CANCELAMENTO
public
mixed
CANCELAMENTO
= 210220
CIENCIA_EMISSAO
public
mixed
CIENCIA_EMISSAO
= 210210
CONFIRMACAO
public
mixed
CONFIRMACAO
= 210200
OPERACAO_NAO_REALIZADO
public
mixed
OPERACAO_NAO_REALIZADO
= 210240
$danfe
private
mixed
$danfe
$domDoc
private
mixed
$domDoc
$key
private
mixed
$key
$type
private
mixed
$type
__construct()
public
__construct([mixed $key = null ]) : mixed
Parameters
-
$key
: mixed
= null
-
buildCTe()
public
buildCTe() : mixed
buildNFe()
public
buildNFe([mixed $importe_manual = false ]) : mixed
Parameters
-
$importe_manual
: mixed
= false
-
buildNFSe()
public
buildNFSe() : mixed
public
extrairFaturaECobranca() : mixed
getCertificado()
public
getCertificado([mixed $cnpj = null ]) : mixed
Parameters
-
$cnpj
: mixed
= null
-
getCertificadoEmissor()
public
getCertificadoEmissor([mixed $cnpj = null ]) : mixed
Parameters
-
$cnpj
: mixed
= null
-
getChaveAcesso()
public
getChaveAcesso() : mixed
getCpfCnpjEmitente()
public
getCpfCnpjEmitente() : mixed
getCTe()
public
getCTe() : mixed
getDanfe()
public
getDanfe() : mixed
getEmitente()
public
getEmitente() : mixed
getEmitenteNotaManual()
public
getEmitenteNotaManual(string $arquivo_xml) : mixed
Parameters
-
$arquivo_xml
: string
-
getFiltroInscricaoEstadualAndCodMunicipio()
public
static getFiltroInscricaoEstadualAndCodMunicipio(string $table[, string $table_accessories = '' ]) : mixed
Parameters
-
$table
: string
-
-
$table_accessories
: string
= ''
-
getNFe()
public
getNFe() : mixed
getNFSe()
public
getNFSe() : mixed
manifesto()
public
manifesto(mixed $cnpj, mixed $chave, mixed $tipo_evento) : array<string|int, mixed>
Parameters
-
$cnpj
: mixed
-
-
$chave
: mixed
-
-
$tipo_evento
: mixed
-
Return values
array<string|int, mixed>
manifestoLote()
public
manifestoLote() : mixed
permissaoUsuarioAtual()
public
static permissaoUsuarioAtual() : mixed
processarArquivoImporteManual()
public
processarArquivoImporteManual(mixed $file) : mixed
Parameters
-
$file
: mixed
-
buildDestinatario()
private
buildDestinatario() : mixed
buildEmitente()
private
buildEmitente() : mixed
buildEmitenteNFSe()
private
buildEmitenteNFSe() : mixed
buildExpedidor()
private
buildExpedidor() : mixed
buildProdutoNFe()
private
buildProdutoNFe() : mixed
buildRecebedor()
private
buildRecebedor() : mixed
buildRemetente()
private
buildRemetente() : mixed
buildTomadorNFSe()
private
buildTomadorNFSe() : mixed
buildTomadorServico()
private
buildTomadorServico() : mixed
destinatarioValido()
private
destinatarioValido(PessoaDAO $model, string $file_name, array<string|int, mixed> &$log_importacao) : bool
Parameters
-
$model
: PessoaDAO
-
-
$file_name
: string
-
-
$log_importacao
: array<string|int, mixed>
-
getData()
private
getData() : mixed
getNodeValue()
private
getNodeValue(string $parentTag, string $childTag) : string|null
Parameters
-
$parentTag
: string
-
-
$childTag
: string
-
Return values
string|null
getNodeValueDOM()
private
getNodeValueDOM(mixed $parent, string $tag[, mixed $default = '' ]) : mixed
Parameters
-
$parent
: mixed
-
-
$tag
: string
-
-
$default
: mixed
= ''
-
getTipoNota()
private
getTipoNota() : mixed
mapearDadosDanfe()
private
mapearDadosDanfe(mixed $conteudo_xml) : array<string|int, mixed>
Parameters
-
$conteudo_xml
: mixed
-
Return values
array<string|int, mixed>
notaJaExiste()
private
notaJaExiste(NotasNaoVinculadaDAO $model, string $file_name, array<string|int, mixed> &$log_importacao) : bool
Parameters
-
$model
: NotasNaoVinculadaDAO
-
-
$file_name
: string
-
-
$log_importacao
: array<string|int, mixed>
-
openDanfe()
private
openDanfe(mixed $danfe) : mixed
Parameters
-
$danfe
: mixed
-
registrarErro()
private
registrarErro(string $tipo, string $mensagem, array<string|int, mixed> &$log_importacao) : mixed
Parameters
-
$tipo
: string
-
-
$mensagem
: string
-
-
$log_importacao
: array<string|int, mixed>
-
tipoNota()
private
tipoNota(string $file_name, array<string|int, mixed> &$log_importacao) : bool
Parameters
-
$file_name
: string
-
-
$log_importacao
: array<string|int, mixed>
-
validarArquivoZip()
private
validarArquivoZip(ZipArchive $zip, string $file) : mixed
Parameters
-
$zip
: ZipArchive
-
-
$file
: string
-