--- title: "Post sales invoice" slug: "post-sales-invoice" tags: ["Task topic"] updated: 2026-03-20T09:51:53Z published: 2026-03-20T17:44:30Z canonical: "docs.staedean.com/post-sales-invoice" --- > ## 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. # Post sales invoice 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, an EDI invoice message file is created and sent to your customer. For more information on sales order invoice posting, refer to [Create sales order invoices](https://learn.microsoft.com/en-us/dynamics365/finance/accounts-receivable/tasks/create-sales-order-invoices). ## Related - [Sales invoice](/sales-invoice.md)