You receive an order confirmation from your vendor, with the 'Purchase - XML to EDI confirmation' message. This message imports the confirmation into the EDI purchase order journal. When the import is completed, the applicable validations are done automatically.