web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Purchase Invoice Remit-to Code error on POST of web service

(0) ShareShare
ReportReport
Posted on by 76

Property \"Editable\" for Remit-to Code is invalid. Expression: [\"Buy-from Vendor No.\" <> '']

The error from Postman on an insert to the Purchase Invoice web service. Is there any way to use a POST call to insert the Remit-to Code field for this page? I tried to use AL on a page extension to make it editable but I don't see it available with the Purchase Header record. I am new to Business Central, so not sure if this is just not able to be set via the web service. We are able to insert many other fields with the same POST call.

thank you

I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, If you publish the standard Purchase Invoice page in the Web Service, there are many limitations. Because it was not created for the API itself.
    I suggest that you recreate an API page, including the Remit-to Code field, which will be much more efficient.

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-api-pagetype

    Hope this helps.

    Thanks

    ZHU

  • Moony253 Profile Picture
    76 on at

    Thank you kindly Zhu! I will take a look at this approach.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans