Skip to main content

Notifications

Community site session details

Community site session details

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

How to Release an Unposted Purchase Invoice using OData V4 endpoints

(0) ShareShare
ReportReport
Posted on by 38

Hello everyone,

I am working on a desktop application in .NET (C#) that interacts with OData V4 endpoints of Dynamics NAV version 2018.

I am able to create an unposted purchase invoice using the Page 6404 (Workflow Purchase Documents) and Page 6405 (Workflow Purchase Document Lines). However, the created invoice is in Open status and I need it to be in Released status. I tried passing the Status field during invoice creation or as an update after creation, but I keep getting the error with message Control Status is Read only. In the NAV user interface, that action is accomplished by clicking on the Release botton while viewing the invoice.

I was wondering is there any way to change the invoice status using the OData V4 endpoints? Thanks for your help.

  • Amir Deris Profile Picture
    38 on at
    RE: How to Release an Unposted Purchase Invoice using OData V4 endpoints

    Thanks for the reply. That seems like a possible solution for us.

  • Verified answer
    YUN ZHU Profile Picture
    84,557 Super User 2025 Season 1 on at
    RE: How to Release an Unposted Purchase Invoice using OData V4 endpoints

    Hi, you can create an OData V4 Bound Action.

    Hope the following helps.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-creating-and-interacting-with-odatav4-bound-action

    Thanks.

    ZHU

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans