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

Community site session details

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

How to get the vat posting group value with http api 2.0

(0) ShareShare
ReportReport
Posted on by

Hi all, 

I'm a beginner on bc

I have an article that contain a Vat posting group to standard value (20%).

I'm trying to get this value via an http get request with api 2.0 but I don't know in which table I can found it. I've tried the table items but there's no property named vat posting group.

Many thanks for your help.

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    121 on at
    RE: How to get the vat posting group value with http api 2.0

    Taxgroupcode hold a value you recognise? If not I’d publish a web service for the item card page and use that endpoint instead. Has recognisable captions

  • Community Member Profile Picture
    on at
    RE: How to get the vat posting group value with http api 2.0

    Hi yes,

    I'm using this URL to get the item properties :

    api.businesscentral.dynamics.com/.../items(ID)

    But the result i'm receiving is the following 

    pastedimage1627506333234v1.png

    The TaxGroupCode is Null and TaxGroupID is equal to 0000-0000......

    But in the ERP i can see STANDARD value filled in 

    pastedimage1627506519454v2.png

  • Community Member Profile Picture
    on at
    RE: How to get the vat posting group value with http api 2.0

    Do you know why tax group code is null?

    Many thanks

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,275

#2
Sumit Singh Profile Picture

Sumit Singh 2,677

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,526

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans