accesskey-decoder
v1.0.0
Published
A simple project to create an access key decoder for brazilian invoices.
Downloads
3
Maintainers
Readme
Access Key Decoder - JS
A simple project to create an access key decoder for brazilian invoices.
1 - How to use
- Install Node.js on your machine;
- Run
node ./src/index.js
, then you'll be asked for an access key; - Paste the access key and type Enter;
- The program will decode and tell you the state, the model of the access key and show the Access Key entity;
- Then it'll ask for a new access key (recursive loop);
- You can leave by typing
quit
,exit
,leave
,stop
or just pressCtrl+C
.
Have fun!
2 - Sources:
- https://enotas.com.br/blog/chave-de-acesso/#indice-1
- https://www.valor.srv.br/guias/guiasIndex.php?idGuia=348
- https://bsoft.com.br/blog/tipos-de-documentos-fiscais-eletronicos
- http://ccentral.com.br/web/nf/Modelos-de-Documentos-Fiscais.pdf
- https://www.oobj.com.br/bc/article/como-%C3%A9-formada-a-chave-de-acesso-de-uma-nf-e-nfc-e-de-um-ct-e-e-um-mdf-e-281.html
- http://www.sistemaunico.com.br/arquivos/manuais/chave_nfe.pdf
- http://files.ivaniocontabilidade.com/200000030-12ffe13f9f/Modelos%20de%20Documentos%20Fiscais.pdf
- https://patrus.com.br/blog/5-duvidas-comuns-sobre-a-nota-fiscal-de-transporte/