Documentation

NotaFiscalHelper extends NotaFiscalConexaoHelper
in package

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

Constants

Properties

Methods

__construct()

public __construct([mixed $key = null ]) : mixed
Parameters
$key : mixed = null

buildNFe()

public buildNFe([mixed $importe_manual = false ]) : mixed
Parameters
$importe_manual : mixed = false

getCertificado()

public getCertificado([mixed $cnpj = null ]) : mixed
Parameters
$cnpj : mixed = null

getCertificadoEmissor()

public getCertificadoEmissor([mixed $cnpj = null ]) : mixed
Parameters
$cnpj : mixed = null

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 = ''

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>

processarArquivoImporteManual()

public processarArquivoImporteManual(mixed $file) : mixed
Parameters
$file : 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>
Return values
bool

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 = ''

mapearDadosDanfe()

private mapearDadosDanfe(mixed $conteudo_xml) : array<string|int, mixed>
Parameters
$conteudo_xml : mixed
Return values
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>
Return values
bool

validarArquivoZip()

private validarArquivoZip(ZipArchive $zip, string $file) : mixed
Parameters
$zip : ZipArchive
$file : string

        
On this page

Search results