Microsoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business Central connector: read and maintain vendors, items, customers and sales invoices from flows – connection, actions, examples.
Path: "Automation" → "Workflows" → flow designer → module "Microsoft Dynamics 365 Business Central"
The Business Central connector connects equipme in workflows with your ERP Microsoft Dynamics 365 Business Central. Vendors, items and billing data from equipme reach accounting without retyping, and master data from the ERP is available in your flows.
What for?
Reconcile vendors: create or update suppliers from equipme as vendors in Business Central.
Maintain the item master: keep services and products from equipme as items in the ERP – with price, category and unit.
Internal recharging: create, post and send invoices from equipme as sales invoices to subsidiaries or cost units.
Look up master data: read currencies, payment terms, tax groups or locations from the ERP to set values correctly in flows.
Prerequisites
The enabled automation module
A Business Central environment (online) in your company's Microsoft tenant
A Microsoft account with a Business Central license and permissions for the affected areas (customers, vendors, items, sales invoices)
Consent to the Business Central permission in the tenant
For examples using equipme data, a connection of the equipme connector as well
Setting up the connection
In the flow designer, drag a component of the module onto the canvas (e.g. ListCompanies).
Click Connect account.
Sign in with the account in the Microsoft sign-in window and accept the requested permissions.
The connection appears with the name of the Microsoft account under "Accounts".
Basic concepts
Company ID: Business Central can hold several companies. Every action asks for the Company ID. Determine it once with ListCompanies and enter it in the components.
Selection lists: fields such as Currency, Payment terms, Payment method, Shipment method, Tax area, Tax group, Category or Base unit of measure load their values from Business Central. Alternatively, enter the code directly (e.g. "Currency code").
IDs: Customer ID, Vendor ID, Item ID and Invoice ID are the internal IDs from Business Central. You get them from Add…, List… or Get… and can store them as metadata in equipme.
List actions: the List… actions return the result as one list (without "Output Type").
Triggers
The connector has no triggers of its own. Flows start via other triggers – e.g. a trigger of the equipme connector (New Invoice, New Order Request), a schedule (Scheduler) or a webhook.
Actions
Companies
ListCompanies
List the companies of the environment (returns the Company ID)
–
GetCompany
Read a company
Company ID
Customers
AddCustomer
Create a customer
Number, Name, Type ("Company", "Person"), Phone number, Email, Website, Tax liable, Tax area, Tax registration number, Currency, Payment terms, Shipment method, Payment method, Blocked transactions ("None", "Ship", "Invoice", "All"), address
UpdateCustomer
Change a customer
Customer ID and the same fields
GetCustomer / ListCustomers / DeleteCustomer
Read, list, delete a customer
Customer ID
ListCustomerFinancialDetails
Financial details of a customer (e.g. balance)
Customer ID
ListContacts
List contacts
–
Vendors
AddVendor
Create a vendor
Number, Name, address, Phone number, Email, Website, Tax registration number, Currency, IRS1099 code, Payment terms, Payment method, Tax liable, Blocked transactions ("None", "Payment", "All"), Balance
UpdateVendor
Change a vendor
Vendor ID and the same fields
GetVendor / ListVendors / DeleteVendor
Read, list, delete a vendor
Vendor ID
Items
AddItem
Create an item
Number, Name, Type ("Inventory", "Service", "Non Inventory"), Category, Blocked, GTIN, Unit price, Price includes tax, Unit cost, Tax group, Base unit of measure
UpdateItem
Change an item
Item ID and the same fields
GetItem / ListItems / DeleteItem
Read, list, delete an item
Item ID
ListItemVariants
Variants of an item
Item ID
ListItemCategories
Item categories
–
Sales invoices
AddSalesInvoice
Create a sales invoice (draft)
Customer ID, Number, External document number, Invoice date, Due date, Currency, Payment terms, Sales person, Discount amount, Customer purchase order reference, groups "Sell to" (billing address) and "Ship to" (shipping address, shipment method)
GetSalesInvoice / ListSalesInvoices / DeleteSalesInvoice
Read, list, delete an invoice
Invoice ID
ListSalesInvoiceLines / GetSalesInvoiceLine / DeleteSalesInvoiceLine
Read or delete invoice lines
Invoice ID, Line ID
PostSalesInvoice
Post an invoice
Invoice ID
SendSalesInvoice
Send a posted invoice to the customer by email
Invoice ID
PostAndSendSalesInvoice
Post and send in one step
Invoice ID
CancelSalesInvoice / CancelAndSendSalesInvoice
Cancel a posted invoice (and send the cancellation)
Invoice ID
MakeCorrectiveCreditMemo
Create a corrective credit memo for an invoice
Invoice ID
Master data (read only)
ListCurrencies
Currencies
ListPaymentTerms
Payment terms
ListPaymentMethods
Payment methods
ListShipmentMethods
Shipment methods
ListTaxAreas / ListTaxGroups
Tax areas or tax groups
ListUnitsOfMeasure
Units of measure
ListLocations
Locations
Examples
Create new suppliers as vendors
Scheduler – daily.
Equipme › List Suppliers – suppliers from equipme, Output Type "One item at a time".
Business Central › ListVendors – read the vendors and use a filter to check whether the supplier already exists (e.g. via name or VAT ID).
Business Central › AddVendor – only for new suppliers: name, address, email, tax registration number, payment terms.
Transfer invoice data to the ERP
Equipme › New Invoice – trigger on a new invoice in equipme.
Equipme › List Billing Items – read the invoice items to determine amounts per cost center.
Business Central › AddSalesInvoice – recharging invoice to the customer record of the subsidiary or cost unit, External document number = invoice number from equipme.
Business Central › PostAndSendSalesInvoice – once the invoice is complete, post and send it.
Item master from the service catalog
Scheduler – weekly.
Equipme › List Services – services from equipme.
Business Central › ListItems – read and compare existing items.
Business Central › AddItem or UpdateItem – Type "Service" or "Inventory", Unit price, Category.
Notes and limitations
With this connector, invoice lines can be read and deleted, but not created. Create sales invoices with lines in Business Central itself, or complete the draft there before posting it with PostSalesInvoice or PostAndSendSalesInvoice.
Posting, sending, cancelling and corrective credit memos trigger the corresponding processes in Business Central and cannot be undone via the flow. Test such flows in a sandbox environment or a test company first.
DeleteCustomer, DeleteVendor and DeleteItem delete permanently. Business Central prevents deletion if entries already exist.
The selection lists show the values of the company. They stay empty as long as the Company ID is empty.
Troubleshooting
Selection lists stay empty
Enter the Company ID first. If the list stays empty, enter the code directly (e.g. "Currency code").
Error "Forbidden" or "Unauthorized"
The account lacks a license or permission sets in Business Central, or consent in the tenant is missing.
Invoice cannot be posted
The invoice has no lines, or required information (customer, posting groups) is missing. Check in Business Central.
DeleteCustomer / DeleteVendor fails
Entries already exist. Set "Blocked transactions" to "All" instead.
Wrong company
Check the Company ID with ListCompanies.
You can find the logs of every run under "Insights". For help, contact support.
Frequently asked questions
Can I work with several companies?
Yes. The connection applies to all companies the account can access. You select the company per component via the Company ID.
How do I link records between equipme and Business Central?
Store the Business Central ID (e.g. Vendor ID) as metadata in equipme, or enter the equipme number in the "Number" or "External document number" field in Business Central.
Was this helpful?