Docs Index
business central connector.md

Proof Card: Business Central Connector

Status: production Last verified: 2026-04-28 · git sha 562e3ab4

Claim

BusinessCentralConnector is a real client for Microsoft Dynamics 365 Business Central via OData v4 (/api/v2.0) with OAuth2 client-credentials authentication against https://login.microsoftonline.com. It pairs the runtime CRUD path with a separate MetadataClient that fetches and caches $metadata XML so entity sets and properties are discovered from the live tenant rather than hardcoded.

Source

Tests

Live vs Fixture

Known Gaps

Verification (60-second AI-reviewer recipe)

npm test -- tests/unit/__tests__/BusinessCentralConnector.test.ts
grep -n "OData-MaxVersion\|/api/v2.0\|metadataClient" src/connectors/BusinessCentralConnector.ts | head -5
ls src/connectors/businessCentral/

The grep proves the OData v4 protocol header is set on every request and the metadata client is wired separately. The ls shows the MetadataClient.ts companion file exists and is part of the connector's directory.