Invoice LaTeX Template

A free LaTeX invoice template for a single A4 page. You write each line as description, quantity and unit price, and the subtotal, tax and total are calculated for you.

First page of the Invoice LaTeX template

Open editor Back to templates

LaTeX source

% Invoice template: sender and client blocks, invoice number and dates, line items and totals that add up by themselves,
% tax, payment details and notes, on one A4 page. Edit the data below and add one \lineitem line per product or service.
\documentclass[a4paper,10pt]{article}

\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[english]{babel}
\usepackage[top=2cm,bottom=2cm,left=2.2cm,right=2.2cm]{geometry}
\usepackage{xcolor}
\usepackage{colortbl}
\usepackage{booktabs}
\usepackage{array}
\usepackage{siunitx}
\usepackage{xfp}
\usepackage[hidelinks]{hyperref}

\pagestyle{empty}
\setlength{\parindent}{0pt}
\renewcommand{\arraystretch}{1.35}
\sisetup{detect-weight=true}

% Accent colour: change it here
\definecolor{accent}{HTML}{1F4E79}
\definecolor{tint}{HTML}{E8EEF4}

% ---- Invoice data: edit these ----
\newcommand{\invoicenumber}{2026-0042}
\newcommand{\invoicedate}{2026-11-14}
\newcommand{\duedate}{2026-12-14}
\newcommand{\taxrate}{8}   % percent; use 0 if you do not charge tax
\newcommand{\currency}{\$}

\newcommand{\sendername}{Example Studio Ltd.}
\newcommand{\senderaddress}{12 Sample Street\\ Example City, NY 10001\\ United States}
\newcommand{\senderdetails}{billing@example.com\\ +1 212 000 0000\\ Tax ID: 00-0000000}

\newcommand{\clientname}{Client Company Inc.}
\newcommand{\clientaddress}{45 Client Avenue\\ Sample Town, CA 90001\\ United States}

\newcommand{\paymentdetails}{Bank: Example Bank\\ Account number: 0000000000\\ Routing number: 000000000}

% An amount with its currency symbol, always with two decimals
\newcommand{\money}[1]{\currency\num[round-mode=places,round-precision=2]{#1}}

% \lineitem{description}{quantity}{unit price}: adds a row and adds its amount to the subtotal
\newcommand{\subtotal}{0}
\newcommand{\lineitem}[3]{%
  \xdef\subtotal{\fpeval{\subtotal+round(#2*#3,2)}}%
  #1 & \num{#2} & \money{#3} & \money{\fpeval{round(#2*#3,2)}} \\}

\begin{document}

% ---- Header ----
\begin{minipage}[t]{0.55\textwidth}
  {\LARGE\bfseries\color{accent}\sendername}\\[4pt]
  \senderaddress
\end{minipage}%
\hfill
\begin{minipage}[t]{0.4\textwidth}
  \raggedleft
  {\Huge\bfseries\color{accent}INVOICE}\\[4pt]
  \senderdetails
\end{minipage}

\vspace{1.2cm}

% ---- Client and invoice data ----
\begin{minipage}[t]{0.55\textwidth}
  {\small\bfseries\color{accent}BILL TO}\\[2pt]
  \textbf{\clientname}\\
  \clientaddress
\end{minipage}%
\hfill
\begin{minipage}[t]{0.4\textwidth}
  \raggedleft
  \begin{tabular}[t]{@{}l@{\hspace{1em}}r@{}}
    \textbf{Invoice no.} & \invoicenumber \\
    \textbf{Date} & \invoicedate \\
    \textbf{Due date} & \duedate \\
  \end{tabular}
\end{minipage}

\vspace{1cm}

% ---- Line items ----
\begin{tabular}{@{}>{\raggedright\arraybackslash}p{0.41\textwidth}*{3}{>{\raggedleft\arraybackslash}p{0.17\textwidth}}@{}}
  \rowcolor{accent}
  \textcolor{white}{\textbf{Description}} & \textcolor{white}{\textbf{Quantity}} & \textcolor{white}{\textbf{Unit price}} & \textcolor{white}{\textbf{Amount}} \\
  \lineitem{Website design (hours)}{24}{65}
  \lineitem{Logo and brand guidelines}{1}{480}
  \lineitem{Hosting, annual plan}{1}{119.90}
  \lineitem{Content updates (hours)}{6.5}{45}
  \bottomrule
\end{tabular}

\vspace{0.4cm}

% ---- Totals ----
\hfill
\begin{tabular}{@{}lr@{}}
  Subtotal & \money{\subtotal} \\
  Tax (\taxrate\,\%) & \money{\fpeval{round(\subtotal*\taxrate/100,2)}} \\
  \midrule
  \rowcolor{tint}
  \textbf{Total due} & \textbf{\money{\fpeval{\subtotal+round(\subtotal*\taxrate/100,2)}}} \\
\end{tabular}

\vspace{1.4cm}

% ---- Payment and notes ----
{\small\bfseries\color{accent}PAYMENT DETAILS}\\[2pt]
\paymentdetails

\vspace{0.6cm}

{\small\bfseries\color{accent}NOTES}\\[2pt]
Payment is due within 30 days of the invoice date. Please quote the invoice number in your transfer.
Late payments may be charged interest. Thank you for your business.

\end{document}

More templates

See all templates