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

Getting tax rates via Business Central API

(0) ShareShare
ReportReport
Posted on by 103

Hi Business Central Community,

I'm trying to create Purchase Invoices in Business Central using API v2.0 (https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/), and I am trying to figure out how to property handle the tax.

I want to determine which tax area to use based on the tax and total amounts in the invoice by just calculating the rate and then matching it to a rate for one of the tax areas, but I can't find an API call that will give me the tax rates for the tax areas. There is a "taxArea" API call but that doesn't return me the rates (learn.microsoft.com/.../dynamics_taxarea), and I can't find any other tax related API call apart from "taxGroup" that doesn't give me that information either. Having the tax separate is required for Canadian invoices which are what I'm working with.

Currently my workaround is to have a hard-coded copy of the tax rates in my application to reference, but ideally I would like to just look up this information using the API.


I have the same question (0)
  • Verified answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    As far as I can tell, the only thing you can do is expose the Tax Jurisdictions by creating a custom API.

    DAniele

  • tl2022 Profile Picture
    103 on at

    Hi Daniele, thanks for your reply. On a related note, do you know how to actually populate the tax when creating an invoice? It turns out purchaseInvoiceLine doesn't even actually expose the tax area code (for both POST and GET), and when I specify netTaxAmount it gets ignored.

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

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans