Loading...
Loading...
Extract, validate, and categorize invoice data against purchase orders and GL codes
npx skill4agent add seb1n/awesome-ai-agent-skills invoice-processingProcess this vendor invoice: Invoice #INV-2024-0847 from Acme Cloud Services, dated 2024-11-15, PO #PO-4521. Line items: 10x API Gateway licenses at $150/ea, 1x Premium Support at $2,400/yr. Tax 8.5%. Validate against PO and assign GL codes.
Invoice #INV-2024-0847
Vendor: Acme Cloud Services (Vendor ID: V-1042)
Date: 2024-11-15 | Due: 2024-12-15 | Terms: Net 30
PO Reference: PO-4521
Line Items:
1. API Gateway License (qty: 10, unit: $150.00) — $1,500.00
2. Premium Support Annual (qty: 1, unit: $2,400.00) — $2,400.00
Subtotal: $3,900.00
Tax (8.5%): $331.50
Total: $4,231.50{
"invoice_number": "INV-2024-0847",
"vendor": { "name": "Acme Cloud Services", "id": "V-1042" },
"date": "2024-11-15",
"due_date": "2024-12-15",
"po_reference": "PO-4521",
"line_items": [
{
"description": "API Gateway License",
"quantity": 10,
"unit_price": 150.00,
"amount": 1500.00,
"gl_code": "6500",
"gl_name": "Software Subscriptions",
"cost_center": "IT-200"
},
{
"description": "Premium Support Annual",
"quantity": 1,
"unit_price": 2400.00,
"amount": 2400.00,
"gl_code": "6510",
"gl_name": "Software Maintenance & Support",
"cost_center": "IT-200"
}
],
"subtotal": 3900.00,
"tax": 331.50,
"total": 4231.50,
"validation": {
"arithmetic_check": "PASS",
"po_match": "PASS",
"price_variance": "0.0%",
"three_way_match": "PASS"
},
"flags": []
}| Invoice # | Vendor | Amount | Status | Flags |
|---|---|---|---|---|
| INV-2024-0847 | Acme Cloud Services | $4,231.50 | PASS | — |
| INV-2024-1193 | Delta Office Supply | $892.40 | WARNING | Unit price $14.20 vs PO price $12.99 (+9.3%) |
| INV-2024-1205 | Spark Consulting | $18,750.00 | BLOCKED | No matching PO found |
| INV-2024-1210 | GreenLeaf Catering | $1,345.00 | BLOCKED | Line item total $1,280 ≠ stated subtotal $1,345 |