Migrate to AASM the invoices model