Invoice creation error fixed (issue #19)

Change-Id: I0307792fb19a01134c6b6217ab8b2e251889f53f
Signed-off-by: ShineISP <info@shineisp.com>