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

API - Response to show Posted Invoice number

(0) ShareShare
ReportReport
Posted on by 3,370

Hi Guys

I'm using below to Post a draft sales invoice via API call, all works except I want to see the posted document number in the response message. Is it possible

/V2.0/{{Cronus}}/salesInvoices(ae12ffd4-4e0d-ec11-86bc-000d3xxxx)/Microsoft.NAV.post

Thanks

  • Suggested answer
    JAngle Profile Picture
    159 on at

    Could you get it before posting? It’s part of the sales header. Will mean exposing that field as it won’t be in the standard API

  • Anita75 Profile Picture
    1,165 on at

    yes of course it is part of the URL :) ...so let me put the real question ..is it possible to get any response message back when posting ..any kind of confirmation other than the status code

  • Verified answer
    Tabrez Ajaz Profile Picture
    789 on at

    It's not possible from the Standard API response, you may need to make another API call with Order No. filter in the Posted Sales Invoice and use the returned Posted Sales Invoice no. in response.

    OR

    You can create your own custom API and can give Posted Invoice Number in response after posting the invoice.

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 July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 719 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 410 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 369 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans