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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How to find missing document of Posted Sales Invoice

(1) ShareShare
ReportReport
Posted on by 2
Hello Everyone
 
I recently noticed a gap in the Posted Sales Invoices. I have analyzed the system but couldn’t identify the reason behind this gap.
I have checked, Archive table, G/L Entries and Customer Ledger Entry and Log entry.

Could someone guide me on what further analysis I should perform to determine the cause of this issue?
I have the same question (0)
  • GS-05081026-0 Profile Picture
    12 on at
    How to find missing document of Posted Sales Invoice
    Hi,
     
    Someone may have accidentally deleted these posted documents. In order to prevent users from deleting posted documents, make sure that the toggle button below is on.
     
  • Suggested answer
    Pallavi Phade Profile Picture
    240 on at
    How to find missing document of Posted Sales Invoice
    Namaste ,
     
    There can be several reasons for Gap in No series 
     
    Verify if any sales document (order or invoice) remained unposted due to an issue, while subsequent documents were successfully posted. In such cases, the posted document number will still appear in the “Posting No.” field of the Sales Header table. This can be checked directly in the Sales Header table at the back end.
     
     
     
    OR
    If there is gap in number series, then check incremental series of no series line 
    OR
    Check allowed Gaps in No series table
     
    Any Integration done where posting is done from external system . Then there is possiblity of missing number 
     
    IF you feel your query is answered , then please verify the answer 
     
    Regards
    Pallavi Phade
     
  • Suggested answer
    Aakib khan Profile Picture
    43 on at
    How to find missing document of Posted Sales Invoice

    To further analyze gaps in Posted Sales Invoices in Business Central, consider advanced checks beyond the Archive table, G/L Entries, Customer Ledger Entry, and Log entry. Most gaps originate from number series configuration, document deletion, reserved but unposted numbers, or issues in API/data aggregation.dynamics+3

     

    Actionable Next Steps

     

    1. No. Series & "Allow Gaps in Nos." Setting

     

    •  

      Review the configuration of your invoice No. Series. If "Allow Gaps in Nos." is enabled, gaps can appear when records are deleted or errors occur during creation.yzhums+1


    •  

      Investigate sales invoices that were started but deleted prior to posting—these can create gaps.tharangac+1



    •  
     

    2. Incomplete/Deleted Documents

     

    •  

      Check the Sales Invoice Header and Unposted Sales Invoices tables for documents with missing numbers or "reserved" numbers that were never posted.


    •  

      Filter for the missing invoice number in both posted and unposted tables to see if any document exists with that number.dynamics+1



    •  
     

    3. Audit Trail & Change Log Review

     

    •  

      Use Business Central’s Change Log feature to audit deleted invoices, track changes, and identify the user/action responsible for gaps. Change Log captures insert, modify, and delete operations.learn.microsoft+1


    •  

      Ensure audit trail functionality is fully enabled for all core tables related to sales invoices.



    •  
     

    4. API/Data Aggregate Issues

     

    •  

      If using integrations or reporting via the API, run the API Data Upgrade on the Sales Invoice Entity Aggregate table to fix data not properly updating in external systems.thatnavguy+1


    •  

      Schedule and monitor job queue entries for API upgrades as needed.



    •  
     

    5. Filtering/Visibility Issues

     

    •  

      Ensure no unwanted filters are applied to your Posted Sales Invoice list that could hide records. Check both system-wide and local user filters.dynamics


    •  

      Use the "Navigate" or "Find Entries" function to track down related entries and transactions across modules.learn.microsoft+1



    •  
     

    Mitigation & Prevention Tips

     

    •  

      Regularly review and maintain No. Series settings to match your compliance needs.


    •  

      Enable and periodically audit the Change Log for relevant tables.


    •  

      Educate users on the impact of deleting documents on number continuity.


    •  

      Monitor job queue processes for data consistency in aggregated/reporting tables.linkedin+1



    •  
     

    Further analysis should focus on No. Series setup, deleted or still-reserved documents, audit trails, API issues, and filter settings. This comprehensive approach will help pinpoint the cause behind missing invoice numbers and prevent future data continuity issues.thatnavguy+4



    1. https://community.dynamics.com/forums/thread/details/?threadid=052df461-2885-4af2-85ee-b8353e7dcfa6

    2. https://yzhums.com/35909/

    3. https://tharangac.com/2015/01/number-is-missing-in-the-posted-sales-invoice-list.html

    4. https://support.microsoft.com/en-gb/topic/gaps-can-be-created-in-posted-invoices-if-errors-occur-in-the-hungarian-version-of-microsoft-dynamics-nav-2009-r2-19c256c5-c009-1dad-94b8-58d1b03ff0d0

    5. https://community.dynamics.com/forums/thread/details/?threadid=82e55f8a-3046-441d-bb9e-5398c454b364

    6. https://www.dynamicsuser.net/t/gap-in-posted-sales-invoice-no/39096

    7. https://learn.microsoft.com/en-us/dynamics365/business-central/localfunctionality/india/india-audit-trail-edit-logs-accounting-software

    8. https://learn.microsoft.com/en-us/dynamics365/business-central/across-log-changes

    9. https://thatnavguy.com/d365-business-central-how-to-fix-missing-sales-invoices-in-the-api/

    10. https://www.linkedin.com/posts/teddyherryanto_d365-business-central-how-to-fix-missing-activity-7330481013975920643-tAoG

    11. https://learn.microsoft.com/en-us/answers/questions/5212560/importing-sales-invoices-to-business-central?forum=msoffice-all

    12. https://www.stampli.com/invoice-audit-trails/

    13. https://www.rillion.com/blog/business-central-ap-automation-warning-signs

    14. https://www.dynamicsuser.net/t/posted-sales-invoices-are-missing/47599

    15. https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/known-issues

    16. https://learn.microsoft.com/en-us/dynamics365/business-central/sales-how-invoice-sales

    17. https://www.lfspl.com/blog/GL-Audit-Trail-Review-Business-Central

    18. https://community.dynamics.com/blogs/post/?postid=70c33d55-6e35-f011-8c4e-7c1e5249351c

    19. https://community.dynamics.com/forums/thread/details/?threadid=70ba6d83-c1cd-ef11-b8e8-7c1e521c6793

    20. https://www.youtube.com/watch?v=AP3KIzH1x6I


    21.  

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,708

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,675 Super User 2025 Season 2

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,203

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans