add invoice state to activity