\documentclass{letter}
\usepackage[utf8]{inputenc}
\usepackage[colorlinks]{hyperref}
\usepackage[left=1in,top=1in,right=1in,bottom=1in]{geometry} % Document margins
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{ragged2e}
\usepackage{hhline}
\usepackage{array}

\hypersetup{
    urlcolor=blue
}

\newcolumntype{R}[1]{!{\raggedleft\let\newline\\\\arraybackslash\hspace{0pt}}m{#1}}

\begin{document}
    
\thispagestyle{empty}

% Header, for company, invoice info
\begin{tabularx}{\textwidth}{l X l}
    \multirow{5}{*} & \textbf{Resource Creation} & \hskip12pt\multirow{5}{*}{\begin{tabular}{r}\footnotesize\bf INVOICE \\[-0.8ex] \footnotesize \MakeUppercase{Deposit} \\[-0.4ex] \footnotesize\bf ISSUE DATE \\[-0.8ex] \footnotesize \MakeUppercase{\today} \\[-0.4ex] \footnotesize\bf DUE DATE\\[-0.8ex] \footnotesize \MakeUppercase{November 8, 2023} \end{tabular}}\hspace{-6pt} \\
   & Aayush Bajaj & \\
   & \hrulefill \\
   & Email: j@abaj.io & \\
   & Ph:  0481 910 408 & \\
   & ABN: 64257676141
\end{tabularx} 

\vspace{1 cm}

BILL TO

% Recipient name
\Large\textbf{PEN Education}\normalsize

% Table of fees
\begin{tabularx}{\linewidth}{l X X X c}
    \hline
    & & & &\\[0.25ex]
    \centering{\bf{Service}} & \centering{\bf{Rate}} & \centering{\bf{Quantity}} & \centering{\bf{Discount}} & \bf Payment due\\[2.5ex]\hline
    & & & &\\
    Year 9 Mathematics Booklets Deposit & \centering\$300 & \centering 1 & \centering -\$0 & \$300\\[2.5ex]\hline
    & & & &\\
    & & & \bf Total & \$300\\[2.5ex]\hhline{~~~--}
    & & & & \\
    & & & \bf Received & \$0\\[2.5ex]\hhline{~~~--}
    & & & & \\
    & & & \bf Due & \$300\\[2.5ex]\hhline{~~~==}
\end{tabularx}

\vspace{1 cm}

\Large\textbf{Payment instructions}\normalsize

\vspace{0.1 cm}

\textbf{Account Transfer}\\
BSB: 633-123\\
Account Number: 174201004

\textbf{Pay-ID}\\
0481 910 408

\end{document}
