DANFSe Generator

Generate the DANFSe (auxiliary document of the National NFS-e) as a PDF from the invoice XML, using the Brazilian Federal Revenue Service's open-source engine. The XML is processed in your browser and is not sent to the server.

Processed locally — the content is never sent to the server

Several files at once generate one PDF per invoice. 5 MB limit per XML.

What the DANFSe is

The DANFSe is the printed representation of the national-standard NFS-e. It does not replace the XML, which is the valid tax document: it accompanies the service and makes it easier for the customer to look up the invoice.

How to use

  1. Download the NFS-e XML from the National Issuer, the city portal or your invoicing system.
  2. Paste the content or open the file. If the invoice was canceled or replaced, choose the matching status: the PDF gets the watermark.
  3. Click Generate PDF and download the file.

Privacy

The PDF is generated in your browser with WebAssembly. The XML, with provider, customer and amount data, is not sent to the Entre Bits server.

Engine origin

The layout follows SE/CGNFS-e Technical Note 008. The generation engine is calculadora-rtc-gerador-danfse, published by the Brazilian Federal Revenue Service and Serpro under the MIT license.

Support tool: check the invoice status on the National NFS-e Portal. Entre Bits is not affiliated with the Brazilian Federal Revenue Service.