Commission based on gross profit

Hi,

I’d like to calculate sales partner commission based on the invoiced amount minus tax minus cost of goods sold. Can I adjust “invoiced amount” column so that it excludes cost of goods sold as well as tax?

thanks,
Sofia

The difference should be the rate - valuation_rate. The valuation rate could be in the Delivery Note too.