patch up and migrate forward the Invoice module