by ElevenFifty Labs
ERP and accounting

Dynamics 365 Business Central integration

Spark reads GL entries, dimensions, vendors and customers from Business Central and loads actuals into your plan, warehouse or BI, tied out to the trial balance.

The connector

Category: ERP and accounting. Status: Available on all plans. How Spark connects: direct, through the Business Central API with an app registered in Microsoft Entra ID and permission sets limited to what the Circuit needs.

What you can do with Dynamics 365 Business Central in Spark

Read Business Central data by company and period, map dimensions to plan lists, and send actuals to Pigment, Anaplan and Workday Adaptive Planning, a warehouse or BI. Write journal lines, customers and vendors back where you allow it.

Spark reads 20 kinds of data from Dynamics 365 Business Central:

  • Company in the environment
  • G/L account
  • Posted G/L entry (the general ledger)
  • Accounting period
  • General journal batch
  • Dimension
  • Dimension value
  • Customer
  • Vendor
  • Sales invoice
  • Sales invoice line
  • Purchase invoice
  • Purchase invoice line
  • Item
  • Employee
  • Currency
  • Payment term
  • Customer payment journal line
  • Vendor payment journal line
  • Bank account (no account numbers)

What Spark writes to Dynamics 365 Business Central

Writes only happen when you tick the permission as you add the Spark. Leave them unticked for a read-only connection.

  • Adds 1 general journal line per row to the journal each row names. Lines stay unposted until someone posts the journal. Running again adds the lines again, so post or clear the journal first.
  • Posts the journal each row names (1 row per journal), with every line in it.
  • Creates 1 customer per row in the company it names. Numbers already in Business Central are skipped, never changed.
  • Creates 1 vendor per row in the company it names. Numbers already in Business Central are skipped, never changed.

Common use cases for Dynamics 365 Business Central data, and why each matters

Actuals into the plan

Balances by company, account and dimension feed the forecast during close.

Multi-company consolidation

Several Business Central companies map into 1 plan structure.

AP and AR for cash

Open ledger entries with due dates feed the cash forecast.

Allocations back

Plan allocations return as unposted journal lines for review.

Why it's hard without Spark

Business Central exports are easy for one company and tedious for several, and dimension codes rarely match the plan. Entra app registrations and permission sets need IT. Spark sends IT a setup request with the permissions explained, then finance owns the mapping.

How Spark handles Dynamics 365 Business Central data

  • Spark does not store the business data it moves: rows pass through memory during a run.
  • Each customer has its own isolated tenant.
  • Credentials are sealed in your company's own vault, never shown again or logged.
  • Anything that writes to a system needs the permission ticked when the Spark is added.

More on the Spark trust center.

Teams that use it

Finance and FP&A and controllers.

Questions

How does Spark connect to Dynamics 365 Business Central?

An app client ID and secret. You need a Microsoft Entra admin and a Business Central admin.

Can Spark write to Dynamics 365 Business Central?

Yes, when you allow it. Spark can add general journal lines, post a journal, and create customers and vendors, each behind its own permission.

Does Spark support several Business Central companies?

Yes. A Circuit can read 1 or more companies and map them to plan entities.

Where are the credentials kept?

Sealed in your company's own vault in your isolated tenant. Spark never shows them again or writes them to logs.

Connection essentials

  • Method: An app client ID and secret.
  • What you need: A Microsoft Entra admin; A Business Central admin
  • What Spark asks for: Directory (tenant) ID; Environment; Application (client) ID; Client secret
  • Vendor documentation: learn.microsoft.com
  • Change detection: entries changed since the last run, by last-modified date
  • Limits to know: each company is read separately, and Spark maps them into 1 plan structure

Set it up in 3 steps

  1. In Microsoft Entra ID, register an app named Spark and create a client secret. Copy the directory (tenant) ID, application (client) ID and secret.
  2. Give the app the Dynamics 365 Business Central API.ReadWrite.All application permission, then in Business Central open Microsoft Entra Applications, add the app, and give it the D365 READ permission set (and, for writes you tick in Spark, a permission set that can edit journals, post them, or create customers and vendors).
  3. In Spark, add a Dynamics 365 Business Central Spark and enter the details. Spark keeps them in your company's own vault and reads a small list to check they work.

Optional permissions

Ticked when you add the Spark, and off unless marked default.

  • Add journal lines: Lines stay unposted until someone posts the journal.
  • Post journals: Posts whole journals to the general ledger. Tick only if that is what you want.
  • Create customers and vendors: New ones only: Spark never changes an existing customer or vendor.

Everything Spark reads from Dynamics 365 Business Central

  • Company in the environment
  • G/L account
  • Posted G/L entry (the general ledger)
  • Accounting period
  • General journal batch
  • Dimension
  • Dimension value
  • Customer
  • Vendor
  • Sales invoice
  • Sales invoice line
  • Purchase invoice
  • Purchase invoice line
  • Item
  • Employee
  • Currency
  • Payment term
  • Customer payment journal line
  • Vendor payment journal line
  • Bank account (no account numbers)

What Spark writes

  • Adds 1 general journal line per row to the journal each row names. Lines stay unposted until someone posts the journal. Running again adds the lines again, so post or clear the journal first.
  • Posts the journal each row names (1 row per journal), with every line in it.
  • Creates 1 customer per row in the company it names. Numbers already in Business Central are skipped, never changed.
  • Creates 1 vendor per row in the company it names. Numbers already in Business Central are skipped, never changed.

Example Circuit: Business Central actuals into Pigment

Each mapping is written in Excel syntax, so finance can read and change it.

  • Period: =TEXT([Posting Date],"yyyy-mm"), the plan's month
  • Account: =XLOOKUP([G/L Account No],AcctMap[BC],AcctMap[Plan]), the plan account
  • Department: =XLOOKUP([Department Code],DeptMap[BC],DeptMap[Plan],"Unassigned"), the plan department
  • Company: =[Company Name], the plan entity

Checks to set on this feed

  • Row count and column totals tied out against the source after every load (trial balance by company and period)
  • Fail the run if a dimension value has no mapping
  • Posting needs its own permission, off by default

How setup works

  1. Start a Spark. Sign in or paste a key. Spark checks the access the key grants and warns before it expires. If someone else owns the system, Spark sends them a setup request with the security context they need.
  2. Build a Circuit with Ask Spark. Describe the feed in plain English. Ask Spark drafts the mapping in Excel syntax and waits for your approval.
  3. Let it run. On a schedule, when a file lands, or when the source changes, with checks before anything is written and alerts by email, Slack, Teams or the Spark mobile app.

Security

Each customer runs in its own isolated tenant with its own encryption key and credential vault. Business data passes through memory during a run and is never stored. Writes to systems of record need their own permission, and ERP journals arrive as drafts by default. See Spark security.

See it with your own systems

Book a 30-minute demo built around the systems you use. Spark starts at $5,000 a year, with every connector on every plan. See pricing, security and the connector library.