--- title: "Sales - Invoice to XML (810)" slug: "sales-invoice-to-xml-810" tags: ["Object topic"] updated: 2026-03-20T09:52:00Z published: 2026-03-20T17:44:30Z canonical: "docs.staedean.com/sales-invoice-to-xml-810" --- > ## 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. # Sales - Invoice to XML (810) When an invoice is created and posted for a sales order, it is added to the **Invoice journal**. If an applicable document flow with direction '**Outbound**' and type '**Invoice**' exists, also a record is added to the **Outbound message queue**. When this record is processed, the 'Sales - Invoice 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 invoice message file to your customer. ## Related - [Sales invoice](/sales-invoice.md)