Skip to content

cost-documentation-check

Slugcost-documentation-check
Version0.1.0
Statusexperimental
Last fully evaluatednone
Eval stateno validated eval cases
Categoryreview
Domainresearch-administration
Manifestationsprompt
Created2026-05-21
Updated2026-05-21

Tags: cost-allowability post-award documentation review federal-grants research-administration

Audience: post-award-staff, sponsored-programs-staff, grant-accountants

Manifestations in repo: prompt.md

Checks whether a single expense is adequately documented under 2 CFR 200.403(g) to support charging it to the award. It is one of the single-requirement checks in the federal cost-allowability analysis workflow and emits a structured finding consumed by the final determination step.

Output contract: schema.json Contract scope: repo-local

Inputs

A normalized expense record, extracted award terms, and a regulated-activity classification from the Stage 1 components of the cost-allowability-analysis workflow. Any may be partial.

Outputs

A single structured finding — see schema.json — carrying a status of pass, issue, not_allowable, needs_info, or not_applicable, with rationale, cited evidence, follow-up actions, and a confidence level.

The check

Compares the records on hand against what the expense type needs to be substantiated — receipt or invoice and proof of payment, approvals, justifications, and type-specific records such as a travel itinerary or an equipment quote. Documentation gaps usually map to issue or needs_info; not_allowable is reserved for the case where the absence of documentation itself bars the charge.

Contract scope

Repo-local. The finding object is the shared single-requirement finding contract used across the cost-allowability check components; check_id, check_name, and regulation_anchor are fixed for this check. It is not a shared AI4RA-UDM schema.

Triad integration

  • Evaluation datasets: none yet — repo-local synthetic coverage planned.
  • Harness notes: canonical manifestation is prompt.md; validation surface is schema.json. Invoked as a Step 2 task of the cost-allowability-analysis workflow.
  • Shared UDM relationship: aligned to sponsored-project cost-allowability semantics; does not define or depend on a shared UDM schema.

Manifestations

  • prompt.md — canonical, LLM-agnostic prompt

Evals

See evals/.

Provenance

Created 2026-05-21 as a single-requirement check in the federal cost-allowability analysis component set, anchored to 2 CFR 200.403(g).

Contract scope

  • Output format: json_object

  • Contract scope: repo_local_single_requirement_finding_contract

  • Validation surfaces: json_schema

  • Schema entrypoints: #

  • Notes: Repo-local single-requirement allowability finding for the cost documentation check (2 CFR 200.403(g)). Emits the shared cost-allowability finding object.

  • Machine-readable catalog entry: component_catalog.json

Triad integration

  • UDM alignment: repo_local_single_requirement_finding_contract — Aligns to sponsored-project cost-allowability semantics; the finding object is a prompt-library contract shared across the cost-allowability check components, not a shared UDM schema.

  • Evaluation datasets: no shared evaluation-data-sets catalog entry recorded yet; current references are repo-local eval artifacts.

  • Harness notes: Validate JSON output against schema.json. Canonical invocation surface is prompt.md. Invoked as a Step 2 task of the workflows/cost-allowability-analysis Vandalizer workflow.

Prompt body

Source: prompt.md.

Show prompt

Cost Documentation Check

Purpose: Decide whether a single expense is adequately documented to support charging it to the award.

Expected input: A normalized expense record, extracted award terms, and a regulated-activity classification.

Expected output: One structured finding conforming to schema.json.

This component is a single-requirement check in the federal cost-allowability analysis workflow. It evaluates documentation sufficiency only.

Prompt

You are a federal cost-allowability reviewer performing one specific check: Cost Documentation under 2 CFR 200.403(g). Review one expense and return a single structured finding for this check only — do not evaluate any other allowability requirement.

Return only a single JSON object conforming to the finding contract. No prose, Markdown, comments, or code fences.

Input

You receive a normalized expense record, extracted award terms, and a regulated-activity classification, produced by the upstream steps of the cost-allowability analysis workflow. Any of these may be partial or missing.

What this check evaluates

Whether the cost is adequately documented under 2 CFR 200.403(g). Compare the records present in the expense's documentation_on_hand against what this expense type needs to be substantiated:

  • an itemized receipt or vendor invoice, and evidence of payment, for most purchases;

  • an approval record where institutional or sponsor policy requires one;

  • a written justification where the business purpose is not self-evident; and

  • the type-specific record the expense needs — for example a travel itinerary and agenda for travel, a quote and a receiving record for equipment, a participant roster for participant support costs, or a subaward invoice for subaward costs.

This check evaluates documentation sufficiency only. It does not decide reasonableness, allocability, or conformance to award terms.

Decision rule

Set status to exactly one of:

  • pass — the documentation needed to substantiate this expense is present.

  • issue — the core records are present but one or more supporting documents (an approval, a justification, or a type-specific record) are missing.

  • not_allowable — the evidence shows the expense has no substantiating documentation and the award or applicable policy bars charging undocumented costs of this type.

  • needs_info — the documentation status was not supplied.

  • not_applicable — use only when the input is explicitly not a chargeable cost.

Use the most conservative status the evidence supports. Documentation gaps usually map to issue or needs_info; reserve not_allowable for the case where the absence of documentation itself bars the charge. Never record pass when the evidence needed to satisfy the requirement is absent — that is needs_info.

Evidence and non-fabrication

  • Ground every finding in the supplied evidence. Populate evidence with short source_label / detail pairs (e.g., expense:documentation_on_hand, expense:description, expense:expense_category_hint).

  • Do not invent receipts, approvals, or justifications. A missing rule input is needs_info, never pass.

Output

Emit the finding object:

  • check_id — "cost-documentation"

  • check_name — "Cost Documentation"

  • regulation_anchor — "2 CFR 200.403(g)"

  • expense_id — the expense reference from the input, or null

  • status — one of the values above

  • summary — one sentence stating the outcome

  • rationale — the evidence-grounded reasoning

  • evidence — array of {source_label, detail}

  • follow_up_actions — concrete actions needed before the cost is approved or charged; empty array when none

  • confidence — "high", "medium", or "low", reflecting evidence completeness

Produce the finding now.

Output schema

Source: schema.json.

Show schema.json
{

  "$schema": "https://json-schema.org/draft/2020-12/schema",

  "$id": "https://github.com/AI4RA/prompt-library/components/cost-documentation-check/schema.json",

  "title": "Cost Documentation Check \u2014 Finding",

  "description": "Structured single-requirement allowability finding for the cost documentation check (2 CFR 200.403(g)). Part of the federal cost-allowability analysis workflow.",

  "version": "0.1.0",

  "type": "object",

  "additionalProperties": false,

  "required": [

    "check_id",

    "check_name",

    "regulation_anchor",

    "status",

    "summary",

    "rationale",

    "evidence",

    "follow_up_actions",

    "confidence"

  ],

  "properties": {

    "check_id": {

      "const": "cost-documentation",

      "description": "Stable identifier for this check."

    },

    "check_name": {

      "const": "Cost Documentation",

      "description": "Human-readable check name."

    },

    "regulation_anchor": {

      "const": "2 CFR 200.403(g)",

      "description": "Primary regulatory anchor for this check."

    },

    "expense_id": {

      "type": [

        "string",

        "null"

      ],

      "description": "Expense reference carried from the input."

    },

    "status": {

      "type": "string",

      "enum": [

        "pass",

        "issue",

        "not_allowable",

        "needs_info",

        "not_applicable"

      ],

      "description": "Outcome of this check."

    },

    "summary": {

      "type": "string",

      "minLength": 1,

      "description": "One-sentence statement of the outcome."

    },

    "rationale": {

      "type": "string",

      "minLength": 1,

      "description": "Evidence-grounded reasoning behind the status."

    },

    "evidence": {

      "type": "array",

      "description": "Evidence relied on. May be empty only when status is not_applicable.",

      "items": {

        "type": "object",

        "additionalProperties": false,

        "required": [

          "source_label",

          "detail"

        ],

        "properties": {

          "source_label": {

            "type": "string",

            "minLength": 1,

            "description": "Short source label, e.g. expense:documentation_on_hand."

          },

          "detail": {

            "type": "string",

            "minLength": 1,

            "description": "Concise summary of what the source shows."

          }

        }

      }

    },

    "follow_up_actions": {

      "type": "array",

      "description": "Concrete actions needed before the cost is approved or charged. Empty array when none.",

      "items": {

        "type": "string",

        "minLength": 1

      }

    },

    "confidence": {

      "type": "string",

      "enum": [

        "high",

        "medium",

        "low"

      ],

      "description": "Reviewer confidence in this finding."

    }

  }

}

Changelog

Source: CHANGELOG.md.

All notable changes to this component. Versions follow semver: MAJOR for output-contract breaks, MINOR for backward-compatible additions, PATCH for wording or clarity.

[0.1.0] — 2026-05-21

  • Initial experimental release.
  • Single-requirement allowability check anchored to 2 CFR 200.403(g).
  • Emits the shared cost-allowability finding object (status, summary, rationale, evidence, follow_up_actions, confidence) with check_id "cost-documentation".
  • No eval cases yet — status experimental until at least one golden finding is added under evals/cases/.