Consult NFe without certificate [closed]

2

Is there any way to query the NFe database without certificate via programming?

Today you would only need to check which products are in NFe to automate an internal process.

    
asked by anonymous 02.05.2016 / 22:13

1 answer

1

You have yes Eduardo, you can use any http client to consult the NFe query page, and download its contents to a string, from there you assemble the document translating the html tags to the fields according to the NFe layout, the only annoyance is the captcha that either you skirt or display in your program for the user to type, the disadvantage of this is that you code based on the page of the sefaz, but it is quite simple to implement.

    
02.05.2016 / 23:11