Skip to content
Dynamics 365 Business Central logo

Connectors / ERP · HTTP Connector

Dynamics 365 Business Central integration and API

Create a customer, create a sales invoice and create an item in Dynamics 365 Business Central.

What can you do with Dynamics 365 Business Central on Tray.ai?

Dynamics 365 Business Central is Microsoft's business management system for small and midsize companies, covering finance, sales, purchasing, inventory, and customers. Tray.ai connects to Dynamics 365 Business Central through the HTTP Connector, so your workflows can call the Dynamics 365 Business Central API alongside the rest of your stack.

  • When Business Central sends “Record created”, add the new customer to your CRM.
  • Create a sales invoice when a deal closes in your CRM.
  • Create a customer from signed contracts in your e-signature tool.
  • When Business Central sends “Record updated”, sync item stock levels to your online store.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://api.businesscentral.dynamics.com/v2.0/{environment}/api/v2.0

Set it up

Connect Dynamics 365 Business Central to Tray.ai

Each step uses Dynamics 365 Business Central's own API details, from its documentation.

Step 1

Sign in to Dynamics 365 Business Central with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Dynamics 365 Business Central. Sign in once and every step reads the token from there.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.businesscentral.dynamics.com/v2.0/{environment}/api/v2.0 as the base URL. Or paste a cURL example from Dynamics 365 Business Central's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List customers”

It's one of 22 documented actions, under Customers. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from Dynamics 365 Business Central events

Give Dynamics 365 Business Central the URL of a Tray.ai webhook trigger. “Record created” can then start a workflow, and so can 3 other events.

Workflows to build with Dynamics 365 Business Central

Connect Dynamics 365 Business Central with Salesforce, Shopify, Coupa and Slack

Each one uses actions and events from Dynamics 365 Business Central's own API documentation.

Create Business Central customers from Salesforce accounts

When

A deal closes in Salesforce

Then

  1. Create a customer in Dynamics 365 Business Central
  2. Create a sales invoice in Dynamics 365 Business Central for the deal

With Salesforce

Sync Business Central item changes to Shopify

When

Record updated

Then

  1. Get an item in Dynamics 365 Business Central
  2. Update the matching product price and stock in Shopify

With Shopify

Add approved Coupa suppliers as Business Central vendors

When

A supplier is approved in Coupa

Then

  1. Create a vendor in Dynamics 365 Business Central
  2. Post a note to the accounts payable channel in Slack

With Coupa and Slack

Apps you can build on Dynamics 365 Business Central data

Internal tools your team can build with an AI assistant, each one using Dynamics 365 Business Central calls from its API documentation.

Invoice review board

Lists sales invoices by customer and lets finance correct or cancel each one before it goes out.

Customer setup request

Lets sales request a new customer account, which finance reviews and creates.

Item catalog editor

Lists items with their details and lets the operations team update prices and descriptions.

Give your AI agents Dynamics 365 Business Central tools

Build an MCP server on Dynamics 365 Business Central in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List customers
  • List sales invoices
  • List items
  • List vendors
  • Create a subscription
  • Get a customer
  • Create a customer
  • Update a customer

What the Dynamics 365 Business Central API covers

5 resources and 22 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Customers

  • List customers
  • Get a customer
  • Create a customer
  • Update a customer
  • Delete a customer

Sales invoices

  • List sales invoices
  • Create a sales invoice
  • Update a sales invoice
  • Delete a sales invoice
  • Cancel a sales invoice

Items

  • List items
  • Get an item
  • Create an item
  • Update an item
  • Delete an item

Vendors

  • List vendors
  • Create a vendor
  • Update a vendor
  • Delete a vendor

Webhook subscriptions

  • Create a subscription
  • Renew a subscription
  • Delete a subscription

Events Dynamics 365 Business Central can send to a Tray.ai webhook trigger

  • Record created
  • Record updated
  • Record deleted
  • Many records changed

Checked against Dynamics 365 Business Central's own documentation on 2026-10-22

learn.microsoft.com/en-us/dynamics365/business-central/de…

Frequently asked questions

What can a Tray.ai workflow do in Dynamics 365 Business Central?

+

The Dynamics 365 Business Central API documents 22 actions across 5 resources (Customers, Sales invoices, Items, Vendors, Webhook subscriptions). For example: List customers; List sales invoices; List items. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Dynamics 365 Business Central?

+

The Dynamics 365 Business Central API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Dynamics 365 Business Central events can start a Tray.ai workflow?

+

Dynamics 365 Business Central sends 4 events to a webhook URL, for example: Record created; Record updated; Record deleted; Many records changed. A Tray.ai webhook trigger receives them and starts a workflow.

See Dynamics 365 Business Central working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.