Microsoft Dynamics 365 Business Central
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
C00010and 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 in a Business Central company.
Get one customer by its GUID, including its ‘@odata.etag’ for safe updates. Use list_customers to find customer_id.
Create a customer. Only the name is required.
Update fields on an existing customer. Only the supplied fields change.
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 the companies in the connected Business Central environment.
List the API entity sets this Business Central environment exposes, such as customers or salesInvoices.
Inspect one entity set’s fields and expandable relations by sampling a real record.
List the chart of accounts for a company.
Get one general ledger account by GUID, including its category, type and net change.
List general journal batches in a company.
List the unposted lines in one journal batch.
Add an unposted line to a journal batch.
Update an unposted journal line. Only the supplied fields change, and only while the line is unposted.
Delete an unposted journal line. A posted entry cannot be deleted; it has to be reversed with a balancing entry instead.
Post every line in a journal batch to the general ledger at once.
List customer or vendor payment journal batches, selected with the party parameter.
List customer or vendor payment lines from one payment journal batch, selected with the party parameter.
List records from any Business Central entity set, for entities with no dedicated tool such as salesQuotes or dimensions.
Get one record by GUID from any Business Central entity set, including its ‘@odata.etag’ for safe updates.
Create a record in any Business Central entity set.
Update a record in any Business Central entity set.
Delete a record from any Business Central entity set.
List items in a Business Central company.
Get one item by its GUID, including its ‘@odata.etag’ for safe updates. Use list_items to find item_id.
Create an item in a Business Central company.
Update fields on an existing item. Only the supplied fields change.
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 in a Business Central company.
Get one purchase order header by GUID, including its ‘@odata.etag’ for safe updates.
Create a purchase order header. Lines are added separately with create_purchase_order_line, because Business Central does not accept lines inline.
Update header fields on a 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 the lines on one purchase order. A purchase order GUID is required because Business Central cannot list order lines across a whole company.
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 a purchase order, creating posted receipt and invoice documents.
List purchase invoices in a Business Central company.
Get one purchase invoice header by GUID, including its ‘@odata.etag’ for safe updates.
Create a draft purchase invoice header. Lines are added separately with create_purchase_invoice_line.
Update header fields on a draft purchase invoice.
Delete a draft purchase invoice and its lines.
List the lines on one purchase invoice. An invoice GUID is required because Business Central cannot list invoice lines across a whole company.
Add a line to a draft purchase invoice. Pass item_id when line_type is ‘Item’ and account_id when it is ‘Account’.
Post a draft purchase invoice to the general ledger.
List sales invoices in a Business Central company.
Get one sales invoice header by GUID, including its ‘@odata.etag’ for safe updates.
Create a draft sales invoice header. Lines are added separately with create_sales_invoice_line, because Business Central does not accept lines inline.
Update header fields on a draft sales invoice.
Delete a draft sales invoice and its lines.
List the lines on one sales invoice. An invoice GUID is required because Business Central cannot list invoice lines across a whole company.
Add a line to a draft sales invoice. Pass item_id when line_type is ‘Item’ and account_id when it is ‘Account’.
Post a draft sales invoice to the general ledger.
Post a draft sales invoice and email it to the customer in one step. Use post_sales_invoice when the invoice should…
Cancel a posted sales invoice by issuing a corrective credit memo.
List sales orders in a Business Central company.
Get one sales order header by GUID, including its ‘@odata.etag’ for safe updates.
Create a sales order header. Lines are added separately with create_sales_order_line, because Business Central does not accept lines inline.
Update header fields on a sales order. Only the supplied fields change.
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 the lines on one sales order. A sales order GUID is required because Business Central cannot list order lines across a whole company.
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 a sales order, creating posted shipment and invoice documents in the ledger.
List vendors in a Business Central company.
Get one vendor by its GUID, including its ‘@odata.etag’ for safe updates. Use list_vendors to find vendor_id.
Create a vendor in a Business Central company.
Update fields on an existing vendor. Only the supplied fields change.
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 email only a posted corrective sales credit memo created by cancel_sales_invoice; standalone memos return 400.
Cancel a posted sales invoice and create its corrective credit memo, then email the cancellation.
Cancel a posted corrective purchase credit memo created by cancelling a purchase invoice; a standalone memo returns 400.
Cancel only a posted corrective sales credit memo created by cancel_sales_invoice; standalone memos return 400.
Create a draft corrective credit memo from a posted sales invoice.
Convert an open sales quote that Business Central permits to convert into a sales invoice; the action page does not specify a narrower status.
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 email a draft sales credit memo.
Post a draft purchase credit memo to finalize the vendor credit.
Post a draft sales credit memo to finalize the customer credit.
Restart a failed job queue entry in a restartable state (typically Error); docs do not specify the exact status.
Email a posted sales credit memo without posting or cancelling it.
Email a sales invoice Business Central permits to send; docs do not specify draft versus posted.
Email a sales quote Business Central permits to send; the action docs do not specify a narrower status.