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

Business Central API create a Purchase Invoice with tax

(0) ShareShare
ReportReport
Posted on by 103

Hi, I would like to know what is the best way currently to add tax in the lines of a Purchase Invoice using the API. I tried specifying "netTaxAmount" (https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchaseinvoiceline) but that did not do it, and the API also doesn't allow me to specify the Tax Area Code.

I have the same question (0)
  • Verified answer
    Marco Mels Profile Picture
    on at

    Hello,

    I assume you need to create a custom API.

    Hope it helps.

  • Verified answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    this is method standard

    learn.microsoft.com/.../dynamics_purchaseinvoiceline_create

    but you could develop a custom API

    check my answer if it helped you, thanks

    DANiele

  • tl2022 Profile Picture
    103 on at

    Hi Marco,

    I figured out an alternative way to do it using Power Automate. It works by interacting with the API workflowEndpoints. But I was wondering if I can just call this API directly somehow so it can be achieved without Power Automate?

    Screenshot_5F00_20221205_5F00_153110.png 

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 2,990

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,028 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans