We analyze the legal reform concerning employees' inventions in Germany. Using a simple principal-agent model, we derive a unique efficient payment scheme: a bonus which is contingent on the project value. We demonstrate that the old German law creates inefficient incentives. However, the new law concerning university employees and the pending reform proposal concerning other employees also fail to implement first-best incentives. With suboptimal incentives to spend effort on inventions, the government's goal, an increase in the number of patents, is likely to be missed.