add delete and autoincrement to invoice creation