Create Payment Group

When you create payment groups using the Create Payment Control Groups program (R04570), the system calls the Print PCG Detail - Mex program (R76M570) to calculate the VAT and income withholding for Mexican suppliers. The system uses the VAT and income percentages that you set up for Mexican companies and suppliers, along with the voucher information that exists in the F76M411T table, to calculate the withholding amount. The system stores the withholding amount, concept, percentage, and gross or taxable flag for each pay item in the PCG Detail Withholding Amounts table (F76M573). For each payment, the system summarizes the withholding by withholding type and concept, and writes the withholding data to the A/P Header Withholding Summary table (F76M572). The system also writes withholding data to the A/P Payment Processing - Detail table (F04573). The system uses the data in the F76M572 and F76M573 tables, along with the data that is stored in the base software tables, when you use the Write and Update processes in the automatic payment process.

The Print PCG Detail - Mex program generates a report that includes the withholding calculation details for the vouchers processed. The report includes a header for each payment record that exists in the A/P Payment Control Group table (F04571). The header includes information such as the bank account, currency code, and payment amount. The detail of the report includes information such as the alternate payee, the withholding amounts and percentages, and the payment due date.

You assign the Print Payment Order - MEX program (R76M573) as the attachment program to run during the write payment group process. Enter P76M573 as the attachment in the Payment Instruments Default program (P0417). You must also set up P76M573 in the 04/PA UDC table. You can set a processing option to specify whether to print general ledger distribution information.