Fixed invoices webservice

Lines and invoices were missing their type making the webservice unusable from standard compliant clients.