--- title: "Purchase - Order to XML (850, 860)" slug: "purchase-order-to-xml-850-860" tags: ["Object topic"] updated: 2026-03-20T09:52:53Z published: 2026-03-20T17:44:30Z canonical: "docs.staedean.com/purchase-order-to-xml-850-860" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Purchase - Order to XML (850, 860) When a purchase order is confirmed, it is added to the **Purchase order confirmation journal**. If an applicable document flow with direction '**Outbound**' and type '**Order**' exists, also a record is added to the **Outbound message queue**. When this record is processed, the 'Purchase - Order to XML' message is run. As a result, this message gets the data from the journal as defined in the outbound message queue record and creates and sends an EDI order message file to your vendor. ## Related - [Purchase order](/purchase-order.md)