what software to create a database for invoices
Any accounting software. Look at Quickbooks - https://quickbooks.intuit.com/