Scope and Objective
An AI agent can summarize, compare, and calculate financial information quickly, but speed does not compensate for ambiguous or unreliable inputs. Preparing financial data means establishing what each value represents, where it came from, which period it covers, and whether it can be used for the intended decision. The objective is not to make every dataset perfect. The objective is to make the dataset sufficiently controlled that an agent can operate within known boundaries and expose uncertainty instead of silently inventing an interpretation.
This lesson focuses on source identification, financial data structure, quality risks, validation, reconciliation, and approval controls. The working assumption is that an agent may produce management commentary, variance analysis, ratio calculations, or a draft report from prepared data. A useful control standard is that a reviewer should be able to trace an important output back to a source record and reproduce the calculation using the same period, currency, units, and definitions.
A practical readiness test has four questions. Is the data authoritative for the requested analysis? Is its meaning explicit? Do the values pass numerical and accounting checks? Can the workflow show which version was used and what exceptions remain? If the answer to any question is no, the agent should receive a restricted dataset or return a clearly labeled limitation rather than a confident conclusion.
Financial Data Sources and Structure
Common sources include general-ledger extracts, trial balances, accounts-receivable and accounts-payable subledgers, budgets, forecasts, bank records, regulatory filings, investor-relations materials, and operational systems such as billing or payroll. These sources serve different purposes. A general ledger may support account-level reconciliation, while a regulatory filing may support published totals and formal disclosures. A dashboard can be useful for monitoring, but it may not preserve the detailed fields or calculation logic needed for auditability.
For agent use, each record should carry more than an amount. At minimum, the data model should identify the reporting entity, account or metric, period start and end, value, currency, unit scale, accounting basis, source system, extraction timestamp, and version. For example, revenue of 12.0 is incomplete information. Revenue of 12.0 USD million for the quarter ending 30 June 2025, based on the approved consolidated income statement, is materially more usable.
The structure also needs stable identifiers. Account names can change from Trade receivables to Accounts receivable, and two systems may use the same label for different concepts. A controlled account ID, metric definition, or mapping table reduces the risk that an agent compares unlike items. Definitions should distinguish, for example, gross revenue from net revenue, reported EBITDA from adjusted EBITDA, and cash balance from unrestricted cash.

Key Data-Quality Risks
The first risk is dimensional mismatch. Two values may use different currencies, scales, periods, entities, or accounting bases. Comparing USD thousands with EUR millions can create a factor error of more than 1,000 before exchange-rate effects are considered. Comparing a consolidated group with a single subsidiary can also produce a plausible but invalid variance. Every comparison should therefore confirm the dimensions before calculating the difference or percentage change.
The second risk is incomplete or ambiguous values. A blank cell may mean zero, not applicable, unavailable, withheld, or not yet reported. These states have different analytical consequences. If prior-year cost of sales is unavailable, replacing it with zero would produce an infinite or undefined growth rate. If an expense is genuinely zero, the correct result may instead be a zero amount with a documented reason. The agent must not be asked to infer this distinction from formatting alone.
The third risk is duplication and inconsistent granularity. A dataset may contain both monthly transactions and a quarterly total, causing double counting if both are aggregated. It may also contain repeated rows created by a revised extract. Duplicate detection should consider the expected key, such as entity, account, period, document ID, and version. A repeated amount is not automatically a duplicate, but an identical key appearing twice requires investigation.
The fourth risk is reconciliation failure. If detailed accounts sum to 98.7 million while the reported total is 100.0 million, the unexplained difference is 1.3 million, or 1.3 percent of the reported total. That gap might result from omitted accounts, eliminations, rounding, stale data, or an incorrect mapping. It should be recorded as an exception and assessed against a defined tolerance. It should never be silently absorbed by changing the detailed data.
Controls Before Agent Use
A controlled preparation process starts with source approval. For each dataset, record the owner, authority level, extraction date, reporting period, scope, and intended use. Assign a version or batch identifier so that later outputs can identify exactly which data was used. When two sources conflict, define precedence before analysis. For example, an approved close package may take precedence over an operational dashboard for final monthly reporting, while the dashboard may be more current for daily activity.
Next, apply schema and domain checks. Confirm that required fields exist, dates are valid, currencies use recognized codes, amounts are numeric, and unit scales are explicit. Check that periods follow the expected calendar or fiscal convention. Validate that account IDs map to approved definitions and that signs follow the documented convention. If expenses are stored as negative values in one source and positive values in another, the transformation must be explicit and tested.
Then perform quantitative checks. Recalculate totals from detail, compare them with control totals, inspect period-over-period movements, and test relationships that should hold. If assets are 420 million and liabilities plus equity are 418.5 million, the balance-sheet difference is 1.5 million. The dataset should be blocked or qualified until the difference is explained, unless a formally approved tolerance applies. Tolerances should be expressed in both absolute and relative terms when appropriate, such as 0.1 million and 0.05 percent of total assets.
Finally, classify exceptions and define agent behavior. A critical failure, such as an unknown currency or missing reporting period, should block use. A moderate issue, such as a small rounding difference, may permit use with a visible qualification. A low-risk formatting issue may be corrected and logged. The agent should receive validation status and exception context so it can state that a result is based on qualified data instead of presenting it as fully verified.
Worked Example: Preparing a Variance Dataset
Assume a finance team wants an agent to explain the change in quarterly operating expense. The source extract contains current expense of USD 24.6 million and prior expense of USD 22.0 million. Both values cover the same consolidated entity and quarter length, and the source labels expenses as positive amounts. The absolute variance is 24.6 minus 22.0, equal to USD 2.6 million. The percentage variance is 2.6 divided by 22.0, multiplied by 100, equal to 11.82 percent, which can be reported as approximately 11.8 percent.
Before giving the values to the agent, the preparer checks whether the current and prior periods use the same accounting basis, whether both include the same departments, and whether the unit label is USD millions. The preparer then compares the expense total with its component categories. Suppose salaries are 14.0 million, occupancy is 4.1 million, technology is 3.2 million, and other operating expense is 3.3 million. The component sum is 24.6 million, so the current-period detail reconciles exactly to the stated total.
The same check is performed for the prior period. If the prior components sum to 21.7 million rather than 22.0 million, the agent should not receive an unqualified instruction to explain the full 2.6 million increase. The prepared record should identify a 0.3 million prior-period reconciliation gap, its percentage of the prior total, the investigation status, and any approved treatment. The agent may be allowed to describe the validated components while explicitly excluding the unresolved amount from causal commentary.
A useful output-ready record therefore includes the metric definition, current and prior values, units, variance formula, source references, validation results, and exception status. It also includes permitted interpretation boundaries. For example, the agent may calculate the variance and summarize category movements, but it may not claim that headcount caused the increase unless headcount data and an approved causal definition are available.

Operating Rules and Summary
Financial data is ready for an agent when its dimensions, definitions, lineage, numerical integrity, and exceptions are explicit. The minimum operational record should identify who supplied the data, when it was extracted, which version was approved, what transformations occurred, which checks passed, and which limitations remain. These controls make the agent's calculations reviewable and reduce the chance that a polished narrative hides a basic data error.
The most important practical rule is to preserve uncertainty as data. Do not convert unknown into zero, do not remove a currency or unit label, and do not overwrite a reconciliation difference merely to make a total balance. Use blocking rules for critical defects and qualification rules for tolerable defects. The agent should be instructed to cite the relevant source, state the period and units, distinguish calculated facts from interpretations, and escalate unresolved exceptions.
Before each workflow run, verify source freshness, scope, completeness, dimensional consistency, duplicate status, reconciliation results, and approval status. After the run, sample important outputs back to source records and recalculate material figures independently. This preparation discipline turns financial data from an ambiguous collection of files into a controlled analytical input that an agent can use responsibly.
Lesson Checkpoint
Review what you learned and get feedback on your work.