This article explains how the Ship To and Invoice To Addresses on Purchase Orders are populated.

Title
Ship To and Invoice To Addresses

Content
URL Name
Ship-To-and-Invoice-To-Addresses