Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adicionar suporte para CPF #2

Closed
lucashpmelo opened this issue Aug 13, 2022 · 0 comments
Closed

Adicionar suporte para CPF #2

lucashpmelo opened this issue Aug 13, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@lucashpmelo
Copy link
Owner

lucashpmelo commented Aug 13, 2022

Descreva a melhoria
Atualmente a biblioteca só possui suporte para consulta e manifesto de pessoa jurídica, mas os Web Services permitem informar o CPF do interessado no DF-e e do autor do Evento.

Forneça um exemplo de código

const distribuicao = new DistribuicaoDFe({
  pfx: fs.readFileSync('./certificado.pfx'),
  passphrase: 'senha',
  cpf: '12345678901',
  cUFAutor: '41',
  tpAmb: '1',
})

const recepcao = new RecepcaoEvento({
  pfx: fs.readFileSync('./certificado.pfx'),
  passphrase: 'senha',
  cpf: '12345678901',
  tpAmb: '1',
})
@lucashpmelo lucashpmelo added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 13, 2022
@lucashpmelo lucashpmelo added this to the 1.0 milestone Aug 13, 2022
@lucashpmelo lucashpmelo reopened this Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant