A complete NF-e field outline before you hit the emissor
A Brazilian Nota Fiscal Eletrônica carries a dense set of mandatory fields — CNPJ, inscrição estadual, CFOP, NCM per item, and four separate taxes. This tool documents every one of them and computes the ICMS, IPI, PIS, and COFINS breakdown so you can hand a correct draft to a certified issuer or your accountant. It does not transmit to SEFAZ; it gets the data right before you do.
How it works
Each line item is quantity multiplied by unit value, summed into the product value (valor dos produtos). The builder then applies each tax rate to that base: ICMS, PIS, and COFINS are calculated for visibility but are embedded in the price, while IPI is added on top. The total value of the nota is therefore the product value plus IPI, which mirrors how a typical NF-e total is built. The CFOP and natureza da operação describe the operation, and each item carries its NCM classification. The output is a clean field-by-field outline you copy into a certified emissor or send to your accountant for the actual SEFAZ-authorised issuance.
Tips and example
Get the CFOP right first — it determines the tax treatment, and 5102 (sale of merchandise within the state) behaves very differently from an inter-state or return code. Confirm each NCM code, since ICMS and IPI rates depend on the product classification. A line of two units at R$ 1,500 gives a R$ 3,000 product value; with IPI at 0 percent the nota total stays R$ 3,000, while ICMS at 18 percent (R$ 540) sits embedded in the price. Remember this is a draft only — issue the binding NF-e through a certified emissor with your digital certificate.