Look who's back again! Creating more things with Claude.

By Shiftrox_ | Future Growth | 2 hours ago


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.

image.pngimage.png


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.

image.pngimage.png


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?

How do you rate this article?

3


Shiftrox_
Shiftrox_ Verified Member

Content Creator at Hive Blockchain | Founding Member of HiveBR (Hive Brazil) | Writer at Publish0x | Web3 and Blockchain Enthusiast


Future Growth
Future Growth

Posts focused on investment, whether crypto or not, airdrops, second layer tokens, ways to make money and resources in exchange for proof of work

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.