Skip to navigation

Microsoft Dynamics 365 Business Central

Connect your AI agents to Microsoft Dynamics 365 Business Central.
Ready to connect

No custom OAuth app setup required. Sign in or provide your credentials to connect.

Authentication: OAuth or access token. See Magic Link for the runtime auth flow, or Application credentials to bring your own OAuth app.

Sample use cases

  • Create a sales order for customer C00010 and ship and invoice it once it is picked
  • List unposted purchase invoices from vendor Fabrikam Inc. and post the approved ones
  • Add a general journal line for a month-end accrual and post the journal

Available Tools

list_customers

List customers in a Business Central company.

get_customer

Get one customer by its GUID, including its ‘@odata.etag’ for safe updates. Use list_customers to find customer_id.

create_customer

Create a customer. Only the name is required.

update_customer

Update fields on an existing customer. Only the supplied fields change.

delete_customer

Delete a customer. Business Central refuses this if the customer has ledger entries or open documents, which is expected rather than an error to retry.

list_companies

List the companies in the connected Business Central environment.

list_entities

List the API entity sets this Business Central environment exposes, such as customers or salesInvoices.

discover_entity_metadata

Inspect one entity set’s fields and expandable relations by sampling a real record.

list_accounts

List the chart of accounts for a company.

get_account

Get one general ledger account by GUID, including its category, type and net change.

list_journals

List general journal batches in a company.

list_journal_lines

List the unposted lines in one journal batch.

create_journal_line

Add an unposted line to a journal batch.

update_journal_line

Update an unposted journal line. Only the supplied fields change, and only while the line is unposted.

delete_journal_line

Delete an unposted journal line. A posted entry cannot be deleted; it has to be reversed with a balancing entry instead.

post_journal

Post every line in a journal batch to the general ledger at once.

list_payment_journals

List customer or vendor payment journal batches, selected with the party parameter.

list_payments

List customer or vendor payment lines from one payment journal batch, selected with the party parameter.

list_records

List records from any Business Central entity set, for entities with no dedicated tool such as salesQuotes or dimensions.

get_record

Get one record by GUID from any Business Central entity set, including its ‘@odata.etag’ for safe updates.

create_record

Create a record in any Business Central entity set.

update_record

Update a record in any Business Central entity set.

delete_record

Delete a record from any Business Central entity set.

list_items

List items in a Business Central company.

get_item

Get one item by its GUID, including its ‘@odata.etag’ for safe updates. Use list_items to find item_id.

create_item

Create an item in a Business Central company.

update_item

Update fields on an existing item. Only the supplied fields change.

delete_item

Delete an item. Business Central refuses this if the item has ledger entries or appears on open documents, which is expected rather than an error to retry.

list_purchase_orders

List purchase orders in a Business Central company.

get_purchase_order

Get one purchase order header by GUID, including its ‘@odata.etag’ for safe updates.

create_purchase_order

Create a purchase order header. Lines are added separately with create_purchase_order_line, because Business Central does not accept lines inline.

update_purchase_order

Update header fields on a purchase order.

delete_purchase_order

Delete a purchase order and its lines. Only unreceived orders can be deleted; once received and invoiced the document is in the ledger and must be handled with a credit memo instead.

list_purchase_order_lines

List the lines on one purchase order. A purchase order GUID is required because Business Central cannot list order lines across a whole company.

create_purchase_order_line

Add a line to a purchase order. Pass item_id when line_type is ‘Item’ and account_id when it is ‘Account’.

receive_and_invoice_purchase_order

Receive and invoice a purchase order, creating posted receipt and invoice documents.

list_purchase_invoices

List purchase invoices in a Business Central company.

get_purchase_invoice

Get one purchase invoice header by GUID, including its ‘@odata.etag’ for safe updates.

create_purchase_invoice

Create a draft purchase invoice header. Lines are added separately with create_purchase_invoice_line.

update_purchase_invoice

Update header fields on a draft purchase invoice.

delete_purchase_invoice

Delete a draft purchase invoice and its lines.

list_purchase_invoice_lines

List the lines on one purchase invoice. An invoice GUID is required because Business Central cannot list invoice lines across a whole company.

create_purchase_invoice_line

Add a line to a draft purchase invoice. Pass item_id when line_type is ‘Item’ and account_id when it is ‘Account’.

post_purchase_invoice

Post a draft purchase invoice to the general ledger.

list_sales_invoices

List sales invoices in a Business Central company.

get_sales_invoice

Get one sales invoice header by GUID, including its ‘@odata.etag’ for safe updates.

create_sales_invoice

Create a draft sales invoice header. Lines are added separately with create_sales_invoice_line, because Business Central does not accept lines inline.

update_sales_invoice

Update header fields on a draft sales invoice.

delete_sales_invoice

Delete a draft sales invoice and its lines.

list_sales_invoice_lines

List the lines on one sales invoice. An invoice GUID is required because Business Central cannot list invoice lines across a whole company.

create_sales_invoice_line

Add a line to a draft sales invoice. Pass item_id when line_type is ‘Item’ and account_id when it is ‘Account’.

post_sales_invoice

Post a draft sales invoice to the general ledger.

post_and_send_sales_invoice

Post a draft sales invoice and email it to the customer in one step. Use post_sales_invoice when the invoice should…

cancel_sales_invoice

Cancel a posted sales invoice by issuing a corrective credit memo.

list_sales_orders

List sales orders in a Business Central company.

get_sales_order

Get one sales order header by GUID, including its ‘@odata.etag’ for safe updates.

create_sales_order

Create a sales order header. Lines are added separately with create_sales_order_line, because Business Central does not accept lines inline.

update_sales_order

Update header fields on a sales order. Only the supplied fields change.

delete_sales_order

Delete a sales order and its lines. Only unposted orders can be deleted; once shipped and invoiced the document is in the ledger and must be handled with a credit memo instead.

list_sales_order_lines

List the lines on one sales order. A sales order GUID is required because Business Central cannot list order lines across a whole company.

create_sales_order_line

Add a line to a sales order. Pass item_id when line_type is ‘Item’ and account_id when it is ‘Account’.

ship_and_invoice_sales_order

Ship and invoice a sales order, creating posted shipment and invoice documents in the ledger.

list_vendors

List vendors in a Business Central company.

get_vendor

Get one vendor by its GUID, including its ‘@odata.etag’ for safe updates. Use list_vendors to find vendor_id.

create_vendor

Create a vendor in a Business Central company.

update_vendor

Update fields on an existing vendor. Only the supplied fields change.

delete_vendor

Delete a vendor. Business Central refuses this if the vendor has ledger entries or open documents, which is expected rather than an error to retry.

cancel_and_send_sales_credit_memo

Cancel and email only a posted corrective sales credit memo created by cancel_sales_invoice; standalone memos return 400.

cancel_and_send_sales_invoice

Cancel a posted sales invoice and create its corrective credit memo, then email the cancellation.

cancel_purchase_credit_memo

Cancel a posted corrective purchase credit memo created by cancelling a purchase invoice; a standalone memo returns 400.

cancel_sales_credit_memo

Cancel only a posted corrective sales credit memo created by cancel_sales_invoice; standalone memos return 400.

make_corrective_credit_memo

Create a draft corrective credit memo from a posted sales invoice.

make_invoice_from_sales_quote

Convert an open sales quote that Business Central permits to convert into a sales invoice; the action page does not specify a narrower status.

make_order_from_sales_quote

Convert an open sales quote that Business Central permits to convert into a sales order; the action page does not specify a narrower status.

post_and_send_sales_credit_memo

Post and email a draft sales credit memo.

post_purchase_credit_memo

Post a draft purchase credit memo to finalize the vendor credit.

post_sales_credit_memo

Post a draft sales credit memo to finalize the customer credit.

restart_job_queue_entry

Restart a failed job queue entry in a restartable state (typically Error); docs do not specify the exact status.

send_sales_credit_memo

Email a posted sales credit memo without posting or cancelling it.

send_sales_invoice

Email a sales invoice Business Central permits to send; docs do not specify draft versus posted.

send_sales_quote

Email a sales quote Business Central permits to send; the action docs do not specify a narrower status.