How many programs can download XML from Brazilian NF-e?

Asked

Viewed 10,562 times

2

I see that many websites and systems offer XML Download service issued by Brazilian taxpayers.

Does anyone know if there is beyond the Technical note "002/2012" that establishes a Webservices for download through events, but the deadline is 180 days after the issue and among other restrictions.

I believe that these systems have a way, of course, to bypass the Captcha of the Revenue website and have access to the files. It even has tools, which use digital certificate to download the "original" XML issued.

http://www.nfe.fazenda.gov.br/portal/consulta.aspx?tipoConsulta=completa&tipoConteudo=XbSeqxE8pl8=

Does anyone have knowledge of a "legal" way or a Recipe recommendation of how to download this document?

4 answers

12


I believe that the only legal way to do this is through Receita Federal’s Web Services Electronic Invoice Portal - Web Services.

I am currently working on an NF-e system, I already do both sending information and receiving (including NF-e XML) through Web Services, but for all operations done legally, need the data of the digital certificate of the sender or recipient.

Without the digital certificate that can be both type A1 and type A3, there is no way to make the connection to the Revenue servers. If there is another legal way, I do not know and the IRS also did not mention this in its Technical Notes.

The only legal way to do this is to use the Web Services of the IRS, performing authentication with the digital certificate of the user.

  • What would be the Webservice to download the NF-e using the Digital Certificate of the Company that is receiving the NF-e ?

4

The legal way to do this is by using direct communication with the Revenue API. This communication is made by webservices.

nfephp’s website allows you to implement this on your own: http://www.nfephp.org/pt/latest/

If you don’t have a programming domain, you can use the Focus Nfe API. But it is not free, however it allows you to get both XML and PDF from DANFE in a very practical way: https://focusnfe.com.br/api/doc/nfe/

1

One possibility is during issuance (authorization), to add a specific tag authorizing Cnpjs to download XML.

This requires at least verbal authorization from the sender.

One example is Admsis, which has a 100% web Erp.

Issuer authorizes Cnpj of Admsis to download XML via web services or on the national site.

The state department may not allow this, as is the case of SP.

0

Well, there’s a software called NF-e that downloads NF-e, CT-e, NFC-e XML with and without digital certificate. You also have the option to download the original XML with and without the recipient’s manifestation. If you need to, they offer integration with your system. Website: www.auxilionfe.com

Browser other questions tagged

You are not signed in. Login or sign up in order to post.