Please follow the following steps to activate the Discounts feature:
1. Go to Configuration → Basic Settings → MISC
2. Make the box Discounts active → Update.
Now, you are able to add the discount needed for Purchase Orders or Invoices. You can do that either for each item separately or for the entire document.