DB changes for invoice