Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Unanswered

How to make sale invoice be posted

Posted on by Microsoft Employee

Hello May I know how can I make sale invoice posted? I try to use following api to make our sale invoice post, but get error, may anyone help:

https://foxitpdf.financials.dynamics.com:7048/MS/ODataV4/Company('Foxit%20Software%20Incorporated')/Sales_Invoices('UI001548')/Microsoft.NAV.Post

get error:

 "message": "The number of keys specified in the URI does not match number of key properties for the resource 'NAV.Sales_Invoices'."

And I also try:

https://foxitpdf.financials.dynamics.com:7048/MS/ODataV4/Company('Foxit%20Software%20Incorporated')/Sales_Invoices(Document_Type='Invoice',No='UI003085')/Microsoft.NAV.Post

get error:

{
    "error": {
        "code": "BadRequest_NotFound",
        "message": "No HTTP resource was found that matches the request URI 'foxitpdf.financials.dynamics.com/.../Microsoft.NAV.Post;aid=FIN'."
    }
}

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to make sale invoice be posted

    I also try to use foxitpdf.financials.dynamics.com/.../Company('7daaf8c1-343f-4b05-a495-4f963047e60e')/salesInvoices('UI003085')/Microsoft.NAV.Post

    But get error:

    {
    "error": {
    "code": "RequestDataInvalid",
    "message": "Request data is invalid."
    }
    }

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,552 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans