Fix parsing of sales invoice with multiple lines