Create payslips and invoices with Python