Invoicing: changes to database and scripts.