@Rahul7218 check this Fetch custom field of a custom doctype in sales invoice print format
You must get a qutation data related to specific slaes invoice