Add an option to apply taxes to principal amount in the loan product. Ideally, this should be configurable similar to the current option to apply taxes to Interest, fees, and penalties and should have the option to select the tax source at account creation.
Some countries have complex tax regulatory and legal requirements. These taxes are calculated similar to the base on which regular interests is calculated, applied on the same frequency as the installment, and reflected in the loan schedule as tax. Adding this option would support this tax regulatory requirement.