Set right account when generating invoice