create invoice fix