Fix in creation of invoices

![schermafbeelding 2014-06-04 om 16 27 44](https://cloud.githubusercontent.com/assets/1244416/3174718/6fe195da-ebf4-11e3-9a29-4b24bcd734d2.png)