What document is typically used to formally define the scope of work, payment terms, and obligations for a subcontractor on a construction project?