0.0.2 • Published 3 years ago

nfe-node v0.0.2

Weekly downloads
43
License
MIT
Repository
github
Last release
3 years ago

Build Status

-----------------------------------------------------

➤ Como utilizar

Teste e aprenda aqui.

Pesquisando notas não manifestadas

import { InvoiceInterest } from 'nfe-node'

await InvoiceInterest({
  production: false,
  state: 'sp',
  cnpj: 'cnpj',
  certificatePath: 'certificate.pfx',
  password: 'password'
});

// {
//   attributes: { versao: '1.01' },
//   tpAmb: '2',
//   verAplic: '1.2.0',
//   cStat: '138',
//   xMotivo: 'Documento(s) localizado(s)',
//   dhResp: '2021-03-05T17:18:33-03:00',
//   ultNSU: '000000000000030',
//   maxNSU: '000000000000030',
//   loteDistDFeInt: {
//     docZip: [
//       {
//         attributes: { NSU: '000000000000024', schema: 'resNFe_v1.01.xsd' },
//         '$value': 'Valor criptografado',
//         resNFe: {
//           chNFe: 'nfe',
//           CNPJ: 'cnpj',
//           xNome: 'nome',
//           IE: 'ie',
//           dhEmi: '2021-03-03T11:52:00-03:00',
//           tpNF: '1',
//           vNF: '1.99',
//           digVal: 'dig',
//           dhRecbto: '2021-03-03T12:15:40-03:00',
//           nProt: 'protocolo',
//           cSitNFe: '1'
//         }
//       },
//     ]
//   }
// }

-----------------------------------------------------

➤ Como instalar

yarn add nfe-node

-----------------------------------------------------

➤ Como contribuir

Leia nosso guia de contribuição aqui

-----------------------------------------------------

➤ Contribuidores

-----------------------------------------------------

➤ Autor

@sobreirami