Dataset
Business Central ledger and document datasets for AI training
A Business Central dataset is an extract of one company in a Dynamics 365 Business Central tenant: G/L Entries, Cust. Ledger and Vendor Ledger Entries with their detailed entries, Item Ledger Entries and Value Entries, open and posted sales and purchase documents, and the customer, vendor, item and G/L Account masters with their dimensions. SourceX sources it to a buyer's spec from established small and mid-sized businesses that run the product, formerly Dynamics NAV. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Ledger entries, open and posted sales and purchase documents, and customer, vendor, item and account masters with dimensions from one company in a Business Central tenant
- Typical systems
- Dynamics 365 Business Central online or on-premises, and Dynamics NAV databases; extension tables where identified and in scope
- Typical history
- Specified by the buyer; it can reach back into the NAV years where history was upgraded, and can be thinned by date compression
- Modality
- Structured ledger and document tables with short descriptions
- Delivery formats
- Agreed per order; Parquet or CSV per table under Business Central table and field names, or JSON from API entities
- Preparation
- Customer, vendor and contact names keyed; addresses, bank accounts, tax registration numbers and user IDs removed; extension tables listed
- Licensing
- Rights reviewed per company; permitted use set in the license
- Availability
- Sourced to your spec from companies that agree; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| company_key | string | Key for the company the rows belong to, replacing the company name. |
| open_documents | array | Sales Header and Purchase Header rows with their lines, as they stood at extraction. |
| posted_documents | array | Sales Invoice Header, Purch. Inv. Header and posted credit memo rows with their lines and source order number. |
| gl_entries | array | G/L Entry rows with Entry No., Posting Date, Document No., G/L Account No., Amount, Transaction No. and the reversal fields. |
| posting_register | object | The G/L Register row for the posting run, with the entry number range it wrote. |
| customer_entries | array | Cust. Ledger Entry rows with the Detailed Cust. Ledg. Entry rows that carry amounts and applications. |
| vendor_entries | array | Vendor Ledger Entry rows with their detailed entries, in the same shape. |
| item_entries | array | Item Ledger Entry rows with entry type, quantity, remaining quantity and location. |
| value_entries | array | Value Entry rows linked to an item ledger entry, with cost and sales amounts and the adjustment flag. |
| dimension_set | object | The Dimension Set Entry rows behind a Dimension Set ID, as code and value pairs. |
| master_records | object | Keyed Customer, Vendor, Item and G/L Account rows the entries refer to. |
| change_log_entries | array | Change Log Entry rows for the record, with table, field, old value, new value and time. |
| extension_tables | array | Tables and fields added by extensions, tagged with the extension and publisher. |
| extract_route | object | Online or on-premises, the route used, and whether FlowFields were computed. |
Field names from the table above; values are masked placeholders.
Example record
{
"company_key": "co_02",
"posted_documents": [
{
"table": "Sales Invoice Header",
"no": "PSI-10482",
"order_no": "SO-3391",
"posting_date": "2024-05-14",
"customer_key": "cust_7a1c",
"amount": 1250.0,
"amount_including_vat": 1350.0,
"dimension_set_id": 318
}
],
"gl_entries": [
{
"entry_no": 482211,
"gl_account_no": "13100",
"amount": 1350.0,
"transaction_no": 77120,
"source_code": "SALES",
"reversed": false
},
{
"entry_no": 482212,
"gl_account_no": "40100",
"amount": -1250.0,
"transaction_no": 77120,
"dimension_set_id": 318
},
{
"entry_no": 482213,
"gl_account_no": "23400",
"amount": -100.0,
"transaction_no": 77120
}
],
"posting_register": {
"no": 9041,
"from_entry_no": 482211,
"to_entry_no": 482213,
"source_code": "SALES"
},
"customer_entries": [
{
"entry_no": 60118,
"document_type": "Invoice",
"document_no": "PSI-10482",
"open": false,
"detailed": [
{
"entry_type": "Initial Entry",
"posting_date": "2024-05-14",
"amount": 1350.0
},
{
"entry_type": "Application",
"posting_date": "2024-06-11",
"amount": -1350.0,
"unapplied": false
}
]
}
],
"item_entries": [
{
"entry_no": 91544,
"entry_type": "Sale",
"item_key": "item_0c55",
"quantity": -10
}
],
"value_entries": [
{
"entry_no": 130201,
"item_ledger_entry_no": 91544,
"posting_date": "2024-05-14",
"sales_amount_actual": 1250.0,
"cost_amount_actual": -800.0,
"adjustment": false
},
{
"entry_no": 131877,
"item_ledger_entry_no": 91544,
"posting_date": "2024-05-31",
"cost_amount_actual": -12.5,
"adjustment": true
}
],
"dimension_set": {
"id": 318,
"entries": [
{
"dimension_code": "DEPARTMENT",
"value_code": "SALES"
}
]
},
"extract_route": {
"platform": "online",
"source": "database export",
"flowfields_computed": true
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train bookkeeping and close agents
Posted documents beside the G/L entries they produced show how a company's setup turns an invoice into postings.
Learn from corrections
Reversed entries and corrective credit memos pair each mistake with its fix.
Model cash application
Detailed customer and vendor entries record which payment was applied to which invoice and when.
Reason about inventory cost
Value entries added after a sale show cost adjustments arriving late, which a costing agent must explain.
Build evaluation items with one right answer
Balances, remaining amounts and stock on hand can be recomputed from the entries, giving graded questions.
Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Detailed entries included
Detailed customer and vendor entries delivered, since amounts and applications live there.
No date compression
Old G/L, customer and vendor ledger entries still at document level, not summed into period totals.
Posted documents kept
Posted invoices and credit memos present for the ledger entries that cite them.
Dimensions in use
Entries carrying dimension sets beyond the two global dimensions, with values that resolve.
Cost adjusted and posted
The cost adjustment job run regularly and inventory cost posted to the general ledger.
Change log scoped
A stated list of the tables and fields the change log tracked, with the date tracking began.
Document stack
Business Central dataset
Posting copies the document and appends to the ledger
An open sale in Business Central is a row in Sales Header with its Sales Lines, with a Document Type of quote, order, invoice, credit memo, blanket order or return order. Purchases mirror this in Purchase Header. Posting does not flip a status. It copies the document into separate posted tables, Sales Shipment Header and Sales Invoice Header on the sales side and Purch. Inv. Header on the purchase side, and writes numbered entries to the ledgers: G/L Entry, Cust. Ledger Entry, Item Ledger Entry, Value Entry and VAT Entry. Once an order is fully invoiced its open row is deleted, and the posted invoice keeps the order number. A copy of the order as it stood survives only where the company archives orders.
The account, date and amount on a posted entry cannot be changed. A wrong posted invoice is fixed with a corrective credit memo, and a journal posting is reversed by a new entry of opposite sign, with both entries marked Reversed and pointing at each other. Settlement is appended too. Amount and Remaining Amount on a Cust. Ledger Entry are FlowFields, calculated when read from Detailed Cust. Ledg. Entry rows of types such as Initial Entry, Application and Payment Discount, and an application that is undone adds further rows flagged as unapplied. Vendor entries work the same way. A few fields, such as Open and Due Date on a customer entry, are still updated in place.
Item Ledger Entry holds the quantity and Value Entry holds the money, and one item entry collects more value entries as the purchase is invoiced, as the cost adjustment batch job runs, or as stock is revalued. The cost of a sale can change later without the sale's row being touched. Every ledger numbers its rows with an Entry No. that only counts up, and G/L Register records the range each posting run wrote, so the order of events survives a back-dated Posting Date.
Cloud tenants return pages, databases return tables, and change logging is optional
A cloud tenant has no database access. Data leaves through the standard API, whose entities such as generalLedgerEntries and salesInvoices are scoped to one company, keyed by GUIDs, and carry a chosen subset of each table's fields. Beyond that it leaves through pages and queries published as OData web services, custom API pages a partner wrote in AL, configuration packages exported to Excel, or a database export that an administrator requests as a BACPAC file. Pages return calculated values, so the customer entry arrives with its Amount filled in, and option values arrive as text with spaces encoded.
An on-premises SQL Server database, or a BACPAC restored to one, gives the opposite. Each company's data sits in its own set of tables, named with the company name, a dollar sign and the table name with punctuation swapped for underscores, so G/L Entry becomes G_L Entry, followed in current versions by the ID of the app that owns the table. The company name in every table name is itself identifying. Option fields are integers. FlowFields are not columns at all, so a copy of Cust. Ledger Entry has no amounts unless the detailed entries come too. Fields an extension adds to a base table are stored in companion tables, not in the base table.
Field-level change history exists only in Change Log Entry, and only for the tables and fields an administrator switched on in the change log setup. Each row gives a table number, a field number, the old and new value, the type of change, a user ID and a time, and a missing row proves nothing. Microsoft advises leaving ledger entries and posted documents out of it, and a retention policy can delete old rows. History can also be thinner than expected: date compression replaces old entries from closed fiscal years with period totals, and posted documents can be deleted where setup allows. To test a sample, sum G/L Entry amounts per Transaction No. to zero, rebuild remaining amounts from the detailed entries, and check that G/L Register ranges cover the entries delivered.
What to check before licensing
- Have the buyer's counsel and the data owner read Microsoft's terms for Business Central online or on-premises, and the reselling partner's agreement, on data extraction and API use.
- Ask which companies in the tenant or database are covered and whether any are test, sandbox or demonstration companies.
- Confirm customer, vendor and contact names, addresses, bank accounts, tax registration numbers and user IDs are removed or keyed, including in Description fields and in SQL table names.
- Ask for the installed extensions with publishers, which delivered tables and fields belong to each, and whether those publishers' terms were checked.
- Ask which route produced each table and whether FlowFields such as the customer entry Amount were computed or left out.
- Ask whether date compression was ever run, whether posted documents were deleted, and which tables and fields the change log tracked, from what date and under what retention policy.
- On the sample, check that G/L Entry amounts sum to zero per Transaction No., that detailed entries rebuild each remaining amount, and that every Dimension Set ID resolves.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
What does a Business Central dataset contain?
It contains the ledgers and documents of one company in a Business Central tenant or database. That means G/L entries, customer and vendor ledger entries with their detailed entries, item ledger and value entries, open and posted sales and purchase documents, dimension sets, and the customer, vendor, item and account masters. Extension tables are listed separately.
Does Business Central keep a history of corrections?
Yes, for anything posted. The account, date and amount on a posted entry cannot be edited, so a mistake is corrected by a credit memo or a reversing entry that sits in the ledger beside the original. Open documents are different. A sales order is edited in place until posted, and earlier versions exist only if the company archived them.
How does data from a cloud tenant differ from an on-premises database?
It differs in shape. A cloud tenant returns API entities keyed by GUIDs and published pages with renamed fields and calculated values. An on-premises SQL database, or a BACPAC export of a cloud tenant, returns raw tables with integer option values, no FlowFields and the company name in each table name. Ask which route produced each table.
Are records from Dynamics NAV included?
Often, because Business Central is the continuation of Dynamics NAV and an upgrade carries the ledgers forward. Table names such as G/L Entry are the same in both. Older NAV versions stored dimensions differently and an upgrade converted them. Ask when the company moved and whether history was upgraded or restarted with opening balances.
Which tables come from extensions and not from Microsoft?
Any table or field outside Microsoft's own applications comes from an extension, either an app from a software vendor or a customization a partner wrote for that tenant. These hold industry add-ons, document capture and payment integrations. Ask for each delivered table to be tagged with its owner.
Is SourceX affiliated with Microsoft?
Dynamics 365 Business Central is named to identify the system the records come from. That does not imply a partnership with or endorsement by Microsoft. The records belong to the business that runs Dynamics 365 Business Central, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- ERP transaction histories across modules
One company's ERP documents across modules, with flow links, change logs, master data and the data dictionary
- Inventory ledger histories
Item-location stock ledgers with movements, adjustments, reorder settings, lots and valuation
- Dynamics 365 Finance ledger records
General journal entries, customer and vendor transactions, invoice journals, purchase and sales orders and dimension combinations from named legal entities of one environment
- NetSuite ERP transaction records
One NetSuite account's transactions with lines, accounting lines, links, master records, system notes and custom field definitions
- SAP Business One company records
One company database's marketing documents with row-level base links, payments, journal entries, masters, the warehouse journal and history tables
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.