Create new invoice based off of the invoice template
Generate html + pdf invoice with pandoc the transmit invoice to customer.
Once cleared payment update watermark re generate invoices as above and transmit to customer as receipt.
#Produces HTML Invoice
pandoc invoice.md -o invoice.html
#Produces PDF Invoice
pandoc invoice.md --css=print.css -o invoice.pdf --pdf-engine=weasyprint