Furthermore the communication with government computers may be tricky as each state has it’s own servers and there are redundancy servers with little communication specificities. By law we have to inform the receiver via email that the NFe is successfully issued.īy law the issuer must keep the XML file for at least 5 years.Īs it turns out, the XML file is very complicated, it has many fields and rules according to the type of the company and the kind of taxes it pays. If the invoice is authorized then we are able to generate the DANFe (short for Auxiliar Document of the NFe). Government receives the transaction and “tells” you the estimated time it will have an answer (rarely being more than 5 seconds).Īfter that time we query the server to see if it have an answer. Third step is to communicate with the government servers, using SOAP technology. The second step will be to digitally sign this XML document using a digital certificate compliant with ICP-Brasil standards. Obviously this is made in an automated way, called NFe.įirst of all one should fill a XML file containing, information about the issuer, the receiver, the products, the taxes (wich are very, very complicated in Brazil), the way it will be transported, how it will be paid and so on. Meaning that each and every sale (or importing) transaction is informed to the government that authorizes one by one. The electronic version of invoices are issued one by one and pre-filled by the company. Since 2008 Brazilian government has adopted an electornic invoice system, making it mandatory to any brazilian company that sells products. Any company could get the authorization to print a certain number of unfilled invoices so they could fill it and send to their customers. Until 2008 invoices in Brazil were issued in paper. What is the NFe (Nota Fiscal Eletrônica or Electronic Invoice) Lately we have seen lots of foreign developers facing the challenge of developing NFe solutions for brazilian companies.Īs we now have some customers in this situation we will release content in english to make it easy for these developers to accomplish this challenge.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |