What document is used for a contractor to contract with subs?

What document is used for a contractor to contract with subs?