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 :
Small and medium business | Business Central, N...
Answered

How to find missing document of Posted Sales Invoice

(7) ShareShare
ReportReport
Posted on by 16
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)
  • Suggested answer
    Aakib khan Profile Picture
    122 on at

    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.  
  • Suggested answer
    Pallavi Phade Profile Picture
    5,292 Super User 2026 Season 1 on at
    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
     
  • GS-05081026-0 Profile Picture
    25 on at
    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
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at
    There could be several reasons for the GAP; it could be related to a customization, or someone might have deleted the docs.  Try to check user permissions and settings to ensure they are not allowed to delete.
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,300 Super User 2026 Season 1 on at
    did you enable the change log for sales invoice header table? you might be able to find out who deleted it. there could be a deletion or the number has never been used.
  • Suggested answer
    Nimsara Jayathilaka. Profile Picture
    4,946 Super User 2026 Season 1 on at
    If you come across missing Posted Sales Invoices, it's usually because the invoices have been deleted, voided, or it was posted and an error occurred creating a skipped number. Since you have looked at the Archive table, G/L Entries, Customer Ledger Entry, and Log entries to confirm these invoices were never posted, your next step is to check the number series setup. If your number series has the "Allow Gaps in Nos". option checked, gaps can happen through document deletion and posting errors.

    Also, if you are using Change Log in Business Central, you can check it to see if any posted invoices were voided or deleted. This could explain the missing invoice numbers. The Change Log is intended for tracking document changes and will help you realize if the missing gaps are from deleting or voided invoices. Additionally, checking for filters or personalizations associated with the posted invoices can result in some of the documents being filtered out of display. Your ability to check these areas should lead to the reasons for the missing posted sales invoices.
     
    Thanks
    Nimsara
  • Gerardo Rentería García Profile Picture
    25,545 Most Valuable Professional on at

    Hi, good day
    You can check if the environment has been restored to a previous state. You can see this from the operations option in the Business Central admin center.

    Best Regards
    Gerardo

  • Suggested answer
    Mansi Soni Profile Picture
    8,949 Super User 2026 Season 1 on at
    Hello,

    If there’s a gap in Posted Sales Invoices, after checking the Archive table, G/L Entries, and Customer Ledger Entries, the next steps are to verify Sales Order and Invoice Posting Status, check for any voided or deleted invoices, and review the Number Series setup for the Sales Invoice document type. Also, examine any customizations or extensions that might intercept or block invoice posting.

    Regards,
    Mansi Soni
  • Verified answer
    Sumit Singh Profile Picture
    11,676 Super User 2026 Season 1 on at
    Hi, 
     
    • Enable Change Log for Sales Header and Posted Sales Invoice tables to track deletions.
    • Review Number Series: Disable “Allow Gaps in Nos.” if compliance requires.
    • Audit Permissions: Restrict delete rights even for open documents like sales invoice (as in case of errors, system occupies the posted sales invoice no. series).
    • Check Filters & Views: Ensure no hidden records.
    • Monitor Job Queues & API Integrations for sync issues.
    Mark true, “Does this answer your question” if it helps.
     

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,155 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,043 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 955 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans