In Dynamics 365 Business Central, how would you calculate an early payment discount of say 2% for just product and exclude the freight costs (that are a charged line item) on an invoice? It seems to calculate the 2% on the total sales invoice.

In Dynamics 365 Business Central, how would you calculate an early payment discount of say 2% for just product and exclude the freight costs (that are a charged line item) on an invoice? It seems to calculate the 2% on the total sales invoice.