Invoice Header Generator
Generate the HTML header of a professional invoice: logo, company name, tax data, number and date. Print/PDF-ready.
Invoice header: anatomy of the most important block on every invoice
The invoice header is the block at the top of a fatura or invoice that identifies the issuer, the document itself and (often) the destination of the payment. It is the first thing a client, an accountant or a tax auditor reads — and it is what makes the rest of the document legally usable. A weak or incomplete header forces extra back-and-forth, slows down accounts-payable cycles and, in some jurisdictions, can invalidate the invoice as a deductible expense.
There is no single ISO standard for invoice layout, but practical conventions converge: in Brazil the SPED, NF-e and NFS-e XML schemas of the Federal Revenue define the data, while the visual rendering (DANFE, DANFSE) is a representation; in the EU, the EN 16931 e-invoicing standard sets the mandatory data fields for B2B and B2G invoicing; in the US the IRS expects certain fields for the 1099 reporting of services paid to contractors.
Essential header fields
- Company name / razao social and, optionally, the trade name (nome fantasia).
- Tax ID: CNPJ (Brazilian legal entity) or CPF (individual); EIN in the US; VAT number in the EU; ABN in Australia; GST/HST number in Canada.
- Address: street, number, district, city, state and CEP (postal code). Address is required for ICMS and ISS attribution.
- Contact: phone and e-mail are the minimum; website is optional but useful for B2B.
- Logo: recommended for branding, never legally required.
- Tax registrations: Inscricao Estadual (IE) for ICMS taxpayers; Inscricao Municipal (IM) for ISS taxpayers; tax regime (Simples Nacional, Lucro Presumido, Lucro Real, MEI).
- Document metadata: invoice number, series, date of issuance, due date and, where applicable, the access key (chave de acesso) for NF-e.
International header fields
For cross-border B2B, the header must carry the tax ID of both parties so the invoice is acceptable for VAT/GST reverse charge. Common identifiers:
VAT number— EU, e.g.DE123456789, validated on VIES.EIN— US Employer Identification Number, formatXX-XXXXXXX.GST/HST— Canada, 15 digits (BN + program).ABN— Australian Business Number, 11 digits.UTR / Companies House— UK.
Design principles
Use a clear visual hierarchy: logo and razao social at the top-left, document title (FATURA / INVOICE) and number at the top-right, followed by tax IDs, address and contact in a smaller font. Stick to one or two readable typefaces (Helvetica, Arial, Inter, IBM Plex Sans) and a single brand color. The header should occupy no more than 15-20% of the first page so the line items have breathing room. Aspect ratio around 3:1 (wide and shallow) works for both A4 and US Letter.
Tools and templates
Mainstream invoicing tools generate the header automatically once you complete your company profile: NFE.io, Conta Azul, Bling, Omie (Brazil), QuickBooks, Xero, Wave (free), Invoice Ninja (open-source, self-host), FreshBooks. For developers, libraries such as pdfmake, react-pdf or simple HTML to PDF (Puppeteer, wkhtmltopdf) cover most cases.
Numbering, formats and branding
Invoice numbering must be sequential and gap-free in many jurisdictions: Portugal (via SAF-T), the EU (Directive 2006/112/EC), Brazil NF-e/NFS-e (sequential by series). For private receipts (RPS, simple commercial invoices) it is optional but strongly recommended. PDF is the de-facto archival format; HTML email is the most opened; DOCX is for editable templates; XML (NF-e, UBL, EN 16931) is for e-invoicing exchange. A consistent header — color, logo, typography — strengthens brand recognition and reduces accounts-payable friction.
Frequently asked questions
Is a logo required? No. No tax authority requires a logo; it is a branding decision.
Should I issue a bilingual header for international clients? Yes, when the client is foreign. Place "Razao Social / Legal Name", "CNPJ / Tax ID" and "Endereco / Address" side by side.
Is a digital signature recommended? Recommended for tax-relevant invoices. NF-e and NFS-e are always signed with ICP-Brasil; private RPS and commercial invoices benefit from a qualified e-signature.
Is the IE (state registration) mandatory? Yes if you are an ICMS taxpayer (sales of goods, energy, freight). The header should print "ISENTO" when the company is exempt.
Can I use the same header for B2B and B2C? Yes, but consider adding "CPF/CNPJ do destinatario:" placeholder so the buyer's tax ID is captured for the body of the invoice.
Related Tools
HTML Invoice Generator
Generate an HTML invoice with line items, amounts, taxes and a calculated total. Customize the details and print or save it as PDF from your browser.
Minor Travel Authorization Generator
Generate travel authorization for unaccompanied minor (BR domestic). For use with notary signature.
Payment Receipt Generator
Generate a simple payment receipt (BR): payer, payee, amount in words, date and description. Print-ready text output.
RG with History Generator
Generate a fake RG with 3 issuances (different dates/issuers) — simulates renewal history. For systems with audit trail.
Text Watermark Generator
Apply a diagonal watermark over a long text (e.g., "CONFIDENTIAL") — HTML with print-ready CSS.
CORS Headers Builder
Build a full set of CORS headers for an API: Access-Control-Allow-Origin, Methods, Headers, Credentials and Max-Age.