adaptive invoice data extraction