Audit cash flow timing consistency

Audit whether economic-event and cash-settlement timing obey governed lag rules across coherent scenarios, quantify the resulting NPV distortion, reconstruct scenario liquidity paths, and separate timing exceptions from liquidity-tail exposure without treating exceptions as wrongdoing.

What it's for

Finds when a business case is economically correct in amount but misleading in timing—before NPV, runway, or liquidity decisions inherit shifted cash dates.

What you give it

Inputs split into evidence read from your connected systems, calibration your team owns, and numerical controls that affect precision but never the result's meaning.

Field Type Role Required
cash_flows array of objects (8 fields) ≥ 1 item Evidence Yes
discount_rate_per_period number ≥ -0.99, ≤ 10 Your calibration Optional
max_detail_rows integer ≥ 1, ≤ 500 Numerical control Optional
maximum_exception_probability number ≥ 0, ≤ 1 Your calibration Optional
maximum_liquidity_shortfall_probability number ≥ 0, ≤ 1 Your calibration Optional
maximum_npv_timing_distortion number ≥ 0 Your calibration Optional
minimum_liquidity_buffer number ≥ 0 Your calibration Optional
scenarios array of objects (2 fields) Evidence Yes
starting_liquidity number ≥ 0 Your calibration Optional
tail_probability number > 0, ≤ 0.5 Your calibration Optional

Each cash_flows record

Field Type Required
amount_scenarios array of number (≥ 2 items) Yes
cash_period_scenarios array of integer (≥ 2 items) Yes
category string (non-empty) Yes
economic_period_scenarios array of integer (≥ 2 items) Yes
id string (non-empty) Yes
maximum_allowed_lag_periods integer (≥ -120, ≤ 120) Yes
minimum_allowed_lag_periods integer (≥ -120, ≤ 120) Yes
project_id string (non-empty) Yes
Example input
{
  "cash_flows": [
    {
      "amount_scenarios": [
        -50,
        -50
      ],
      "cash_period_scenarios": [
        0,
        0
      ],
      "category": "cost",
      "economic_period_scenarios": [
        0,
        0
      ],
      "id": "investment",
      "maximum_allowed_lag_periods": 0,
      "minimum_allowed_lag_periods": 0,
      "project_id": "platform"
    },
    {
      "amount_scenarios": [
        100,
        100
      ],
      "cash_period_scenarios": [
        1,
        3
      ],
      "category": "benefit",
      "economic_period_scenarios": [
        1,
        1
      ],
      "id": "benefit",
      "maximum_allowed_lag_periods": 1,
      "minimum_allowed_lag_periods": 0,
      "project_id": "platform"
    }
  ],
  "discount_rate_per_period": 0.1,
  "maximum_npv_timing_distortion": 5,
  "scenarios": [

Truncated for display — the full payload is 55 lines.

What you get back

This is the actual output of running the example above — computed by the same function the platform calls, not an illustration.

Example output
{
  "cash_flow_diagnostics": [
    {
      "breaches_timing_rule": true,
      "cash_flow_id": "benefit",
      "category": "benefit",
      "expected_absolute_npv_timing_distortion": 7.8888,
      "expected_lag_periods": 1,
      "maximum_observed_lag_periods": 2,
      "minimum_observed_lag_periods": 0,
      "probability_lag_outside_rule": 0.5,
      "project_id": "platform"
    },
    {
      "breaches_timing_rule": false,
      "cash_flow_id": "investment",
      "category": "cost",
      "expected_absolute_npv_timing_distortion": 0,
      "expected_lag_periods": 0,
      "maximum_observed_lag_periods": 0,
      "minimum_observed_lag_periods": 0,
      "probability_lag_outside_rule": 0,
      "project_id": "platform"
    }
  ],
  "configuration": {
    "discount_rate_per_period": 0.1,
    "minimum_liquidity_buffer": 0,
    "tail_probability": 0.1
  },
  "decision": "material_cash_flow_timing_inconsistency",
  "failed_gates": [
    "timing_rule",
    "npv_timing_distortion"
  ],
  "guardrails": [
    "Economic-event, recognition, invoice, commitment, and cash-settlement dates are different facts; this audit compares only the submitted economic and cash timing rule and does not replace accounting policy.",
    "A timing exception may be a valid contract term, prepayment, deposit, refund, tax event, collection delay, or data error; it is not fraud, manipulation, vendor blame, or employee-performance evidence.",
    "Scenario amounts and dates must be frozen together before analysis; shifting only adverse cash dates or reconstructing historic forecasts after settlement creates hindsight and selection bias.",
    "Liquidity exposure is conditional on the submitted complete cash-flow perimeter and available starting liquidity; treasury restrictions, facilities, covenants, currency, tax, and working capital require explicit inclusion."
  ],
  "method": "scenario_cash_flow_timing_consistency_audit_v1",
  "project_diagnostics": [
    {

Truncated for display — the full payload is 90 lines.

How it works

Statistical audit & measurement — Check whether a number is fit to decide on: coverage, timing, reconciliation, and the gaps a dashboard hides.

  1. 1 Freeze signed scenario cash amounts together with their economic-event period, cash-settlement period, project/category identity, and category-specific permitted lag interval.
  2. 2 Calculate flow-level lag exception probability and economic-versus-cash NPV distortion, aggregate project diagnostics, and reconstruct the complete scenario cash ledger into cumulative liquidity paths.
  3. 3 Apply governed exception, absolute NPV-distortion, and liquidity-shortfall gates; report tail deficit and retain bounded flow, project, and scenario evidence for accounting and treasury review.

Before you trust it

Every tool in the catalog ships with the conditions under which its answer is meaningful — and the conditions under which it should abstain instead of guessing.

Assumptions & guardrails

  • Metric definitions, weights, aggregate grain, sampling, missingness, dependence, and comparison windows correspond to the management claim being audited.
  • The cash-flow perimeter is complete; signed amounts and dates are scenario-aligned and point-in-time; economic-event semantics and permitted lags follow approved accounting/contract policy; liquidity is unrestricted on the submitted boundary.
  • Association, instability, or measurement quality is not a causal effect and must not be converted directly into an individual employment decision.
  • An exception may be a valid prepayment, deposit, refund, tax, collection, or contract term and is never by itself fraud, manipulation, vendor blame, or employee-performance evidence.

Minimum evidence

  • cash_flows: at least 1 rows/items
  • scenarios: required and organization-defined

How to validate it

Validate on future periods or held-out aggregate units, compare with a simple baseline, and require stability across plausible metric definitions and decision thresholds.

Calibrating it to your org

Same for everyone

The mathematical kernel, validation rules, method version, and JSON output semantics are organization-independent; no tenant-trained coefficients or company benchmark is embedded in the function.

Specific to you

  • finance-reconciled point-in-time joint cash-flow scenario ledger joining commitments, invoices, collections, payroll, tax, working capital and benefit events without replacing economic timing with later settlement
  • cash/economic event definitions, complete perimeter, category lag policy, forecast vintage, scenario law, horizon/cadence/currency, discounting, restricted liquidity/facilities, buffer, exception/distortion/shortfall/tail gates, and controller/treasury ownership

Calibration workflow

  1. 1 Define the management decision, target outcome, aggregate unit, privacy boundary, cadence, and prediction/intervention horizon for this organization.
  2. 2 Build a tenant-scoped historical cohort using only information available before each prediction or decision; preserve zero periods, censoring, assignment probabilities, and unresolved outcomes when the method requires them.
  3. 3 Estimate statistical parameters on training history, but obtain costs, utilities, risk tolerance, practical-effect thresholds, capacity, and policy constraints from accountable decision owners.
  4. 4 Validate on later time windows or held-out aggregate units at the deployment grain, against a simple baseline and the function-specific validation strategy.
  5. 5 Deploy only if the returned decision clears evidence, overlap, calibration, robustness, and guardrail checks; warning, unsupported, schema-gap, and fallback decisions are abstentions.
  6. 6 Monitor realized outcomes, data drift, coverage, and decision regret; recalibrate at a governed cadence or after a detected regime/definition change, never merely because a stakeholder dislikes the result.

Call it from your AI

You don't wire up 388 tools in your MCP client. The GitRevio MCP server exposes 18 tools, three of which let an agent search the catalog, read a tool's schema, and run it — so the assistant finds this one on its own.

gitrevio_capabilities_search
  { "q": "audit whether economicevent and cashsettlement timing" }
  → finds "audit_cash_flow_timing_consistency"

gitrevio_capability_describe
  { "capability_id": "audit_cash_flow_timing_consistency" }
  → returns the input schema and agent guidance shown on this page

gitrevio_capability_run
  { "capability_id": "audit_cash_flow_timing_consistency", "arguments": { ... } }
  → returns the result shown above

Works in Claude Desktop, Claude Code, Cursor, Cline, Continue.dev, Goose and Aider. See the MCP server.

Related tools

Optimize cloud reserved capacity

Choose an integer portfolio of dated cloud reservations across coherent demand, realization, spot, and on-demand scenarios; price unused commitment and unserved demand explicitly, enforce coverage and capital gates, optimize expected-plus-CVaR cost, and disclose exact versus deterministic supported-set search.

Constrained optimization

Optimize enterprise technology capital plan

Optimize a two-stage enterprise technology portfolio that commits initial capital now and allocates follow-on capital only after observable signals; enforce non-anticipativity, dependencies, exclusions, signal-specific budget/capacity and eligibility, compare with the best one-shot portfolio, quantify option value and CVaR loss, and disclose solver certainty.

Constrained optimization

Audit benefit double counting

Reconcile business-case benefit claims to unique economic source pools and allocation fractions, exposing overallocated sources and claim-level mismatches before portfolio value is aggregated.

Constrained optimization

Audit cost allocation consistency

Audit whether shared engineering, platform, cloud, vendor, or operating cost pools reconcile to source totals and follow their declared pro-rata allocation bases at every target.

Statistical audit & measurement

Audit cost capitalization sensitivity

Audit whether permitted software-cost capitalization choices change reported project ROI and priority even though scenario cash NPV, downside, and economic rank are unchanged.

Statistical audit & measurement

Audit delivery to cash chain integrity

Reconcile each governed milestone from delivery-ready evidence through customer acceptance, billing eligibility, net invoicing and collected cash; enforce temporal ordering, eligible-unbilled and outstanding-receivable identities, evidence separation and bounded diagnostics without treating Git activity as an accounting fact.

Statistical audit & measurement

See every tool in Finance & unit economics →

Ready to See Your Engineering work clearly?

Request a free demo