Skip to main content
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.

  • tl2022 Profile Picture
    103 on at
    RE: Business Central API create a Purchase Invoice with tax

    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 

  • Verified answer
    DAnny3211 Profile Picture
    9,280 Moderator on at
    RE: Business Central API create a Purchase Invoice with tax

    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

  • Verified answer
    Marco Mels Profile Picture
    on at
    RE: Business Central API create a Purchase Invoice with tax

    Hello,

    I assume you need to create a custom API.

    Hope it helps.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans