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

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.

I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    100,751 Super User 2026 Season 1 on at

    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

  • Amir Deris Profile Picture
    38 on at

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

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,909 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,145 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 974

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans