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

Notifications

Announcements

Community site session details

Community site session details

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

Setting tax code in Purchase Invoice Lines through API

(0) ShareShare
ReportReport
Posted on by 10

Hi all,

I am using API(v1.0) for Dynamics 365 Business Central for creating purchase invoice line.

I am following documentation that is provided in the following link https://docs.microsoft.com/en-us/dynamics-nav/api-reference/v1.0/resources/dynamics_purchaseinvoiceline but I can't change taxCode (VAT product posting group).

Is there a way for taxCode property to be changed?

Thanks for any advice.

I have the same question (0)
  • PADu Profile Picture
    35 on at

    I also have this issue.

    The taxCode component doesn't seem to make a difference and is overridden on POST.

    I am trying to avoid having to create an API extension for it, but it seems that might be the only way?

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

News and Announcements

Season of Giving Solutions is Here!

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 1,457

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 742 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 669 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans