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

Announcements

News and Announcements icon
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
    Microsoft Employee on at

    Hello,

    I assume you need to create a custom API.

    Hope it helps.

  • Verified answer
    DAnny3211 Profile Picture
    11,423 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,050 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,351 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,200 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans