add salesOrder instead of only sales invoices and fix configuration a little bit