Estrutura da Tabela

Field Type Null Key Default Extra
idNota int(11) NO PRI auto_increment
idUsuario int(11) NO MUL
userIdMaster int(11) YES
idEmitente int(11) NO MUL
idCliente int(11) NO MUL
idTransportadora int(11) YES
modelo varchar(2) NO 55
serie int(11) NO 1
numero int(11) NO
chaveAcesso varchar(44) YES MUL
protocolo varchar(20) YES
dataEmissao datetime NO
dataSaida datetime YES
tipoOperacao tinyint(1) NO 1
naturezaOperacao varchar(60) YES VENDA DE MERCADORIA
idNatureza int(11) YES
finalidade tinyint(1) YES 1
tipoEmissao varchar(2) YES 1
destinoOperacao varchar(2) YES 1
tipoContribuinte varchar(2) YES 9
consumidorFinal varchar(2) YES 0
indicadorPresenca varchar(2) YES 0
formaPagamento varchar(4) YES
indicadorPagamento varchar(2) YES 0
valorPago decimal(10,2) YES 0.00
indIntermed varchar(2) YES 0
intermedCNPJ varchar(18) YES
intermedId varchar(60) YES
transRazao varchar(100) YES
transCNPJ varchar(18) YES
transIE varchar(20) YES
transEndereco varchar(150) YES
transMunicipio varchar(60) YES
transUF varchar(2) YES
transANTT varchar(20) YES
transPlaca varchar(8) YES
transPlacaUF varchar(2) YES
transRNTRC varchar(20) YES
nfeRefChave varchar(44) YES
nfeRefUF varchar(2) YES
nfeRefAnoMes varchar(4) YES
nfeRefCNPJ varchar(18) YES
nfeRefCPF varchar(14) YES
nfeRefIE varchar(20) YES
nfeRefModelo varchar(2) YES
nfeRefSerie varchar(4) YES
nfeRefNumero varchar(9) YES
nfeRefProdRural varchar(1) YES 0
tipoAtendimento tinyint(1) YES 0
modalidadeFrete varchar(2) YES 9
valorProdutos decimal(10,2) NO 0.00
valorDesconto decimal(10,2) YES 0.00
valorFrete decimal(10,2) YES 0.00
valorSeguro decimal(10,2) YES 0.00
valorOutros decimal(10,2) YES 0.00
valorBaseIcms decimal(10,2) YES 0.00
valorIcms decimal(10,2) YES 0.00
valorBaseIcmsSt decimal(10,2) YES 0.00
valorIcmsSt decimal(10,2) YES 0.00
valorFcp decimal(10,2) YES 0.00
valorFcpSt decimal(10,2) YES 0.00
valorIpi decimal(10,2) YES 0.00
valorPis decimal(10,2) YES 0.00
valorCofins decimal(10,2) YES 0.00
cbs_percentual decimal(5,2) YES 0.90
cbs_valor decimal(15,2) YES 0.00
ibs_percentual decimal(5,2) YES 0.10
ibs_valor decimal(15,2) YES 0.00
is_percentual decimal(5,2) YES 0.00
is_valor decimal(15,2) YES 0.00
valorTotal decimal(10,2) NO 0.00
xml longtext YES
informacoesComplementares text YES
status varchar(20) NO MUL pendente
motivoStatus text YES
xmlAssinado longtext YES
xmlProtocolado longtext YES
xmlCancelamento longtext YES
pdfDanfe varchar(255) YES
recibo varchar(20) YES
situacao tinyint(1) NO 1
dataCadastro date NO
lastUser int(11) NO 0
nota_referencia int(11) YES
tipo_documento varchar(20) YES proprio
caminho_xml varchar(500) YES
caminho_xml_protocolado varchar(500) YES
caminho_xml_cancelamento varchar(500) YES
caminho_danfe_pdf varchar(500) YES

Dados da Tabela (máx. 100 linhas)

idNota idUsuario userIdMaster idEmitente idCliente idTransportadora modelo serie numero chaveAcesso protocolo dataEmissao dataSaida tipoOperacao naturezaOperacao idNatureza finalidade tipoEmissao destinoOperacao tipoContribuinte consumidorFinal indicadorPresenca formaPagamento indicadorPagamento valorPago indIntermed intermedCNPJ intermedId transRazao transCNPJ transIE transEndereco transMunicipio transUF transANTT transPlaca transPlacaUF transRNTRC nfeRefChave nfeRefUF nfeRefAnoMes nfeRefCNPJ nfeRefCPF nfeRefIE nfeRefModelo nfeRefSerie nfeRefNumero nfeRefProdRural tipoAtendimento modalidadeFrete valorProdutos valorDesconto valorFrete valorSeguro valorOutros valorBaseIcms valorIcms valorBaseIcmsSt valorIcmsSt valorFcp valorFcpSt valorIpi valorPis valorCofins cbs_percentual cbs_valor ibs_percentual ibs_valor is_percentual is_valor valorTotal xml informacoesComplementares status motivoStatus xmlAssinado xmlProtocolado xmlCancelamento pdfDanfe recibo situacao dataCadastro lastUser nota_referencia tipo_documento caminho_xml caminho_xml_protocolado caminho_xml_cancelamento caminho_danfe_pdf
1 20 20 14 39 55 1 1 2026-07-17 03:46:28 2026-07-17 00:47:16 1 VENDA DE MERCADORIA 1 1 1 1 9 0 0 0 0.00 0 0 0 9 160.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 160.00 pendente 1 2026-07-17 20 0
2 20 20 14 39 55 1 2 2026-07-17 03:46:32 2026-07-17 00:47:20 1 VENDA DE MERCADORIA 1 1 1 1 9 0 0 0 0.00 0 0 0 9 160.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 160.00 pendente 1 2026-07-17 20 0
3 3 3 16 41 55 1 1 2026-07-17 23:09:36 2026-07-17 20:10:25 1 VENDA DE MERCADORIA 1 1 1 1 9 0 0 0 0.00 0 0 0 9 160.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 160.00 pendente 1 2026-07-17 3 0
4 3 3 16 41 55 1 2 2026-07-18 16:42:41 2026-07-18 13:43:32 1 VENDA DE MERCADORIA 1 1 1 1 9 0 0 0 0.00 0 0 0 9 160.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 160.00 pendente 1 2026-07-18 3 0
5 3 16 42 55 1 3 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 25.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 25.00 rascunho 1 2026-08-01 3 proprio
6 3 16 43 55 1 4 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 50.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 50.00 rascunho 1 2026-08-01 3 proprio
7 3 16 44 55 1 5 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 75.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 75.00 rascunho 1 2026-08-01 3 proprio
8 3 16 45 55 1 6 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 100.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 100.00 rascunho 1 2026-08-01 3 proprio
9 3 16 46 55 1 7 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 125.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 125.00 rascunho 1 2026-08-01 3 proprio
10 3 16 47 55 1 8 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 150.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 150.00 rascunho 1 2026-08-01 3 proprio
11 3 16 48 55 1 9 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 175.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 175.00 rascunho 1 2026-08-01 3 proprio
12 3 16 49 55 1 10 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 200.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 200.00 rascunho 1 2026-08-01 3 proprio
13 3 16 50 55 1 11 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 225.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 225.00 rascunho 1 2026-08-01 3 proprio
14 3 16 51 55 1 12 2026-08-01 16:35:23 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 250.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.90 0.00 0.10 0.00 0.00 0.00 250.00 rascunho 1 2026-08-01 3 proprio
15 3 3 16 41 55 1 13 2026-08-02 01:59:33 2026-08-01 23:00:56 1 VENDA DE MERCADORIA 1 1 1 1 9 0 0 0 0.00 0 0 0 9 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20.00 pendente 1 2026-08-01 3 0
16 3 3 16 41 55 1 14 2026-08-02 02:01:05 2026-08-01 23:02:29 1 VENDA DE MERCADORIA 1 1 1 1 9 0 0 0 0.00 0 0 0 9 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20.00 pendente 1 2026-08-01 3 0
17 3 3 16 21 55 1 15 2026-08-02 02:05:34 2026-08-01 23:06:58 1 VENDA DE MERCADORIA 1 1 1 1 9 0 0 0 0.00 0 0 0 9 110.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 110.00 pendente 1 2026-08-01 3 0
18 3 3 16 42 55 1 16 2026-08-07 20:00:48 2026-08-07 17:00:50 1 VENDA DE MERCADORIA 18 1 1 1 9 0 0 0 0.00 0 0 0 9 100.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 pendente 1 2026-08-07 3 0
19 3 3 16 21 55 1 17 2026-08-07 17:59:57 2026-08-07 17:59:57 1 VENDA DE MERCADORIA 1 1 1 9 0 0 0 0.00 0 0 0 9 10.00 0.00 0.00 0.00 0.00 10.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10.00 pendente 1 2026-08-07 3 0