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...
Suggested Answer

Confirming availability of some operations in REST API

(0) ShareShare
ReportReport
Posted on by 103

Hi, I've been working with the REST API (api.businesscentral.dynamics.com/v2.0) for a while now, and so far I've found two operations that cannot be performed using this API, so I end up using PowerAutomate to do it, which works fine, but I would prefer to do everything with just one API.

I just want to confirm these things definitely cannot be done with the REST API and it's not that my knowledge is out of date...


1) I need to create Purchase Invoices with taxes. I cannot specify the tax amount, nor the tax area code (which would correspond to a pre-configured percentage). So I end up using PowerAutomate "Update Record" action and I can directly specify the tax area code per line. My previous inquiry on this was here (https://community.dynamics.com/business/f/dynamics-365-business-central-forum/473036/business-central-api-create-a-purchase-invoice-with-tax) and somebody else also suggested using a custom API.

2) I need to Post a Purchase Invoice so it is Open in the system. I cannot find in the REST API how to do this, so again I use PowerAutomate can I can run a purchaseInvoice-post action:
Screenshot_5F00_20230210_5F00_151551.png


Can anyone confirm that the above two operations can definitely not be done with the REST API? If they can be, can you please point me to the right documentation?

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,423 Super User 2026 Season 1 on at

    questo è l'api che crea una fattura di acquisto

    learn.microsoft.com/.../dynamics_purchaseinvoice_create

    per il primo punto guarda questo

    community.dynamics.com/.../business-central-api-create-a-purchase-invoice-with-tax

    check my answer if it helped you, thanks

    DAniele

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    If the functionality you need in the standard API's is not filling your requirements you can create a custom API with the functionality needed.

    learn.microsoft.com/.../devenv-develop-custom-api

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 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans