How to change invoice template for Purchases/Purchase Order/Debit note on web?

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