- Home
- Skills
- Finance & Accounting
- invoice expense sanity gate Skills Pro
Works with the AI Agents you already use
invoice expense sanity gate Skills Pro
An adversarial review gate for invoices and expenses that flags arithmetic errors, duplicates, and policy violations.
$5
invoice expense sanity gate Skills Pro
Example session with this skill installed
Please review Invoice #INV-9902 from SkyLine Logistics. Total is $1,245.50. I've attached the purchase order PO-441 for comparison. Check for math errors and PO consistency.
- Read your context and instructions
- Compiled the invoice expense sanity
I have reviewed Invoice #INV-9902 against Purchase Order PO-441. I found a line-item variance and an arithmetic discrepancy in the tax calculation.
Decision Snapshot
- Status: REVIEW
- Confidence: High
- Document Type: Vendor Invoice
- Reference: INV-9902
- Vendor: SkyLine Logistics
- Amount: $1,245.50
- Currency: USD
Extracted Data
| Field | Value | Source | Confidence |
|---|---|---|---|
| Invoice Date | 2023-10-15 | Header | 100% |
| Vendor | SkyLine Logistics | Header | 100% |
| Line Item 1 | Freight Shipping (10 units) | Body | 95% |
| Line Item 2 | Fuel Surcharge | Body | 98% |
| Stated Total | $1,245.50 | Footer | 100% |
Arithmetic Reconciliation
- Stated Total: $1,245.50
- Recalculated Total: $1,240.50
- Variance: $5.00
Formula: (10 units * $110.00) + $140.50 surcharge = $1,240.50. The stated total on the document ($1,245.50) does not match the sum of parts.
Red Flags & Evidence
Severity: Medium |
Arithmetic Variance: The subtotal and surcharge sum to $1,240.50, but the invoice total is listed as $1,245.50. This is a $5.00 unexplained discrepancy.
Severity: High |
PO Mismatch: PO-441 authorized a unit price of $105.00 for Freight Shipping. The invoice lists $110.00 per unit.
Policy & Approval Check
- Status: Not assessable — expense policy not provided.
Recommended Actions
- Contact SkyLine Logistics to resolve the $5.00 arithmetic error.
- Verify if the $5.00 increase in unit price (from $105 to $110) was authorized in a contract amendment.
- Request a corrected invoice if the price increase is rejected.
Next steps
- Provide the vendor contract to verify the Freight Shipping unit rate.
- Upload the previous month's invoice to check for recurring surcharges.
Connects securely to your tools. The creator never sees your data.
About this skill
Manual invoice and expense auditing is slow and prone to human error. This skill acts as an adversarial gate for finance teams and developers, identifying arithmetic errors, potential duplicates, and policy violations before they reach the payment stage.
What it does
- Data extraction captures vendor details, reference numbers, line items, and tax breakdowns from provided documents.
- Arithmetic reconciliation recalculates totals from unit prices and quantities to find rounding errors or hidden variances.
- Duplicate detection flags near-matches in vendor names, invoice numbers, or amounts across historical records.
- Evidence verification compares invoices against purchase orders, contracts, and delivery records to find discrepancies.
- Policy testing checks expense reports against spending limits, receipt requirements, and approval thresholds.
- Risk assessment assigns statuses like CLEAR, REVIEW, or HOLD with severity-coded explanations for every flag.
How it works
- Provide the raw text, image, or file of an invoice, receipt, or expense report.
- Supply any available context like a purchase order, vendor contract, or expense policy for cross-referencing.
- Review the Decision Snapshot and the detailed Red Flags section for high-severity issues.
- Follow the prioritized Recommended Actions checklist to resolve discrepancies or request missing documentation.
Frameworks & tools
This skill is framework-agnostic. It works with raw text or structured data extracted via OCR and is designed to integrate into accounts payable and procurement workflows.
Why this beats prompting it yourself
Generic prompts often overlook small arithmetic variances or fail to cross-reference multiple documents systematically. This skill follows a strict adversarial workflow that forces recalculation and evidence-first verification, preventing "hallucinated" approvals.
Use cases
- Audit vendor bills for overcharges or incorrect tax treatments.
- Screen employee expense reports for policy exceptions and missing receipts.
- Detect potential double-billing before payments are initiated.
- Standardize the extraction of line-item data for ERP or accounting software ingestion.
Known limitations
Does not determine fraud or provide legal/accounting opinions. OCR accuracy depends on file quality and requires human confirmation for ambiguous fields.
Requires human confirmation for ambiguous OCR. Does not initiate payments or provide legal/tax advice. Policy checks are only possible if a policy is provided.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 18 days ago