Documentation and program for calculating withholding tax