Hi,
Hope you are working on CIN environment. If so, refer the doc: Tax Calculation on Freight - Different Scenarios in which the different scenarios are explained. Please check the doc and revert back if you need further clarification.
Regards,
AKPT