account.cls

February 24th, 2025 — account.cls
Fig 1. Output of the sample usage of account.cls.
Image of the output

Recently (about a week ago), I visited NYC, Virginia, and DC for many purposes, including raising money for a partnership. Consequently, I've incurred many business expenses that I had to deduct. While settling balances and accounts, I found that I needed to write a bunch of invoices. This simple, 73-line package helps consolidate expenses into a simple box that emulates a reciept.

There are some floating point errors, but LaTeX has limited support for arithmetic. I plan on fixing this in the future™. Below is a sample usage of this class. The output of this snippet can be found here.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
\begin{expense}{Gaylord National Marketplace, 214956 Sokha}
    \textbf{Check Number:} CHK XXXX\\
    \textbf{Date:} 10 February 2025, 9:00 AM\\
    \begin{complist}[0.06]
        \comp{STRBX FRAP MOCHA}{6.00}
        \comp{CROISSANT CHOCOLATE}{4.00}
        \comp{CROISSANT CHOCOLATE}{4.00}
    \end{complist}
    \textbf{Paid with Mastercard ending in XXXX.}
\end{expense}