Please go to Sales>>Document Settings>>Invoice Templates>>Select Purchases>>Select template>>Update Settings.