Skip to content

Dataset

Dynamics 365 Finance ledger datasets for AI training

A Dynamics 365 Finance dataset is an extract of the ledger and subledger tables of one enterprise's finance and operations environment: GeneralJournalEntry and GeneralJournalAccountEntry, customer and vendor transactions (CustTrans, VendTrans), invoice journals, purchase and sales orders, and the financial dimension combinations they post to, separated by legal entity. SourceX sources it to a buyer's spec from established businesses that run the product, the successor to Dynamics AX. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
General journal entries, customer and vendor transactions, invoice journals, purchase and sales orders and dimension combinations from named legal entities of one environment
Typical systems
Dynamics 365 Finance, with Supply Chain Management tables from the same environment where in scope; Dynamics AX 2012 databases; ISV tables where identified
Typical history
Specified by the buyer; ask whether history from Dynamics AX was upgraded in full or migrated as balances and open transactions at go-live
Modality
Structured ledger, subledger and order tables with short transaction text
Delivery formats
Agreed per order; Parquet or CSV per table with RecId keys and a legal-entity key, or data entity exports with the entity named
Preparation
Worker, customer and vendor names keyed; addresses, bank accounts and tax registration numbers removed; DataAreaId replaced by one consistent key
Licensing
Rights reviewed per company; permitted use set in the license
Availability
Sourced to your spec from companies that agree; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
legal_entity_keystringConsistent key replacing DataAreaId, the legal-entity column on every company-specific table.
general_journal_entryobjectThe GeneralJournalEntry header: accounting date, journal number key, fiscal period and posting layer.
account_entriesarrayGeneralJournalAccountEntry rows, with posting type, credit flag, text and amounts in transaction, accounting and reporting currency.
dimension_combinationobjectThe DimensionAttributeValueCombination row an entry posts to, as its DisplayValue plus main account and each financial dimension by name.
voucher_linkobjectThe SubledgerVoucherGeneralLedgerEntry row: voucher, the voucher's legal entity and accounting date.
journal_linesarrayLedgerJournalTrans rows as keyed in the journal, with account type, account, offset account, debit, credit and text.
customer_transactionsarrayCustTrans rows with voucher, date, amount, settled amount and closed date, and their CustSettlement rows.
vendor_transactionsarrayVendTrans rows in the same shape, with their VendSettlement rows.
invoice_journalsarrayCustInvoiceJour and VendInvoiceJour headers with their lines, the ledger voucher and the order they invoice.
purchase_ordersarrayPurchTable headers and PurchLine rows, with status, quantity, price, line amount and default dimensions.
sales_ordersarraySalesTable headers and their lines, with status, quantity, price and default dimensions.
enum_labelsobjectLabel maps for integer enum columns such as PostingType and PurchStatus, including customized enums.
extract_routeobjectWhether rows are a data entity export or a table copy, the route used, whether it ran cross-company and how deleted rows were handled.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "legal_entity_key": "le_03",
  "general_journal_entry": {
    "entry_key": "gje_5f20",
    "accounting_date": "2024-04-30",
    "posting_layer": "Current",
    "fiscal_period": "Period 4"
  },
  "account_entries": [
    {
      "posting_type": "Purchase expenditure for expense",
      "is_credit": false,
      "transaction_currency": "USD",
      "transaction_amount": 4800.0,
      "accounting_amount": 4800.0,
      "dimension_combination": {
        "display_value": "606300-014-023",
        "main_account": "606300",
        "cost_center": "014",
        "department": "023"
      }
    },
    {
      "posting_type": "Vendor balance",
      "is_credit": true,
      "transaction_currency": "USD",
      "transaction_amount": -4800.0,
      "accounting_amount": -4800.0,
      "dimension_combination": {
        "display_value": "200100",
        "main_account": "200100",
        "cost_center": null,
        "department": null
      }
    }
  ],
  "voucher_link": {
    "voucher": "APIV-000482",
    "voucher_legal_entity_key": "le_03",
    "accounting_date": "2024-04-30"
  },
  "vendor_transactions": [
    {
      "vendor_key": "vend_8b21",
      "voucher": "APIV-000482",
      "trans_date": "2024-04-30",
      "amount_cur": -4800.0,
      "settle_amount_cur": -4800.0,
      "closed": "2024-05-28",
      "settlements": [
        {
          "trans_date": "2024-05-28",
          "settle_amount_cur": -4800.0,
          "offset_voucher": "APPM-000317"
        }
      ]
    }
  ],
  "invoice_journals": [
    {
      "table": "VendInvoiceJour",
      "purch_id": "PO-001204",
      "invoice_date": "2024-04-29",
      "ledger_voucher": "APIV-000482",
      "invoice_amount": 4800.0
    }
  ],
  "purchase_orders": [
    {
      "purch_id": "PO-001204",
      "purch_status": "Invoiced",
      "lines": [
        {
          "line_number": 1,
          "procurement_category": "Professional services",
          "purch_qty": 1,
          "purch_price": 4800.0,
          "line_amount": 4800.0
        }
      ]
    }
  ],
  "enum_labels": "delivered",
  "extract_route": {
    "shape": "table copy",
    "route": "Azure Synapse Link",
    "cross_company": true,
    "deleted_rows": "filtered out"
  }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train close and reconciliation agents

Subledger transactions bridged to ledger lines by voucher are worked examples of tying receivables and payables to the general ledger.

Learn account and dimension coding

Journal lines as keyed, beside the combination each posted to, show how people choose main account, cost center and department.

Explain a posting

Posting types label each ledger line's role, so a model can learn why an invoice produced its entries.

Follow procure-to-pay across tables

Purchase orders, vendor invoice journals, vendor transactions and settlements trace one purchase from order to payment.

Build evaluation items with one right answer

Balances by account, dimension, vendor or legal entity 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

Bridge table included

SubledgerVoucherGeneralLedgerEntry delivered, so subledger rows join to ledger entries.

Dimensions resolved

Each combination delivered as named dimension values, not only a display string.

Raw copies for ledgers

Ledger and subledger tables as table copies with RecId keys.

Entities listed

A stated list of legal entities, with test, consolidation and elimination companies flagged.

Settlements kept

CustSettlement and VendSettlement rows present, so payment application can be rebuilt by date.

Label maps supplied

Enum integers delivered with labels, including enums that customizations added.

Process

Dynamics 365 Finance dataset

This page covers dynamics 365 Finance ledger records.Illustrative

Ledger and subledger are separate tables joined by voucher

Dynamics 365 Finance keeps the general ledger in two tables. GeneralJournalEntry is the header, with the accounting date, journal number, fiscal period, posting layer and the Ledger it belongs to. GeneralJournalAccountEntry holds one row per account and amount, with a posting type and the amount in transaction, accounting and reporting currency. The subledgers are elsewhere. CustTrans and VendTrans hold one row per customer or vendor transaction, keyed by legal entity, with a Voucher and a transaction date. SubledgerVoucherGeneralLedgerEntry is the bridge. Each of its rows pairs a voucher, the legal entity that issued it and an accounting date with one general journal entry.

That bridge lets a receivable or payable be traced to its ledger lines and back. Voucher numbers come from number sequences that are usually set up per legal entity and can repeat across entities, so the join needs all three columns. The posting type on each account entry says what role the line played, such as vendor balance, purchase expenditure or sales tax, which an account number alone does not. Settlement is partly overwritten. CustTrans and VendTrans carry running settled amounts and a closed date, while CustSettlement and VendSettlement keep one row per settlement event, so ask for those tables too.

Every account entry points through its LedgerDimension to a row of DimensionAttributeValueCombination, a stored combination of main account and financial dimension values under an account structure. Its DisplayValue is the delimited account string users see, but the values are also stored per dimension, so cost center and department can be delivered as named columns for every line. Parsing the string is the wrong route, because segment order depends on the account structure and structures get revised. Orders and master records carry a default dimension set with no main account, which posting merges into the combination.

Entities are projections, table copies are raw, and DataAreaId scopes every row

In the cloud service Microsoft runs the production database and customers cannot query it directly. Data comes out in two shapes. A data entity, exported through the data management framework, OData or a bring-your-own-database job, is a denormalized projection. It joins several tables, renames fields, usually shows dimensions as display strings and drops record IDs, and can leave columns out. Customer and vendor names, for instance, are not in CustTable or VendTable at all but in the global address book, and an entity merges them in. A table copy, replicated to the customer's data lake through Azure Synapse Link or read from a restored database copy, is raw: original column names, RecId keys and enums as integers. Azure Synapse Link writes the enum labels to a separate metadata table and keeps rows deleted at the source behind a delete flag.

Both shapes hinge on DataAreaId, the legal-entity key on every company-specific table. Customer account, purchase order, invoice and voucher numbers are unique only within a legal entity, so a join that omits DataAreaId crosses companies without an error. Shared tables such as GeneralJournalEntry and the dimension combinations have no DataAreaId, which is why the bridge table carries the voucher's own. Extraction has a matching trap. An OData call returns the caller's default company unless it asks for cross-company data, and an export job runs in the company it was started from, so a file described as all entities can hold one.

History is uneven. Posted ledger entries and invoice journals such as CustInvoiceJour and VendInvoiceJour stay as posted, and corrections arrive as new vouchers. PurchTable and SalesTable are current state, with status fields overwritten, so ask which earlier versions of an order the extract holds, such as confirmation journals. Field-level logging exists only where the database log was configured. To test a sample, check that account entries sum to zero per general journal entry in accounting currency, that the DataAreaId values match the agreed entity list, that every LedgerDimension resolves, that rows flagged as deleted were filtered out, and that integer enum columns arrive with a label map.

What to check before licensing

  • Have the buyer's counsel and the data owner read the Microsoft online services terms that govern the environment, and any partner or ISV agreements, on bulk export and API use.
  • Get the list of legal entities covered, confirm test, consolidation and elimination companies are flagged, and check the DataAreaId keys in the sample against it.
  • Ask whether each file is a data entity export or a table copy, by which route it was produced, and the entity or table name behind it.
  • Confirm worker, customer and vendor names from the global address book, addresses, bank accounts and tax registration numbers are removed or keyed, including in transaction text.
  • Check DataAreaId was replaced with one consistent key in every company table and on the voucher bridge table.
  • Ask for enum label maps, main accounts, account structures and financial dimension definitions for the period delivered, and confirm every LedgerDimension resolves.
  • On the sample, check account entries sum to zero per general journal entry, and that balances built from VendTrans and CustTrans tie to the ledger lines with the balance posting type.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What does a Dynamics 365 Finance dataset contain?

It contains the ledger and subledger tables of named legal entities in one finance and operations environment. That means general journal entries and account entries, the voucher bridge, journal lines as keyed, customer and vendor transactions with settlements, invoice journals, purchase and sales orders, and the dimension combinations they post to.

Can cost center and department be read for each ledger line?

Yes, without parsing account strings. Each account entry references a stored combination of main account and financial dimension values, and the values can be delivered as one named column per dimension. Which dimensions exist is each company's choice, and account structures change, so ask for the definitions and structures as they stood in the period delivered.

What is the difference between a data entity export and a table copy?

A data entity is a flattened, renamed view and a table copy is the stored row. Entities read more easily, but they can merge or omit columns and usually drop record IDs. Table copies keep the stored columns and keys, hold enums as integers and need label maps and joins. Ask which shape each file is and which entity or table it came from.

How are legal entities kept apart?

By the DataAreaId column on every company-specific table. One environment often holds many legal entities, including test and elimination companies, and the same order or voucher number can exist in several. Ask for DataAreaId to be replaced with one consistent key in every table, and for a list of the entities delivered.

Is this the same data as Dynamics AX or Business Central?

It continues Dynamics AX and is a different product from Business Central. Table names such as CustTrans and PurchTable carry over from AX, and the split ledger tables date from AX 2012, so a company that upgraded with its data can hold long history in one shape. Business Central descends from Dynamics NAV and has a different data model.

Is SourceX affiliated with Microsoft?

Dynamics 365 Finance 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 Finance, 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.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell 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.

See if your company qualifies