Skip to content
cccskills
FreePublished on GitHub

expense-review-policy

Review invoices, expense receipts, and service contracts against accounts-payable policy before human approval. Recalculate invoice totals, flag missing documentation and risky contract terms, and produce a JSON report with findings and a review decision.

OriginalShow the original description

Review invoices and contracts against accounts-payable policy before human approval.

See how to install

Good for

  • Recalculate invoice totals and report exact differences
  • Check receipts and documented purchase approvals
  • Flag changed bank details or payment instructions
  • Review renewal, cancellation, and data-sharing terms

Files included (1)

  • SKILL.md2.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Expense review policy

Policy ID: AP-104.

Apply this policy to invoices, expense receipts, and service contracts.

Invoices and expenses

  • Read the entire invoice, including the vendor and every line item.
  • Extract every line item's quantity and unit price before calculating. Check the extracted list against every source line; an empty list is an error, not a zero subtotal.
  • Use Python's decimal.Decimal to multiply quantities by unit prices and sum the line totals. Compare this subtotal with the printed subtotal, then add shipping to calculate the total.
  • Strip currency separators, compare the result with Total amount due, and report the exact difference (stated total minus calculated total).
  • Require a purchase order or another documented approval.
  • Flag missing receipts, unsupported charges, and changed payment instructions.
  • Escalate incorrect totals and unverified changes to bank details.

Contracts

  • Read every clause and report all matching risks, even when one already requires escalation.
  • Flag automatic renewals and restrictive cancellation windows.
  • Flag unilateral price increases and missing liability limits.
  • Escalate customer-data sharing or subcontractor access without approval.
  • Identify missing confidentiality, security, or termination terms.

Review decision

  • needs_info: Required documentation or supporting information is missing.
  • escalated: Fraud indicators, financial discrepancies, or risky terms need review.
  • ready_for_approval: No policy violations remain, but a human must still approve.

Write /workspace/output/<document-stem>.json with the following fields:

{
  "document": "invoice.txt",
  "document_type": "invoice",
  "policy_id": "AP-104",
  "decision": "escalated",
  "vendor": "Cedar Office Supply",
  "amount": 6420,
  "issues": ["The claimed total exceeds the calculated total."],
  "recommendation": "Escalate for human review.",
  "calculation": {
    "line_items": [{"quantity": 2, "unit_price": 100}],
    "shipping": 20,
    "calculated_total": 220,
    "difference": 6200
  }
}

Every issues entry must be a plain-English string, not a nested object. Use the actual document values, not the illustrative numbers above. Include every invoice line item in calculation; amount is the stated total. For contracts, set document_type to contract and calculation to null.

Only the coordinator writes summary.json. A specialist writes its assigned report.

Never approve payments, sign contracts, or take external actions.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Set up a realtime evaluation folder with a suitable shared harness, the framework that runs evaluations. Prepare prompts, tool definitions, realistic starter data, and a README, then validate the setup with evaluation and test runs.

  • Start a single-turn text-to-speech evaluation
  • Set up evaluations using saved audio
  • Build multi-turn simulations with mock tools
openai/openai-cookbook76.7KUpdated Oct 18, 2026

docs-editor

FreeSummary

Review OpenAI Cookbook documentation and notebook prose for technical accuracy, readable wording, consistent terminology, and publication metadata. Make focused edits, preserve notebook code and outputs, and report unresolved issues with validation results.

  • Review documentation before merging a pull request
  • Polish notebook Markdown cells
  • Check publication metadata and author records
openai/openai-cookbook76.7KUpdated Oct 18, 2026

See all skills by openai

Report a problem with this skill