Please see the following articles:

1) Qualified Intermediary – QI General

2) Qualified Intermediary – Withholding Rules

3) Non-Qualified Intermediary – NQI