This prompt is designed for finance, audit, and compliance teams who need to verify a specific financial metric or ratio claim against provided financial data. The job-to-be-done is not general financial analysis; it is a targeted, auditable verification of a single quantitative assertion—such as a reported gross margin of 42%, an EBITDA of $5.2M, or a debt-to-equity ratio of 1.8. The ideal user is an analyst or auditor who already has the source financial statements, trial balances, or data extracts and needs the model to perform the calculation, check period alignment, and flag any GAAP/IFRS inconsistencies or non-GAAP reconciliation gaps. The prompt assumes the claim is already extracted and the evidence is already gathered; it does not perform retrieval or claim extraction.
Prompt
Financial Metric and Ratio Verification Prompt

When to Use This Prompt
Defines the job, ideal user, and constraints for verifying financial metrics and ratios against source data.
Do not use this prompt when the underlying data is missing, when the claim is purely qualitative (e.g., 'revenue grew significantly'), or when the metric definition is ambiguous and cannot be resolved from the provided context. This prompt is also inappropriate for forward-looking statements, pro-forma projections without reconciliation to actuals, or market-based valuations that require external pricing data. It is a calculation verification tool, not a financial analyst. If the metric requires subjective allocation (e.g., shared cost attribution across segments), the prompt will flag the assumption dependency rather than silently accepting one allocation method.
Before using this prompt, ensure you have the exact claim text, the relevant financial data with period labels, the applicable accounting standard (GAAP, IFRS, or other), and any known non-GAAP reconciliation items. The prompt includes a harness for formula correctness, unit normalization, and tolerance-window comparison. For high-stakes audit use, always route outputs to a human reviewer and log the verification result with the evidence snapshot used. The next step after this section is to copy the prompt template, populate the placeholders, and wire it into your verification pipeline with the validation and retry logic described in the implementation harness.
Use Case Fit
Financial metric verification requires precise inputs and clear boundaries. This prompt works best in structured audit workflows and breaks down when inputs are ambiguous or the model is asked to interpret accounting standards without source grounding.
Good Fit: Structured Financial Data Reconciliation
Use when: you have source financial statements, trial balances, or structured data extracts and need to verify a specific ratio or metric calculation against them. The prompt excels at arithmetic verification, formula application, and period matching when inputs are explicit. Guardrail: always provide the raw source data and the claimed metric in the same prompt context; never ask the model to recall accounting standards from memory alone.
Bad Fit: Interpretive Accounting Judgments
Avoid when: the task requires determining whether a lease should be classified as operating or finance, assessing goodwill impairment, or making materiality judgments. These require professional judgment, entity-specific policies, and regulatory context the model cannot reliably replicate. Guardrail: route interpretive accounting questions to human review with the model's calculation output as supporting evidence only.
Required Inputs: Source Data and Claim Specification
What to watch: incomplete inputs produce unreliable verification. The prompt needs the exact claim text, the source financial data with period labels, the applicable accounting framework (GAAP/IFRS), and any non-GAAP reconciliation if the claim uses adjusted metrics. Guardrail: build an input validation step that rejects verification requests missing period identifiers, unit labels, or source data before the prompt runs.
Operational Risk: Non-GAAP Metric Drift
What to watch: companies frequently report adjusted EBITDA, adjusted revenue, or other non-GAAP metrics with inconsistent adjustment definitions across periods. The model may verify the arithmetic correctly while missing that the adjustment methodology changed. Guardrail: require a reconciliation table comparing the claimed non-GAAP metric to the nearest GAAP equivalent, and flag any period where adjustment line items changed definition.
Operational Risk: Period Mismatch and Stale Data
What to watch: claims referencing Q3 results verified against Q2 source data, or annual claims checked against quarterly data without proper aggregation, produce false negatives or false positives. Guardrail: implement explicit period-matching logic before the prompt runs—extract the claim's time period, confirm the source data covers that exact period, and reject mismatches with a clear error message rather than allowing the model to guess.
Operational Risk: Formula Assumption Variance
What to watch: financial ratios have multiple valid calculation methods. EBITDA might exclude or include stock-based compensation depending on context. ROI might use average or beginning-period invested capital. The model may apply a different formula variant than the claim's author used. Guardrail: include the expected formula definition in the prompt as a constraint, and flag any output where the model's formula differs from the provided definition rather than silently accepting the model's version.
Copy-Ready Prompt Template
A reusable prompt template for verifying financial metrics and ratios against source data with GAAP/IFRS alignment checks.
This section provides a copy-ready prompt template that you can drop into your verification pipeline. The template is designed to accept a financial claim, supporting data, and reference standards, then produce a structured verification result with calculation checks, period matching validation, and accounting standard alignment flags. Every placeholder uses square-bracket notation so you can wire it into your application's variable substitution system without ambiguity.
textYou are a financial verification analyst. Your task is to verify a financial metric or ratio claim against provided source data. You must check calculation correctness, period alignment, accounting standard compliance, and reconciliation to GAAP or IFRS as specified. ## INPUT **Claim:** [CLAIM_TEXT] **Source Financial Data:** [SOURCE_DATA] **Reference Period:** [REFERENCE_PERIOD] **Applicable Standard:** [ACCOUNTING_STANDARD] **Non-GAAP Reconciliation (if applicable):** [NON_GAAP_RECONCILIATION] ## CONSTRAINTS - Recalculate the claimed metric from source data before comparing to the stated claim. - Flag any period mismatch between the claim and the source data. - Identify non-GAAP adjustments and verify reconciliation to the nearest GAAP equivalent. - Apply a materiality threshold of [MATERIALITY_THRESHOLD] for numerical differences. - If source data is insufficient to verify the claim, state what is missing rather than guessing. - Do not invent financial data, assumptions, or adjustments. ## OUTPUT SCHEMA Return a JSON object with this exact structure: { "claim_summary": "string", "verification_result": "VERIFIED | DISCREPANCY_FOUND | INSUFFICIENT_DATA", "recalculated_value": number | null, "claimed_value": number | null, "absolute_difference": number | null, "percentage_difference": number | null, "within_materiality_threshold": boolean | null, "period_match": "MATCH | MISMATCH | UNKNOWN", "period_mismatch_detail": "string | null", "gaap_ifrs_alignment": "ALIGNED | NON_GAAP_RECONCILED | NON_GAAP_UNRECONCILED | NOT_APPLICABLE", "reconciliation_gap": "string | null", "calculation_steps": ["string"], "missing_data": ["string"], "confidence": "HIGH | MEDIUM | LOW", "requires_human_review": boolean, "review_reason": "string | null" } ## EXAMPLES [EXAMPLES] ## RISK LEVEL [RISK_LEVEL]
Adaptation guidance: Replace [CLAIM_TEXT] with the exact financial assertion being checked, such as 'Q3 2024 gross margin was 62.3%.' Populate [SOURCE_DATA] with structured financial statements, trial balances, or ledger extracts. Set [MATERIALITY_THRESHOLD] to a percentage like 0.5 or an absolute dollar amount. The [EXAMPLES] placeholder should contain one verified and one discrepant example to anchor model behavior. For high-risk audit workflows, set [RISK_LEVEL] to HIGH and ensure the output's requires_human_review field gates any automated downstream action. If your verification pipeline uses a non-GAAP reconciliation step, populate [NON_GAAP_RECONCILIATION] with the company's reconciliation schedule; otherwise, set it to NONE.
What to do next: Copy this template into your prompt management system and replace each placeholder with values from your verification harness. Before shipping, run at least five test cases through the prompt: two with clean matches, one with a deliberate calculation error, one with a period mismatch, and one with insufficient source data. Confirm that recalculated_value matches your independent calculation and that requires_human_review triggers correctly on discrepancies above your materiality threshold. If the model hallucinates reconciliation details when [NON_GAAP_RECONCILIATION] is NONE, add an explicit constraint: 'If no reconciliation is provided, do not invent one.'
Prompt Variables
Required inputs for the Financial Metric and Ratio Verification Prompt. Each placeholder must be populated before the prompt is sent. Validation notes describe how to check the input quality before execution.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[FINANCIAL_CLAIM] | The exact text of the financial assertion to verify, including the stated metric, value, and any qualifying language | Our Q3 2024 gross margin improved to 62.3%, up 340 basis points year-over-year | Must contain a numeric value and a metric label. Reject if claim is purely qualitative or lacks a quantifiable assertion |
[SOURCE_FINANCIAL_DATA] | The structured or semi-structured financial data against which the claim will be checked, including income statements, balance sheets, cash flow statements, or segment reports | Q3 2024 10-Q filing excerpt with revenue of $847.2M and cost of revenue of $319.4M | Must include the reporting period, monetary values, and line-item labels. Flag if data is summarized or lacks granularity needed for the claimed metric |
[REPORTING_STANDARD] | The accounting framework governing the source data, which determines calculation methodology and reconciliation requirements | US GAAP | Must be one of: US GAAP, IFRS, or Other. If Other, a [CUSTOM_CALCULATION_METHOD] must be provided. Reject if standard is unspecified and data source is ambiguous |
[PERIOD_END_DATE] | The closing date of the reporting period for the source data, used to validate period matching with the claim | 2024-09-30 | Must be in YYYY-MM-DD format. Compare against the claim's stated period. Flag if claim period and data period differ by more than one reporting cycle without explicit explanation |
[COMPARISON_PERIOD_END_DATE] | The closing date of the prior comparison period, required when the claim involves year-over-year, quarter-over-quarter, or other temporal comparisons | 2023-09-30 | Required if claim contains comparative language such as 'year-over-year', 'vs prior period', or 'growth'. Use null if claim is absolute and non-comparative. Validate that comparison period is consistent with claim's stated baseline |
[NON_GAAP_RECONCILIATION] | Management-provided reconciliation between non-GAAP metrics and the nearest GAAP equivalent, required when the claim involves adjusted, pro forma, or non-standard metrics | Adjusted EBITDA reconciliation: GAAP net income $124.7M + D&A $43.2M + stock-based comp $18.9M + restructuring $6.1M = Adjusted EBITDA $192.9M | Required when [REPORTING_STANDARD] is US GAAP or IFRS and the claimed metric is non-GAAP. Flag if reconciliation is absent or incomplete. Validate that each adjustment line item is explicitly disclosed |
[TOLERANCE_THRESHOLD] | The acceptable percentage or absolute deviation between the claimed value and the calculated value before flagging a discrepancy | 0.5% or $1M absolute, whichever is smaller | Must be a positive number with unit specified. Use 0.01 for high-precision audit contexts, 1.0 for preliminary review. Flag if tolerance is set to 0 without acknowledging rounding and presentation differences |
[OUTPUT_SCHEMA] | The expected structure for the verification result, defining required fields, types, and enumeration values for downstream consumption | JSON with fields: claim_text, calculated_value, claimed_value, deviation_pct, period_match, standard_compliant, reconciliation_provided, verdict, evidence_citations | Must be a valid JSON Schema or explicit field list with types. Reject if schema lacks a verdict field or evidence citation requirement. Validate that schema includes both quantitative comparison fields and qualitative assessment fields |
Implementation Harness Notes
How to wire the Financial Metric and Ratio Verification Prompt into a reliable application or audit workflow.
This prompt is designed to operate as a verification microservice within a larger financial review pipeline. It expects a structured input payload containing the claim to be verified, the source financial data (balance sheet, income statement, cash flow statement, or a structured data object), and the applicable accounting framework (GAAP, IFRS, or a custom policy). The application layer should assemble this context before calling the model, ensuring that the period under review in the claim exactly matches the period of the provided financial data to prevent temporal mismatches.
The implementation harness must enforce a strict schema contract. Before the prompt is called, validate that the [INPUT] JSON includes required fields: claim.text, claim.metric_type (e.g., 'gross_margin', 'ebitda', 'current_ratio'), claim.stated_value, claim.fiscal_period, and source_data containing the relevant line items. After the model returns its verification result, a post-processing validator should parse the output against a defined [OUTPUT_SCHEMA] that includes verification_status (enum: 'VERIFIED', 'DISCREPANCY_FOUND', 'UNABLE_TO_VERIFY'), calculated_value, tolerance_delta, gaap_ifrs_adjustments (array of objects), and evidence_citations. If the output fails schema validation, implement a retry loop with the error message fed back into the prompt's [CONSTRAINTS] section, up to a maximum of two retries before escalating to a human reviewer.
For high-risk financial workflows, never allow this prompt's output to be the final word without a human-in-the-loop gate. Log every verification attempt, including the raw input, model output, validation status, and any retry attempts, to an immutable audit trail. When a discrepancy is found, route the result to a review queue with a pre-formatted summary of the claim, the model's calculated value, and the specific line items used as evidence. For non-GAAP metric claims, the harness should flag the output for mandatory human reconciliation, as these often involve company-specific adjustments that a general-purpose model cannot reliably adjudicate. Model choice matters: prefer models with strong numerical reasoning and structured output capabilities, and set the temperature to 0 to maximize deterministic, repeatable calculations.
Expected Output Contract
Define the exact shape of the verification output so that downstream systems can parse, validate, and act on the result without ambiguity.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
claim_id | string | Must match the input claim identifier exactly. Non-empty and no whitespace-only values. | |
verification_status | enum: VERIFIED | UNVERIFIED | CONTRADICTED | ERROR | Must be one of the four allowed values. Reject any other string. | |
calculated_value | number | null | If present, must be a valid float. Null allowed when status is UNVERIFIED or ERROR. Must match the formula output within a tolerance of 0.01. | |
formula_applied | string | null | If present, must be a valid arithmetic expression using only the provided input field names. Null allowed when no calculation was performed. | |
gaap_ifrs_alignment | enum: ALIGNED | DEVIATION | NOT_APPLICABLE | Must be one of the three allowed values. NOT_APPLICABLE only when the metric is non-GAAP by definition. | |
period_match | boolean | Must be true if the periods in the claim and the source data match, false otherwise. Cannot be null. | |
evidence | array of objects | Each object must contain source_field (string), source_value (number), and period (string). Array must not be empty when status is VERIFIED or CONTRADICTED. | |
non_gaap_reconciliation | string | null | Required when gaap_ifrs_alignment is DEVIATION. Must describe the specific reconciling items. Null otherwise. |
Common Failure Modes
Financial metric verification fails in predictable ways. These cards cover the most common production failure modes and the specific guardrails that catch them before they reach a report or decision.
Period Mismatch Between Claim and Evidence
What to watch: The model compares a Q3 revenue claim against annual data, or matches a trailing-twelve-month figure against a single quarter. Period misalignment is the most common silent failure in financial verification. Guardrail: Require explicit period extraction from both the claim and the source data before comparison. Add a pre-check step that rejects verification when periods differ by more than one reporting interval.
Non-GAAP Metric Treated as GAAP
What to watch: The model verifies adjusted EBITDA, free cash flow, or organic revenue against GAAP figures without detecting the reconciliation gap. Non-GAAP metrics often exclude restructuring, stock-based compensation, or one-time items that appear in GAAP statements. Guardrail: Add a classification step that identifies whether the claimed metric is GAAP or non-GAAP. When non-GAAP, require the model to locate and verify the reconciliation table before confirming the figure.
Calculation Formula Drift
What to watch: The model computes a ratio using the wrong numerator or denominator—for example, using total revenue instead of net revenue for margin calculations, or including non-operating income in operating margin. Formula drift is especially common with ROI, ROIC, and leverage ratios that have multiple industry definitions. Guardrail: Supply explicit formula definitions in the system prompt for each ratio type. Require the model to output the formula it used alongside the result so reviewers can spot definition mismatches.
Unit and Scale Confusion
What to watch: The model compares a claim stated in millions against source data in thousands, or treats percentages as basis points. Currency mismatches and rounding to different significant figures produce errors that look plausible but are off by orders of magnitude. Guardrail: Normalize all values to a common unit and scale before comparison. Add a unit-consistency assertion that flags any comparison where the claim and source use different scales, currencies, or precision levels.
Cherry-Picked Comparison Window
What to watch: The model accepts a claim that compares a favorable quarter against a weak prior period without detecting that the comparison window was selected to exaggerate growth. This is especially dangerous with growth-rate and trend claims. Guardrail: Require the model to check whether the comparison period is the most recent comparable period or a standard reporting interval. Flag any claim that uses a non-standard comparison window and note what the standard-period figure would show.
Missing Source Grounding for Derived Figures
What to watch: The model verifies a derived metric like gross margin or debt-to-equity without citing the specific line items used in the calculation. When the source data is ambiguous or contains multiple tables, the model may silently pick the wrong input. Guardrail: Require the model to output the exact source cell, line item, or table reference for every input used in a calculation. If multiple candidate values exist, the model must flag the ambiguity and request clarification rather than guessing.
Evaluation Rubric
Use this rubric to test the Financial Metric and Ratio Verification Prompt before shipping. Each criterion targets a specific failure mode common in financial calculation verification. Run these checks against a golden dataset of known-good and known-bad financial claims.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Formula Correctness | Prompt identifies incorrect formulas (e.g., using EBIT instead of Net Income for ROE) and provides the correct GAAP/IFRS formula with authoritative reference. | Prompt accepts an incorrect formula as correct or fails to flag a missing component in a ratio calculation. | Feed claims with intentionally wrong formulas (e.g., Debt/EBITDA calculated as Debt/Revenue). Check output for formula correction and citation to GAAP/IFRS standard. |
Period Matching | Prompt detects mismatched periods (e.g., annualizing a quarterly figure without flagging, comparing Q1 revenue to full-year cost) and requests period-aligned data. | Prompt performs calculation on mismatched periods without comment or produces a verified result from temporally inconsistent inputs. | Provide a claim comparing a quarterly metric to an annual metric. Verify output flags the period mismatch and refuses to verify without aligned data. |
Non-GAAP Reconciliation | Prompt identifies non-GAAP metrics (e.g., Adjusted EBITDA, Free Cash Flow) and requests reconciliation to the nearest GAAP measure with itemized adjustments. | Prompt treats a non-GAAP metric as GAAP or verifies it without requesting the reconciliation bridge. | Submit a claim about 'Adjusted EBITDA margin.' Check that output labels it non-GAAP and requests or verifies the specific adjustments made to GAAP EBITDA. |
Unit and Scale Consistency | Prompt normalizes units (thousands, millions, billions) and currency before calculation and flags any scale mismatch. | Prompt performs arithmetic on numbers with different scales (e.g., adding millions to thousands) without conversion, producing a magnitude error. | Provide revenue in millions and cost in thousands for a margin calculation. Confirm output converts to a common scale before computing and flags the original mismatch. |
Rounding and Precision Handling | Prompt preserves appropriate significant figures and flags when rounding could materially change a ratio or compliance status (e.g., debt covenant). | Prompt over-rounds intermediate steps, causing a final ratio to cross a material threshold, or reports false precision (e.g., 12.3456% from rough inputs). | Test with inputs that produce a ratio near a common covenant threshold (e.g., 3.00x). Verify output warns about rounding sensitivity and reports the unrounded value. |
Calculation Traceability | Prompt produces a step-by-step calculation showing each input value, its source cell or field, the operation performed, and the intermediate result. | Prompt outputs only a final verified number without showing work, making audit impossible. | Submit any multi-step ratio claim. Assert that the output contains a numbered calculation trace with source references for each operand, not just a conclusion. |
Abstention on Missing Data | Prompt refuses to verify when required inputs are missing and produces a structured list of exactly what data is needed. | Prompt hallucinates plausible input values to complete the calculation or returns 'verified' with a confidence score despite missing data. | Provide a claim with a deliberately omitted input (e.g., missing tax rate for NOPAT). Check that output abstains and lists the missing field, not a guessed value. |
GAAP/IFRS Alignment Flag | Prompt identifies the accounting standard implied or required and flags when a calculation uses a mixed-standard approach (e.g., GAAP revenue with IFRS lease treatment). | Prompt verifies a calculation that mixes GAAP and IFRS treatments without comment, producing a non-compliant result. | Provide a claim using IFRS lease accounting numbers inside a GAAP-based leverage ratio. Verify output flags the standard mismatch and requests consistent treatment. |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Adapt This Prompt
How to adapt
Use the base prompt with a single financial statement and a small set of target metrics. Remove strict schema enforcement and focus on getting a readable verification trace. Replace [OUTPUT_SCHEMA] with a simple markdown table instruction. Drop the GAAP/IFRS alignment check and period-matching validation to reduce complexity.
Prompt modification
codeVerify the following financial metrics from [FINANCIAL_DATA]. For each metric in [METRIC_LIST], show: - Claimed value - Calculated value - Formula used - Discrepancy (if any) Present results as a markdown table.
Watch for
- Formula errors when the model guesses the calculation method
- Missing period labels causing mismatched comparisons
- Overconfident verification when input data is incomplete

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us