% This is an example document accompanying "LaTeX for Administrative Work"
% See www.dickimaw-books.com/latex/admin/ for the book details,
% including licence.
%
% arara: pdflatex
\documentclass{isodoc}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\setupdocument
{
  language={en-GB},
  company={University of Somewhere},
  who={Mr Big Head},
  street={Academic Lane},
  city={Some City},
  zip={AB3 4YZ},
  country={United Kingdom},
  countrycode={GB},
  areacode={44},
  cityzip,
  date=20140301,
  accountname={Big Head},
  accountno={123456},
  subject={Invoice Number 2},
  currency={\pounds},
  iban=ex1234,
  vatno=1234,
  bic=abc123,
  term=28,
  accept,
  acceptaccount={123456789},
  accepteuros={386},
  acceptcents={28},
  acceptreference={1000 2000 3000 4000},
  acceptdescription={Invoice 2}
}

\begin{document}

\invoice
[
  to={Jos\'e Arara\\Nenhuma Rua\\S\~ao Paulo\\123457\\Brazil}
]
{
  \itable
  {
    \iitem{``\,`Duck and Goose': an allegory for modern times?''
   (hardback)}{59.99}
    \iitem{20 copies of ``My Friend is a Duck'' (paperback) 
    at \pounds14.99 per copy}{299.80}
    \iitem{``Annotated Notes on the `Duck and Goose' chronicles''
    (ebook)}{8.99}
    \itotal[Subtotal]{368.78}
    \iitem{Postage and Packaging}{20.00}
    \iitem{Promotional Discount}{$-2.50$}
    \itotal{386.28}
  }
  \\[3ex]
  \accountdata
}

\end{document}
