We generalize the Antras and Helpman (2004) model of the international organization of production in order to accommodate varying degrees of contractual frictions. In particular, we allow the degree of contractibility to vary across inputs and countries. A continuum of firms with heterogeneous...