Distrito.me
EEEE AEEEEEEEEEEEEEEEEEEEE
I'm back again! But this time it's nothing too personal, it's more of a project for the company where I work. I suggested creating an intranet, like a website for all employees to access and use various tools that I will create.
The first is an XML validation for issued invoices, electronic invoices (NFe) and electronic consumer invoices (NFCe), some crazy things here in Brazil in terms of sending them to the respective agencies and thus showing everything you are selling or shipping.
The summary is quite simple: TAXES, as always, Brazil and taxes are friends, married and lovers, for the government, the more the better. So, sending the files to the SEFAZ (State Finance Secretariat) is what helps them know what you're doing.

Initially, you upload the XML file and click the "Validate XML" button. A series of validations will then be performed, and the idea is to get the most complete feedback possible on what is wrong.
To begin, a repository folder with a PDF file of approximately 4 MB and about 130 pages, called (Taxpayer Guidance Manual - MOC - version 7.0 - NF-e and NFC-e), was created. This consumed quite a few of Claude's credits haha, but it was enough to make the initial version.

After that, another folder called "Examples" with XMLs of authorized invoices, that is, invoices received by SEFAZ (Brazilian tax authority) and accepted, which worked. These XMLs will be constant examples of how the website should look at the XML I'm validating, thus providing a solid basis for them to follow this example for validation.
So far it has worked and the validation is OK. So, who knows, maybe I'll get some bonus for putting in the effort, right?

EEEE AEEEEEEEEEEEEEEEEEEEE
Ataco novamente! Mas agora não é nada muito pessoal, é mais um projeto para a empresa onde trabalho. Dei a ideia de criar uma intranet, tipo, um site para todos os funcionários acessarem e terem como acessar várias ferramentas que irei criar.
A primeira é uma validação de XML de notas emitidas, nota fiscal eletrônica (NFe) e Nota Fiscal consumidor eletrônica (NFCe), algumas loucuras aqui do Brasil em questão de enviar para os órgãos respectivos e assim mostrar tudo o que você está vendendo ou enviando.
O resumo é bem simples: IMPOSTO, como sempre, Brasil e imposto são amigos, casados e amantes, para o governo da picanha quanto mais melhor. Então, você enviar os arquivos para a SEFAZ é o que ajuda eles a saberem o que você anda fazendo.

A princípio, é carregar o arquivo XML e clicar no botão “Validar XML”, assim, uma série de validações será feita e a ideia é ter o retorno mais completo possível sobre o que está errado.
Para começar, uma pasta repositório com um arquivo PDF de mais ou menos 4 MB e umas 130 e poucas páginas, chamado “Manual de Orientação ao Contribuinte - MOC - versão 7.0 - NF-e e NFC-e”. Isso consumiu bastante créditos da Claude haha, mas deu para fazer a versão inicial.

Depois disso, outra pasta chamada "Exemplos" com XMLs de notas autorizadas, ou seja, notas recebidas pela SEFAZ e foram aceitas, que deram certo. Esses XML serão exemplos constantes de como o site deve olhar para o XML que estou validando e assim ter uma base sólida de que eles têm que seguir esse exemplo para validar.
Até o momento têm dado certo e a validação está OK. Então, quem sabe não ganho algum bônus por estar me empenhando nisso, não é mesmo?


My Game: https://horizonforge-production.up.railway.app/lobby
Follow me on X (Formerly Twitter)
🔥Please, consider helping by using my reference links🔥
| Post To Earn | DePIN | Win SATS | Win SATS | Have Fun To Earn |
| Publish0x | Honeygain | Slice | ZBD | Rumble Arcade |
eu fiz um app pra minha empresa que faz a emissao de nota fiscal de servicos direto usando a api do sistema nacional de NFS-e. As minhas notas sao emitidas direto pelo meu proprio app.
O louco massa demais, a gente usa uma dll de um terceiro, flexdocs, usamos eles para emitir nfe e nfce. Já tem um bmo tempo que utilizamos os serviços deles, mas por enquanto é programa de computador mesmo, nada de app ou site.
Precisamos evoluir haha
rapaz to usando bastante no trabalho....gerando figuras pra caramba hehehe
!PIXY
haha bacana mano, eu to sempre criando algo, quero fazer umas coisas la pro trabalho pra facilitar pra todos e quem sabe ganhar uns créditos com o patrão kkk
Congratulations @shiftrox! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
Your next target is to reach 63000 upvotes.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOPCheck out our last posts: