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...
Suggested Answer

[URGENT] The field Tax Group Id of table Item contains a value X that cannot be found

(1) ShareShare
ReportReport
Posted on by 6
Hi
 
We have a problem for one of our client from Belgium.
 
Our application is integration between Dynamics and other system and we have an issue to create an Item through API. This is happening only for this client.
The following error occurs when we try to create an Item:
 
The field Tax Group Id of table Item contains a value ({A1272569-9819-ED11-90EB-6045BD880AA6}) that cannot be found in the related table (Tax Group)
 
Tax Group Id we get from fetching Tax Groups using the correct API (Link to public docs)
 
We are using correct API and body to create an Item (Link to public docs)
 
We tried to create an Item for all Tax Groups and non of them are working.
Looking into clients Dynamics account, everything seems to be created properly (Tax Groups).
Tax Groups list contains all the Tax Groups for which we tried to create an Item.
Also, user is able to manually create an Item on Dynamics portal.
 
Following screenshot shows available Tax Groups on manual Dynamics creation (All of them also available through our system):
 
Following screenshot shows Tax Group details for above highlighted Tax Group:
 
Do you see any inconsistencies in above details or is there any flag in the background that determines if we can use the Tax Code in Item creation through API?
Also, not sure if this is relevant information, customer has this account for more than 10 years (Tax Groups as well).
Are there any specific settings that has to be set up for Belgium clients?
 
Thanks in advance
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Hi, is the taxGroupId assigned to the taxGroupCode? I briefly tested it and did not encounter this problem.
    Get:
    Post:
    In BC:
  • Community member Profile Picture
    6 on at
    Hi
     
    How can I know if taxGroupId is assigned to the taxGroupCode? Is there a way to check it on Dynamics portal directly?
     
    Here is a screenshot of GET response when we fetch Tax Groups from Dynamics

     
    And later we use this ID to create an Item. Screenshot of request body
     
    And this is the response we get
     

    Same problem occurs for the new Tax Group as well.

    Is there any specific limitations for creating Items through API for different region/country accounts (Example, an account from USA or Europe/Belgium)?

    Is there any specific configuration that needs to be made for different region/country accounts in order for Items to be created through API?


    Looking at the Dynamics docs, this is an example of expected request body for creating the Item

    Are any of these fields mandatory?
    For example, when we are creating Items we are not sending taxGroupCode, only taxGroupId.
  • Community member Profile Picture
    6 on at
    Description moved to post bellow

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,143

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans