Load BQE CORE data to Microsoft Fabric
Build a BQE CORE to Microsoft Fabric pipeline with your coding agent. One prompt scaffolds it with the dltHub AI harness, plus the BQE CORE API base URL, auth, endpoints, and incremental loading.
BQE CORE is a business management and accounting platform that provides REST APIs for managing company data including time entries, CRM, and HR modules. Everything needed to build a working BQE CORE → Microsoft Fabric pipeline is on this page: the API's base URL, authentication, endpoints, pagination and incremental field — plus a prompt that hands the whole job to your coding agent.
Build your BQE CORE to Microsoft Fabric pipeline
Paste this prompt into Claude, Codex, or Cursor. The agent does the rest.
uvx dlthub-init@latest to build a pipeline from BQE CORE to Microsoft Fabric and run it on dltHubThat scaffolds a dltHub workspace and installs the dltHub AI harness — the project rules, the secrets-management skill, and the dlt MCP server your agent needs to work safely. From there it reads the BQE CORE API, proposes the endpoints to load, then writes, runs and validates the pipeline while you review rather than type. Credentials are inspected through MCP tools, so your agent never reads secrets.toml itself. How the LLM-native workflow works →
Prefer to write it yourself? Every fact the agent uses is below.
BQE CORE API at a glance
| Base URL | https://[dynamic-data-center-host] (retrieved from token response) |
| Example endpoint | GET bill |
| Authentication | all requests require a Bearer token in the Authorization header — sent in the Authorization header, prefixed Bearer |
| Pagination | Page-number page size via The 'page' parameter includes the page size as the second value in a comma-separated list, e.g., 'page=1,50'.. The API uses a single query parameter 'page' to handle both page number and page size. The syntax is 'page=[page number],[number of records per page]'. The default page size is 25, with a maximum of 1000 records per page (or 100 when using 'expand'). Requesting page 0 or negative numbers returns the first page. Requesting a page beyond the last returns 204 No Content. |
| Incremental field | lastUpdated |
| Record id | id |
| API reference | https://api-explorer.bqecore.com/docs/authentication-authorization |
These values come from the BQE CORE API reference — the authoritative source if anything here looks out of date.
How do I authenticate with the BQE CORE API?
All requests require an 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' header where the access token is obtained via an OAuth 2.0 flow. The base URL is dynamic and must be retrieved from the 'endpoint' field in the successful token response.
1. Get your credentials
- Register for a developer account at the BQE CORE Developer Portal (https://api-developer.bqecore.com/webapp). 2. Once logged in, navigate to the Dashboard. 3. Add your application to the account. 4. Upon adding the app, BQE CORE will generate OAuth client credentials, specifically a Client ID and a Client Secret. 5. Copy the Client Secret immediately and store it securely, as it will not be displayed again. These credentials are required for the OAuth 2.0 authorization flow to obtain access tokens.
2. Add them to .dlt/secrets.toml
[sources.bqe_core_source] access_token = "REPLACE_ME"
dlt reads this file automatically at runtime. With the harness, the setup-secrets skill prompts you for the values and never handles the raw credential in chat. For production, see setting up credentials with dlt.
What BQE CORE data can I load into Microsoft Fabric?
These are the BQE CORE endpoints dlt can load into Microsoft Fabric:
| Resource | Endpoint | Method | Data selector | Description |
|---|---|---|---|---|
| bill | bill | GET | Retrieve a list of bills | |
| invoice | invoice | GET | Retrieve a list of invoices | |
| document | document | GET | Retrieve a list of documents | |
| allocation | allocation | GET | Retrieve a list of allocations | |
| activity | activity | GET | Retrieve a list of activities |
How do I load only new BQE CORE records?
BQE CORE exposes lastUpdated on bill, so dlt can request only the records that changed since the last run. Set it as the cursor_path and dlt tracks the high-water mark for you between runs.
{"name": "bill", "endpoint": { "path": "bill", "incremental": {"cursor_path": "lastUpdated", "initial_value": "2024-01-01T00:00:00Z"}, }}
On the first run dlt loads everything from initial_value; on every run after that it requests only what changed and appends with write_disposition="merge" if you set a primary key. See incremental loading.
What does the generated BQE CORE pipeline look like?
A standard dlt REST API pipeline — the same code you would write by hand, loading token and authorize from the BQE CORE API into Microsoft Fabric:
import dlt from dlt.sources.rest_api import RESTAPIConfig, rest_api_resources @dlt.source def bqe_core_source(access_token=dlt.secrets.value): config: RESTAPIConfig = { "client": { "base_url": "https://[dynamic-data-center-host] (retrieved from token response)", "auth": {"type": "bearer", "token": access_token}, }, "resources": [ {"name": "bill", "endpoint": {"path": "bill"}}, {"name": "invoice", "endpoint": {"path": "invoice"}} ], } yield from rest_api_resources(config) def load_bqe_core_to_fabric() -> None: pipeline = dlt.pipeline( pipeline_name="bqe_core_pipeline", destination="fabric", dataset_name="bqe_core_data", ) load_info = pipeline.run(bqe_core_source()) print(load_info) if __name__ == "__main__": load_bqe_core_to_fabric()
Run it with python bqe_core_pipeline.py. The agent iterates on this until it loads cleanly — you review and approve, rather than write it from scratch.
How do I query BQE CORE data in Microsoft Fabric?
dlt creates one table per resource. Query the loaded data with Python or SQL — or ask your agent to, through the MCP server's execute_sql_query tool.
Python (pandas DataFrame):
import dlt data = dlt.pipeline("bqe_core_pipeline").dataset() df = data.bill.df() print(df.head())
SQL:
SELECT * FROM bqe_core_data.bill LIMIT 10;
See querying your data with dataset and exploring it in marimo notebooks.
How do I deploy the BQE CORE to Microsoft Fabric pipeline in production?
The pipeline runs locally, which is ideal for prototyping and one-off analysis. When you need it on a schedule, monitored on every load, and shared with your team, deploy the same dlt code on the dltHub platform — no infrastructure to maintain. The prompt above already ends with "run it on dltHub", so your agent can take it there directly.
- Deploy & schedule — run the pipeline as a managed job with automatic retries.
- Monitor — observable job queues, alerting, and load metrics for every run.
- Transform — promote raw BQE CORE loads into governed, documented models.
- Visualize & share — explore data in notebooks and publish live dashboards instead of static screenshots.
What other destinations can I load BQE CORE data to?
dlt loads into any of these — only the destination argument changes:
| Destination | Example value |
|---|---|
| PostgreSQL | "postgres" |
| BigQuery | "bigquery" |
| Snowflake | "snowflake" |
| Redshift | "redshift" |
| Databricks | "databricks" |
| Filesystem (S3, GCS, Azure) | "filesystem" |
Set dlt.pipeline(destination="snowflake") and add credentials in .dlt/secrets.toml. On the dltHub platform the same pipeline runs against a managed Iceberg lakehouse. See the full destinations list.
Next steps
Was this page helpful?
Community Hub
Need more dlt context for BQE CORE to Microsoft Fabric?
Request dlt skills, commands, AGENT.md files, and AI-native context.