web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Is it possible to generate invoice numbers based on sales order numbers in Dynamics 365 FO?

(0) ShareShare
ReportReport
Posted on by 655

Hello everyone,

 

In Dynamics 365 FO , is there a standard or supported way to generate an invoice number based on the related sales order number?

For example:

 
  • Sales Order: 102350

  • Invoice Number: INV-02350

  •  

We are looking to align invoice numbering with sales order references for business and compliance reasons.

 

Has anyone implemented this before, or is customization required? Any guidance or best practices would be greatly appreciated.

 

Thank you!

Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    304,760 Super User 2026 Season 1 on at
    Moved the question from the Dynamics 365 General to the Dynamics 365 Finance forum.
     
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    304,760 Super User 2026 Season 1 on at
    Hi CP04-islander,
     
    I doubt if this is allowed by your local regulations. Usually the sales order numbers should be following a continuous number sequence. Out of the box, your scenario is not supported.
     
    What's in a number? From any invoice you can find related sales orders or from sales orders the related invoices.
     
    It would require a customization, but check with accountants first if it is allowed in your region.
  • Suggested answer
    Subra Profile Picture
    510 on at
    Hi,

    I hope we can achieve this using through extension.
  • Suggested answer
    Martin Dráb Profile Picture
    239,466 Most Valuable Professional on at
    This isn't possible, because it wouldn't work in all situations. For instance:
    • You create two invoices partially covering a single order. Both invoices would have the same number, which isn't allowed.
    • You create a summary invoice covering several orders. Your requirement means assigning several different numbers to the same invoice, which isn't possible either.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 621

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 575 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans