PR - Non-resident alien FWH additional tax

Is there a Payroll formula that will automatically calculate the additional federal withholding tax for an employee that is a NRA?  Or some easy way of adding the additional tax each pay period?