# Contract To Invoice

> Use when extracting billing obligations from contracts, order forms, SOWs, pricing tables, or amendments and comparing them against draft or issued invoices.

- **Type:** Skill
- **Install:** `agentstack add skill-loopfour-finance-skills-contract-to-invoice`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [loopfour](https://agentstack.voostack.com/s/loopfour)
- **Installs:** 0
- **Category:** [Finance & Payments](https://agentstack.voostack.com/c/finance-and-payments)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [loopfour](https://github.com/loopfour)
- **Source:** https://github.com/loopfour/finance-skills/tree/main/skills/contract-to-invoice

## Install

```sh
agentstack add skill-loopfour-finance-skills-contract-to-invoice
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Contract To Invoice

Use this skill to compare what a customer contract says should be billed against what an invoice shows.

## Inputs

- Contract, order form, SOW, amendment, or pricing excerpt.
- Invoice draft or issued invoice.
- Billing period, subscription start and end dates, renewal terms, usage terms, and discounts.
- Any billing policy for proration, taxes, credits, or minimums.

## Workflow

1. Extract billing terms: customer, product, quantity, price, discount, term, billing frequency, start date, end date, minimums, overages, taxes, payment terms, and special conditions.
2. Compare extracted terms to invoice lines.
3. Recalculate invoice expectations where enough data exists.
4. Classify exceptions:
   - Missing line.
   - Extra line.
   - Incorrect quantity.
   - Incorrect rate.
   - Incorrect billing period.
   - Missing discount or credit.
   - Tax or payment-term mismatch.
   - Ambiguous contract language.
5. Identify whether each exception is customer-facing, accounting-only, or requires legal or sales review.

## Output

Return:

- Contract billing summary.
- Invoice comparison table with expected value, invoice value, variance, source reference, and confidence.
- Exception list with severity and owner.
- Questions for sales, legal, billing, or the customer.

## Guardrails

- Quote short source snippets only when needed and keep them minimal.
- Do not interpret ambiguous legal terms as final. Escalate ambiguity.
- Do not approve an invoice for sending when material terms are missing.
- Preserve source references so reviewers can verify every variance.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [loopfour](https://github.com/loopfour)
- **Source:** [loopfour/finance-skills](https://github.com/loopfour/finance-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-loopfour-finance-skills-contract-to-invoice
- Seller: https://agentstack.voostack.com/s/loopfour
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
