How to skip Withholding tax calculation for a certain value of Natural account segment
We have Withholding Tax setup for AP invoices. Requirement is to Not calculate Withholding Tax for a certain value of Natural Account segment.
Currently "Invoice Withholding Tax Group" is being populated automatically at Invoice distribution level. Approach is to remove values from field "Invoice Withholding Tax Group" at invoice distribution level for distributions having a certain value in Natural account segment.
1) As the Withholding tax is being calculated at invoice validation level, tried to remove value of "Invoice Withholding Tax Group" via API in custom Hook "AP_CUSTOM_INV_VALIDATION_PKG.AP_Custom_Validation_Hook" but hook is working (removing the value for Invoice Withholding Tax Group) after withholding tax is already calculated.