Fix invoice error