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

Announcements

News and Announcements icon
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
    101,995 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,119 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,522 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,177 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans