返回所有模板

发票

查看 PDF
分类:Business
许可证:免费使用 (MIT)
摘要:

服务或产品的专业发票

标签:Business
Loading preview...

An invoice template in LaTeX

This invoice template in LaTeX is a one-page invoice for freelancers, consultants and small businesses that bill for services or products. It uses the standard article class with 0.75 inch margins, no page number, booktabs for the line-item table and a single accent colour, headerblue, for the rules.

The top of the page puts a large INVOICE heading with a blue rule on the left and your company name, address, phone and email on the right. Below that, a Bill To block for the client sits opposite the invoice details: invoice number (INV-2025-001 in the sample), invoice date, due date and payment terms (Net 30). The items table has Description, Quantity, Rate and Amount columns with three sample lines (hourly consulting, a fixed-price project and hourly research), followed by Subtotal, Tax at 8% and a bold Total Due. The lower part of the page lists payment details (bank name, account and routing numbers, SWIFT code), three notes covering the payment deadline, quoting the invoice number and a late-payment charge, and a closing thank-you line. All amounts are plain text, so double-check the sums after each edit, or let LaTeX calculate them as shown below. For a covering note to send with the invoice, see the letter template.

What is included

  • INVOICE heading and company contact block
  • Bill To block and invoice number, dates and terms
  • A booktabs line-item table with subtotal, tax and total
  • Payment information and notes
  • One colour, headerblue, defined in the preamble

How to use it

  1. Click Open as Template to edit in Octree, or View Source and paste the code into Overleaf or a local invoice.tex.
  2. Compile with pdfLaTeX.
  3. Replace your company details and the client's Bill To block.
  4. Set the invoice number, dates and terms, then edit the line items and recalculate subtotal, tax and total.
  5. Replace the sample bank details and notes with your own, and save each invoice under its number.

Customise the template

Let LaTeX do the arithmetic. \fpeval evaluates expressions and siunitx formats the result with thousands separators and two decimals. Add to the preamble (xfp provides \fpeval on older LaTeX installations):

\usepackage{xfp}
\usepackage{siunitx}
\sisetup{group-separator={,}, group-minimum-digits=4,
  round-mode=places, round-precision=2}
\newcommand{\money}[1]{\$\num{\fpeval{#1}}}

% in the table
Consulting Services - January & 40 hrs & \money{150} & \money{40*150} \\
...
& & \textbf{Tax (8\%):} & \money{0.08*11000} \\

Add your logo. graphicx is loaded; put the logo in the right-hand header block above the company name:

\raggedleft
\includegraphics[height=1.5cm]{logo}\\[0.2cm]
{\large \textbf{Your Company Name}}\\

Related templates: letter, business card and business plan.

Invoice template FAQ

Does the invoice calculate totals automatically?
No. Every amount in the template, including the subtotal, the 8% tax line and the total due, is typed by hand, so check the arithmetic whenever you change a line item. The customisation section shows how to let LaTeX compute the amounts with \fpeval and format them with siunitx.
How do I add more line items?
Copy one row of the items table, for example 'Project Development & 1 & \$2,500.00 & \$2,500.00 \\', above the empty \\ line that spaces the items from the totals, then update the subtotal, tax and total.
Can I use a different currency?
Yes. Replace \$ with the symbol you need: \euro from the eurosym package for euros, \pounds{} for pounds, or a plain code such as EUR or GBP, which avoids font issues entirely. Change it in the rate, amount and total columns.
Does this invoice template work in Overleaf?
Yes. It uses the article class with geometry, graphicx, booktabs and xcolor, all part of TeX Live, and compiles in Overleaf, Octree or a local install with pdfLaTeX.
Math powered使用 AI 编写 LaTeX

最佳 AI LaTeX 编辑器,Overleaf 替代品

Octree 帮助来自 15+ 所大学的研究人员使用 AI 更快地撰写研究论文

  • 使用 AI 生成精美的 TikZ 图表
  • 上传图片并无缝转换为 LaTeX
  • 获得撰写和格式化研究论文的即时帮助