When transactions are synced from QuickBooks Commerce to QuickBooks Online (Sales Invoice, Credit Note, Bill, etc.), QuickBooks Commerce will check if there is a QuickBooks Online contact with matching information (Customer or Company Name). If there is a match, then the existing contact will be linked to the transaction/document. If there is no match, a new contact will be created and linked to the transaction/document.