allow to import invoices without saving original xml, refs #4767