UserHistory1: Generate an Invoice
Scenario2: Two consecutive invoices generated the same year have consecutive Invoice ID
Refactor