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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

The Sales Invoice Header does not exist. Identification fields and values: No.='***177860'

(8) ShareShare
ReportReport
Posted on by 47
 When i click on preview posting in sales invoices this error is appearing
the sales invoices is manual 
 
The Sales Invoice Header does not exist. Identification fields and values: No.='***177860'
 
 
 
 
I have the same question (0)
  • Suggested answer
    Grigorios Mavrogeorgis Profile Picture
    2,864 Super User 2026 Season 1 on at
    Hi, here is what I think is happening.

    That SALES INV series in your screenshot has only Manual Nos ticked and no Starting No or Ending No filled, so it has nothing to give. Preview posting still needs to grab a number for the posted Sales Invoice Header, and with no series numbers it builds that *** placeholder, then can not find the record, that is the error you see.

    Check Sales & Receivables Setup, the field for the posting series (Posted Invoice Nos.). As far as I know that one should point to a series with Default Nos. on and a real Starting No., not a manual only series. The manual series is fine for the document No. itself, but the posted one need automatic numbering.

    Also the *** prefix in preview I seen behave a bit funny in some versions, so test on a real post after you fix the series. Which version you on?

    Hope this help. 
     
    Glad to help - follow up if anything is unclear.  
    â–º  If this solved it, marking it verified helps others too.      
     
    Regards,
    Grigorios Mavrogeorgis
    Business Central Consultant & AL Developer
     
     
     
  • MO-22050721-0 Profile Picture
    47 on at
    Hi dear , thank you so much for your response
     
    i changed the No. series and make them as you said
    but it's still the same 
    i got the same error
    the thing is i want the sales invoice to be manual even after posting , and idk what to do i tried multiple solution 
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    23,136 Super User 2026 Season 1 on at
  • Suggested answer
    YUN ZHU Profile Picture
    102,590 Super User 2026 Season 1 on at
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central: Manual number for Posted Sales invoice and Posted Purchase invoice (Use the same number in Sales Order and Posted Sales Invoice?)
     
    Thanks.
    ZHU
  • Suggested answer
    OussamaSabbouh Profile Picture
    18,486 Super User 2026 Season 1 on at
    Hello,
    this is most likely caused by the Sales Invoice No. Series setup: your SALES INV series is marked Manual Nos., but it has no Starting/Ending No., and the preview is trying to find the Sales Invoice Header by the entered/manual invoice no. (***177860) and fails; set a proper sales invoice number series in Sales & Receivables Setup, add valid Starting/Ending Nos. if you want automatic numbering, or keep Manual Nos. only if users enter a valid unique invoice no. before preview/posting, then reopen the invoice and try Preview Posting again. Also check if this document was imported/created by customization/API because the *** masking in the error may hide the real number. 
    Regards,
    Oussama Sabbouh.
  • Suggested answer
    Jainam M. Kothari Profile Picture
    17,045 Super User 2026 Season 1 on at
    Hello,

    When attempting to use Preview Posting on a manually created Sales Invoice, Business Central displays the error **"The Sales Invoice Header does not exist. Identification fields and values: No.='*177860'", indicating that the system is trying to reference a Sales Invoice Header record that cannot be found.

    This may be caused by missing or corrupted invoice header data, an issue with the document numbering sequence, a customization affecting the posting process, or an invalid reference within the invoice.

    The issue requires verification that the invoice record exists correctly in the Sales Invoice table and that all related document references are valid before preview posting can be executed successfully.

  • Suggested answer
    Kamal Khakhkhar Profile Picture
    3,579 on at
    Hii There , 
    as per requirement can you share event log using Debug , as its manual no. error possible or through customization some of values are not flow currectly.

    please check for that , if you can post directly its possible that in preview there is some customizations which will not updating values as per requirement .
     
    If you found answer , mark this verified.
    Thank You.
    Kamal Khakhkhar
  • MO-22050721-0 Profile Picture
    47 on at
    I have created the No series to have start and end sequence and still the same error is appearing
  • Suggested answer
    Mansi Soni Profile Picture
    10,246 Super User 2026 Season 1 on at
    Hello @MO-22050721-0,

    If you are still facing the same issue, it's better to debug the same in Sandbox environment to find an exact root cause with the help of technical team.

    Hope this answer helps you!

    If this answer helps you, kindly Mark it as verified answer!

    Regards,
    Mansi Soni

  • MO-22050721-0 Profile Picture
    47 on at
    This is on production environment not sandbox
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 580 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 462 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 272 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans