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...
Suggested Answer

Sales Orders API v1 ShipAndInvoice procedure

(0) ShareShare
ReportReport
Posted on by 30

I am looking at the Business Central v1 API's and in the PAG20028.SalesOrders.al file there is a procedure named "ShipAndInvoice" that also runs the "PostWithShipAndInvoice" procedure, however nowhere in that file do I see the "ShipAndInvoice" procedure ever being told to run by a Trigger. I see the [ServiceEnabled] tag above the procedure, but when I try to run the HTTP POST request at 

sandbox/api/v1.0/companies(246d9e77-cf80-4bba-8f28-5047c573a9cc)/salesOrders(2542426e-c406-ea11-bb24-00155df3a615)/Microsoft.NAV.shipAndInvoice

I am met with the error: "message": "There is nothing to post.  CorrelationId:  88f49344-564c-4d1e-97f9-d15ed294d5b3."".   If I go into business central I can post it, but not from the API. What am I missing to be able to post from the API?

Thanks,

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    Microsoft Employee on at

    Hello - So is the Sales Order already integrated into Business Central?  Typically this error is caused by Qty to Invoice or Qty to receive on the Sales Order.  If you are wanting to ship the lines you will need to make sure Qty to Ship is populated.  If you are needing to Invoice the Qty to Invoice field needs to be populated.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,865 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,098 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 898

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans