Need help with invoice verification customization
I’m working on a requirement where we need to control which withholding tax codes appear during invoice verification (transaction code for goods receipt based invoice verification). Currently when processing invoices for suppliers, all configured withholding tax codes from the vendor master data are displayed.
The business wants to limit these tax codes based on the purchase order category. For instance, if a supplier has withholding tax types 02, 05, 08, and 09 configured, but the PO category should only allow 02 and 05, then only these two should be visible in the withholding tax tab.
I attempted to use enhancement spots MRM_TAX_CALCULATION_UPDATE and MRM_DOCUMENT_VALIDATION but haven’t achieved the desired result.
The goal is to show only relevant tax lines instead of all available ones from vendor master.
We’re running on S/4HANA system. Has anyone implemented similar functionality? What would be the best approach to achieve this filtering?
Any guidance would be appreciated.