invoice variable used twice

Change-Id: Ic41768a3b875ce754f9025c23b4d5ab4490a153b