Microsoft Dynamics 365 Business Central
M
Microsoft Dynamics 365 Business Central

tap-microsoft-dynamics-bc (meltanolabs variant)

Microsoft Dynamics 365 Business Central is Microsoft's cloud ERP for small and mid-sized organisations: finance, sales, purchasing, inventory, projects and manufacturing.

The tap-microsoft-dynamics-bc extractor reads Business Central (online or on-premises) through its REST APIs, using service-to-service authentication (client ID and secret), so no user has to sign in and nothing breaks when an employee leaves. It extracts every company in an environment, or the ones you choose, and covers:

  • Every standard API v2.0 entity: customers, vendors, items, G/L accounts and entries, sales and purchase documents with their lines, journals, dimensions, fixed assets, projects, employees and the financial statements.
  • Ledger entries the standard API does not expose: customer, vendor and detailed ledger entries, G/L budgets and dimension set entries, from Microsoft's API Reports - Finance app.
  • Item, value, warehouse, job and manufacturing ledgers from Microsoft's analytics API (installed with the Power BI Reports apps). These streams are opt-in.
  • Your own data: fields added by extensions are picked up automatically, and custom API pages or published OData web services can be added in settings.

Schemas are read from your environment's OData $metadata at discovery, so the catalog matches your Business Central version, localisation and extensions.

Prerequisites

Setup has two parts, both done by your administrators: register an application in Microsoft Entra ID, then grant that application access in Business Central. This is Microsoft's standard service-to-service authentication.

You need Business Central online 18.3 or later, or on-premises 18.11, 19.5 or later configured for Microsoft Entra authentication with OpenID Connect (with https://api.businesscentral.dynamics.com in the server's ValidAudiences; set base_url to the server instance URL). You also need a Microsoft Entra administrator who can register applications and grant admin consent, and a Business Central user who can manage Microsoft Entra applications (for example SUPER or SECURITY).

1. Register the application in Microsoft Entra ID

  1. In the Microsoft Entra admin center, open App registrations > New registration. Name it, choose Accounts in this organizational directory only, leave Redirect URI empty and register it.
  2. Copy the Application (client) ID and the Directory (tenant) ID.
  3. Under Certificates & secrets, create a client secret and copy its Value immediately. Note the expiry date: the connection stops working when the secret expires.
  4. Under API permissions, add Dynamics 365 Business Central > Application permissions > API.ReadWrite.All, then select Grant admin consent.

Why "ReadWrite"? Microsoft offers no read-only application permission for Business Central. What the application can actually do is decided by the Business Central permission set granted in the next step, which is read-only. The extractor only ever sends GET requests.

2. Grant the application access in Business Central

Do these steps in this order: Business Central only accepts permission sets while the application is Disabled and its user exists.

  1. Search for Microsoft Entra Applications and select New.
  2. Enter the Client ID and a Description. Leave State as Disabled.
  3. Select Click here to create the application user in the notification at the top.
  4. Under User Permission Sets, add D365 READ. It is all that is needed and covers every stream, including the Finance reports. Leave Company blank to grant it in all companies, or add one line per company to restrict access.
  5. Set State to Enabled.

If Business Central answers 401 Authentication_InvalidCredentials although a token is issued, there is no Enabled card for that client ID in that environment.

3. Optional: more data

  • Analytics streams (analytics_*) need Microsoft's Power BI Reports app installed. They are not selected by default.
  • Extension APIs: add an extension's API route (for example api/contoso/banking/v1.0) to custom_apis. Every entity becomes a stream.
  • Pages and queries that have no API: publish the page or query under Web Services in Business Central and add its Service Name to web_services. If it shows SystemModifiedAt, set that as the replication_key to load incrementally.

Data recovery / backfill

  • Re-extract everything: clear the pipeline state or run with a full refresh. Incremental streams then start again from start_date; full-table streams are always complete.
  • Backfill a period: set start_date to the start of the period and run once with a full refresh. Records are upserted by primary key, so overlapping runs do not create duplicates.
  • Deleted records: Business Central keeps no record of deletions for incremental streams. Working documents (orders, quotes, journals, transfer orders), employees and every stream without a modification timestamp are read in full each run and send ACTIVATE_VERSION, so deletes propagate. For master data such as customers, vendors and items, either extract them in full (set replication-method: FULL_TABLE on the stream in the extractor metadata), run a periodic full refresh, or keep an audit trail with the Business Central Change Log published as a web service.
  • The loader must honour ACTIVATE_VERSION. Loaders built on the Meltano Singer SDK (for example MeltanoLabs target-postgres, target-snowflake and target-mssql) also need add_record_metadata: true, otherwise no deletes are ever applied. They then soft-delete by default, setting _sdc_deleted_at on rows that are gone, so filter on _sdc_deleted_at IS NULL, or set hard_delete: true to remove the rows. Some loaders ignore ACTIVATE_VERSION altogether, so deleted rows stay.
  • SQL Server targets create varchar columns, so text outside the database collation's code page (for example Polish, Greek or Japanese names under the default SQL_Latin1_General_CP1_CI_AS) is stored as ?. Load into a database with a UTF-8 collation such as Latin1_General_100_CI_AS_SC_UTF8.

Available Streams

Every company-scoped stream has a company_id column, which is part of its primary key together with the entity key. Streams are discovered from your environment, so fields added by extensions appear automatically, and an endpoint that your Business Central release or permissions do not offer is skipped with a warning.

Replication: incremental streams filter on lastModifiedDateTime with a bookmark per company (draft invoices and credit memos are also read again every run, so edits to their lines are not missed). Full table streams are read in full each run. Lines are read together with their header document.

companies (full table) lists the companies in the environment and is the parent of every other stream.

Standard API (v2.0)

StreamReplicationDescription
accounting_periodsIncremental (lastModifiedDateTime)Exposes accounting period data including starting dates, period names, fiscal year status, closure indicators, date locks, and average cost calculation settings.
accountsIncremental (lastModifiedDateTime)Provides access to chart of accounts data from the G/L Account table, including account numbers, names, categories, balances, posting settings, and consolidation attributes.
aged_accounts_payablesFull tableProvides access to aged accounts payable data, including vendor details, outstanding balances, and amounts overdue by aging period.
aged_accounts_receivablesFull tableProvides real-time aged accounts receivable data, including customer details, outstanding balances, and amounts due by aging period.
approval_entriesIncremental (lastModifiedDateTime)
assembly_order_linesFull table
assembly_ordersFull table
balance_sheetsFull tableProvides access to balance sheet reports, detailing assets, liabilities, and equity with account-level breakdowns and date filters.
bank_accountsIncremental (lastModifiedDateTime)Manages bank account records including account numbers, bank names, balances, currency details, and identifiers such as IBAN and SWIFT codes.
blanket_purchase_order_linesFull tableProvides access to individual blanket purchase order line data, including item details, quantities, unit pricing, discounts, and outstanding quantities.
blanket_purchase_ordersFull tableExposes blanket purchase order documents for long-term procurement agreements, including vendor details, order status, delivery and payment information, addresses, and currency.
blanket_sales_order_linesFull tableProvides access to individual blanket sales order line data, including item details, quantities, unit pricing, discounts, and outstanding quantities.
blanket_sales_ordersFull tableExposes blanket sales order documents for long-term customer agreements, including customer details, order status, delivery and payment information, addresses, and currency.
cash_flow_statementsFull tableExposes cash flow statement data, including line-level details such as net change, activity type, description, and date filters, segmented by operating, investing, and financing activities.
company_informationIncremental (lastModifiedDateTime)Exposes company profile data including name, descriptions, address, contact details, tax registration numbers, banking information, and branding attributes.
contactsIncremental (lastModifiedDateTime)Manages contact records for individuals and organizations, exposing data such as names, addresses, phone numbers, email addresses, job titles, and business relationships.
countries_regionsIncremental (lastModifiedDateTime)
currenciesIncremental (lastModifiedDateTime)Manages currency master data including codes, symbols, ISO codes, rounding settings, and related financial accounts.
currency_exchange_ratesIncremental (lastModifiedDateTime)Exposes currency exchange rate records including currency codes, exchange rate amounts, relational currency details, and effective dates.
customer_financial_detailsIncremental (lastModifiedDateTime)Provides access to consolidated customer financial data, including outstanding balances, overdue amounts, payment history, and credit limits.
customer_payment_journalsFull table
customer_paymentsLines of customer_payment_journalsManages customer payment transactions, including payment amounts, dates, methods, related invoices, and journal details.
customer_return_reasonsIncremental (lastModifiedDateTime)
customer_salesFull tableAggregated customer sales data including total sales amounts summarized from posted invoices and credit memos.
customersIncremental (lastModifiedDateTime)Manages customer master data including contact details, addresses, payment terms, credit limits, tax information, and financial balances.
dimension_valuesIncremental (lastModifiedDateTime)Exposes dimension value records, including codes, names, types, consolidation mappings, and status indicators for analytical structures such as departments, cost centers, and projects.
dimensionsIncremental (lastModifiedDateTime)Exposes dimension master data including codes, names, consolidation codes, status, and last modified timestamps for categorizing and analyzing financial transactions in Business Central.
dispute_statusFull tableManages dispute status definitions including code, description, and on-hold update settings.
employeesFull tableManages employee master data including personal details, contact information, employment status, job titles, payroll attributes, and banking information.
fixed_asset_locationsIncremental (lastModifiedDateTime)Manages fixed asset location records, including codes, names, and last modified dates.
fixed_assetsIncremental (lastModifiedDateTime)Provides access to fixed asset master data, including asset numbers, descriptions, location codes, class and subclass codes, blocked status, serial numbers, responsible employees, maintenance status, and last modified dates.
general_ledger_entriesIncremental (lastModifiedDateTime)
general_ledger_setupIncremental (lastModifiedDateTime)
general_product_posting_groupsIncremental (lastModifiedDateTime)
income_statementsFull tableProvides access to income statement data, including revenues, expenses, net change, and account breakdowns over specified periods.
inventory_posting_groupsIncremental (lastModifiedDateTime)
inventory_receipt_linesFull table
inventory_receiptsFull table
inventory_shipment_linesFull table
inventory_shipmentsFull table
item_categoriesIncremental (lastModifiedDateTime)Manages item category records including codes, descriptions, parent-child relationships, and hierarchy structure.
item_ledger_entriesIncremental (lastModifiedDateTime)Provides access to detailed item ledger entries, including inventory transactions such as receipts, shipments, adjustments, and transfers.
item_variantsIncremental (lastModifiedDateTime)Exposes item variant data including codes, descriptions, and status flags for managing different product configurations such as size or color.
itemsIncremental (lastModifiedDateTime)Exposes item master data including product descriptions, pricing, unit costs, tax groups, categorization, and real-time inventory levels.
journal_linesLines of journalsManages individual general journal line entries, including account details, amounts, dimensions, tax codes, and descriptions.
journalsFull tableExposes general journal batch data including template type, balancing account details, approval status, and VAT settings.
locationsIncremental (lastModifiedDateTime)Exposes warehouse and inventory location master data including codes, addresses, contact details, and operational settings.
opportunitiesIncremental (lastModifiedDateTime)Manages sales opportunity records including stages, estimated values, probability, related contacts, and status.
payment_methodsIncremental (lastModifiedDateTime)Manages payment method definitions including codes, descriptions, balance account settings, and direct debit options for both customers and vendors.
payment_termsIncremental (lastModifiedDateTime)Manages payment term definitions including codes, descriptions, due date and discount calculations, and discount percentages.
physical_inventory_order_linesFull table
physical_inventory_ordersFull table
physical_inventory_recording_linesFull table
physical_inventory_recordingsFull table
posted_approval_entriesIncremental (lastModifiedDateTime)
posted_assembly_order_linesIncremental (lastModifiedDateTime)
posted_assembly_ordersIncremental (lastModifiedDateTime)
posted_direct_transfer_linesIncremental (lastModifiedDateTime)
posted_direct_transfersIncremental (lastModifiedDateTime)
posted_inventory_receipt_linesIncremental (lastModifiedDateTime)
posted_inventory_receiptsIncremental (lastModifiedDateTime)
posted_inventory_shipment_linesIncremental (lastModifiedDateTime)
posted_inventory_shipmentsIncremental (lastModifiedDateTime)
posted_physical_inventory_order_linesIncremental (lastModifiedDateTime)
posted_physical_inventory_ordersIncremental (lastModifiedDateTime)
posted_physical_inventory_recording_linesIncremental (lastModifiedDateTime)
posted_physical_inventory_recordingsIncremental (lastModifiedDateTime)
projectsIncremental (lastModifiedDateTime)Exposes comprehensive project management data including project setup, status, budgeting, customer details, scheduling, and financial metrics.
purchase_blanket_order_archive_linesIncremental (lastModifiedDateTime)
purchase_blanket_order_archivesIncremental (lastModifiedDateTime)
purchase_credit_memo_linesLines of purchase_credit_memos
purchase_credit_memosIncremental, drafts re-readManages purchase credit memo documents, exposing vendor details, transaction amounts, addresses, currency, payment terms, and status.
purchase_invoice_linesLines of purchase_invoicesExposes detailed line-level data for purchase invoices, including item or account references, quantities, unit costs, discounts, tax amounts, dimensions, and expected receipt dates.
purchase_invoicesIncremental, drafts re-readManages purchase invoice documents including vendor details, invoice amounts, due dates, payment terms, addresses, and status.
purchase_order_archive_linesIncremental (lastModifiedDateTime)
purchase_order_archivesIncremental (lastModifiedDateTime)
purchase_order_linesLines of purchase_ordersProvides detailed access to individual purchase order lines, including item, quantity, pricing, discounts, tax details, location, and expected receipt dates.
purchase_ordersFull tableManages purchase order documents, exposing vendor details, order status, delivery and payment information, addresses, currency, totals, and discounts.
purchase_quote_archive_linesIncremental (lastModifiedDateTime)
purchase_quote_archivesIncremental (lastModifiedDateTime)
purchase_quote_linesFull tableProvides access to individual purchase quote line data, including item details, quantities, unit pricing, discounts, and amounts.
purchase_quotesFull tableExposes purchase quote documents for vendor price requests, including vendor details, quote status, delivery and payment information, addresses, and currency.
purchase_receipt_linesLines of purchase_receiptsProvides access to detailed purchase receipt line data, including received items, quantities, unit costs, discounts, tax amounts, locations, and links to related purchase and sales orders.
purchase_receiptsIncremental (lastModifiedDateTime)Exposes purchase receipt documents, capturing details of goods received from vendors including receipt numbers, dates, vendor information, addresses, related order data, and currency.
purchase_return_order_archive_linesIncremental (lastModifiedDateTime)
purchase_return_order_archivesIncremental (lastModifiedDateTime)
purchase_return_order_linesFull tableProvides access to individual purchase return order line data, including item details, quantities, unit pricing, discounts, and amounts.
purchase_return_ordersFull tableExposes purchase return order documents for returning goods to vendors, including vendor details, return status, delivery and payment information, addresses, and currency.
purchase_return_shipmentsFull tableExposes purchase return shipment documents, capturing details of goods returned to vendors including shipment numbers, dates, vendor information, addresses, and related order data.
retained_earnings_statementsFull tableProvides access to retained earnings statement data, including net changes, descriptions, fiscal period breakdowns, and company-level summaries.
return_receiptsIncremental (lastModifiedDateTime)Exposes posted sales return receipt data including receipt numbers, customer and bill-to information, addresses, dates, order references, and tracking details.
sales_blanket_order_archive_linesIncremental (lastModifiedDateTime)
sales_blanket_order_archivesIncremental (lastModifiedDateTime)
sales_credit_memo_linesLines of sales_credit_memosManages line-level details of sales credit memos, including item, quantity, unit price, discounts, tax amounts, and dimensions.
sales_credit_memosIncremental, drafts re-readManages sales credit memo documents, exposing customer details, billing and shipping addresses, financial amounts, tax information, status, and related invoice references.
sales_invoice_linesLines of sales_invoicesManages line-level details of sales invoices, including items or accounts, quantities, unit prices, discounts, tax codes, dimensions, and shipment data.
sales_invoicesIncremental, drafts re-readManages sales invoice documents, exposing invoice headers, customer details, billing and shipping addresses, amounts, tax information, due dates, and status.
sales_order_archive_linesIncremental (lastModifiedDateTime)
sales_order_archivesIncremental (lastModifiedDateTime)
sales_order_linesLines of sales_ordersExposes detailed sales order line data including item, variant, location, quantity, pricing, discounts, tax amounts, and shipment dates.
sales_ordersFull tableManages sales order documents including customer details, billing and shipping addresses, order status, delivery dates, and financial totals.
sales_quote_archive_linesIncremental (lastModifiedDateTime)
sales_quote_archivesIncremental (lastModifiedDateTime)
sales_quote_linesLines of sales_quotesManages sales quote line details including items, services, quantities, unit pricing, discounts, taxes, and dimensions.
sales_quotesFull tableManages sales quote documents including customer details, quote status, pricing, addresses, and validity dates.
sales_return_order_archive_linesIncremental (lastModifiedDateTime)
sales_return_order_archivesIncremental (lastModifiedDateTime)
sales_return_order_linesFull tableProvides access to individual sales return order line data, including item details, quantities, unit pricing, discounts, and return-specific fields.
sales_return_ordersFull tableExposes sales return order documents for processing customer returns, including customer details, return status, delivery and payment information, addresses, and currency.
sales_shipment_linesLines of sales_shipmentsProvides access to detailed sales shipment line data, including shipped items, quantities, unit pricing, discounts, tax information, shipment dates, locations, and links to related sales and purchase documents.
sales_shipmentsIncremental (lastModifiedDateTime)Exposes detailed sales shipment document data, including shipment numbers, customer and bill-to/ship-to information, addresses, dates, order references, and tracking details.
salespeople_purchasersIncremental (lastModifiedDateTime)
shipment_methodsIncremental (lastModifiedDateTime)Manages shipment method definitions including codes, and descriptions.
tax_areasIncremental (lastModifiedDateTime)Manages tax area definitions including code, description, tax type (Sales Tax or VAT), and last modified date.
tax_groupsIncremental (lastModifiedDateTime)Manages tax group definitions including codes, descriptions, and tax types (Sales Tax, VAT) for categorizing items and services in Business Central.
time_registration_entriesLines of employees
transfer_order_linesFull table
transfer_ordersFull table
transfer_receipt_linesIncremental (lastModifiedDateTime)
transfer_receiptsIncremental (lastModifiedDateTime)
transfer_shipment_linesIncremental (lastModifiedDateTime)
transfer_shipmentsIncremental (lastModifiedDateTime)
trial_balancesFull tableExposes trial balance data for all general ledger accounts, including account numbers, names, types, debit and credit balances, and period-based filters.
units_of_measureIncremental (lastModifiedDateTime)Manages unit of measure definitions including code, description, international standard code, and symbol.
vendor_payment_journalsFull table
vendor_paymentsLines of vendor_payment_journalsManages vendor payment transactions including payment amounts, dates, methods, and invoice application details.
vendor_purchasesFull tableAggregated vendor purchase data including total purchase amounts summarized from vendor ledger entries.
vendorsIncremental (lastModifiedDateTime)Exposes vendor master data including company details, addresses, contact information, payment terms, tax registration, currency, and financial balances.

Finance reports API

StreamReplicationDescription
reports_finance_accounting_periodsIncremental (lastModifiedDateTime)
reports_finance_business_unitsIncremental (lastModifiedDateTime)
reports_finance_customer_ledger_entriesIncremental (lastModifiedDateTime)Provides access to customer ledger entries including document types, amounts in local and foreign currencies, posting dates, and balancing account information.
reports_finance_customersIncremental (lastModifiedDateTime)
reports_finance_detailed_customer_ledger_entriesIncremental (lastModifiedDateTime)Provides access to detailed customer ledger entries including entry types, amounts, currency codes, and dimension information.
reports_finance_detailed_vendor_ledger_entriesIncremental (lastModifiedDateTime)Provides access to detailed vendor ledger entries including entry types, amounts, currency codes, and dimension information.
reports_finance_dimension_set_entriesIncremental (lastModifiedDateTime)
reports_finance_dimension_valuesIncremental (lastModifiedDateTime)
reports_finance_general_ledger_accountsIncremental (lastModifiedDateTime)
reports_finance_general_ledger_budget_entriesIncremental (lastModifiedDateTime)Provides access to general ledger budget entries including budget names, amounts, dates, account numbers, and dimension codes.
reports_finance_general_ledger_budgetsIncremental (lastModifiedDateTime)
reports_finance_general_ledger_entriesIncremental (lastModifiedDateTime)Provides access to general ledger entries including posting dates, account numbers, amounts, dimensions, and source information.
reports_finance_global_settingsFull table
reports_finance_vendor_ledger_entriesIncremental (lastModifiedDateTime)Provides access to vendor ledger entries including document types, amounts in local and foreign currencies, posting dates, and balancing account information.
reports_finance_vendorsIncremental (lastModifiedDateTime)

Analytics API

About 100 further analytics_* streams (item, value, G/L, warehouse, job, manufacturing and sales ledgers and lines) come from the Power BI Reports app. They are not selected by default, and each is read in full every run. The extractor's default selection leaves them out; add them with a select rule such as analytics_*.*.

Not extracted

Binary content (documents, pictures, attachments), endpoints that need a single parent record, and job queue and workflow configuration.

Settings

Tenant ID

Microsoft Entra tenant ID (GUID) or primary domain, from the overview page of your app registration.

Client ID

Application (client) ID of the Microsoft Entra app registration.

Client Secret

Client secret value of the Microsoft Entra app registration. The connection stops working when the secret expires.

Environment Name

Business Central environment name, as shown in the Business Central admin center (for example Production).

Company IDs

Companies to extract, by ID or name. Leave empty to extract every company in the environment.

Start Date

Earliest modification time to extract for incremental streams, in ISO-8601 format (for example 2026-01-01T00:00:00Z). Leave empty to extract all history.

Include Finance Reports API

Discover the Finance reports streams (customer, vendor and detailed ledger entries, G/L budgets, dimension set entries).

Include Analytics API

Discover the analytics streams from the Power BI Reports app. They are not selected by default.

Custom APIs

Extra API routes published by extensions, as a list of {publisher, group, version, stream_prefix}. Every entity of a route becomes a stream.

Web Services

OData web services published in Business Central (pages and queries that have no API), as a list of {name, replication_key}.

Emit Activate Version Messages

Emit ACTIVATE_VERSION for full-table streams, so that loaders that support it remove rows deleted in Business Central.

Page Size

Number of records requested per response.

Meltano Cloud Connector

Microsoft Dynamics 365 Business Central connector is available on Meltano. It is built, maintained, supported, and tested by Meltano.

Why Meltano Cloud?
Expert supportDirect access to the team that built and maintains Meltano Cloud. Same-day responses during UK business hours. When something breaks, we fix it fast because we know exactly how it works.
Rigorously testedEvery connector goes through comprehensive testing and quality checks before production. Daily monitoring catches issues before they hit your pipelines. We don't just wrap open-source taps and hope for the best. We validate, we test, we maintain.
No maintenance overheadAPI changes. Connector updates. Schema drift. Breaking changes from upstream sources. We handle it all. Your team focuses on using data. Our team focuses on making sure it's there when you need it.
Ingest & transform data with AIConnect Claude or any MCP-compatible assistant to Meltano Cloud. Add connectors, run pipelines, build dbt models and diagnose failed runs in plain English, against the same Git-backed project your team works in.
Access to Meltano Slack communityJoin 5,500+ data engineers and analytics practitioners. The community is active, helpful, and always on. Good for quick questions, sharing patterns, and learning what others are building.