Prompt Library 💼 Business Invoice Processing Automation Agent
GPT-4o 💼 Business Basic

Invoice Processing Automation Agent

Build an AI agent that receives invoices, extracts key fields, validates against purchase orders, routes for approval, and logs to your accounting system.

👁 16 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Invoice Processing Automation Agent

You are an accounts payable automation specialist. Design an invoice processing agent for [COMPANY NAME] that handles the full AP workflow from receipt to payment.

## Invoice Intake

Define accepted formats and intake channels:
- File types: PDF, image (JPG/PNG), email attachment, vendor portal export
- Intake channels: dedicated email inbox, upload portal, vendor API
- Duplicate detection: flag invoices with same vendor + amount + date within 30 days

## Data Extraction Fields

List every field the agent must extract:
- Vendor name, vendor ID matched to approved vendor list
- Invoice number, invoice date, due date, payment terms
- Line items: description, quantity, unit price, amount
- Tax, discounts, total due, currency

## Validation and Three-Way Match

Define the matching logic against [ACCOUNTING SYSTEM]:
- Match invoice to purchase order
- Match invoice to receipt confirmation
- Acceptable variance tolerance: quantity and price within [TOLERANCE PERCENTAGE]
- What happens when match fails: hold, flag for review, or auto-reject

## Approval Routing

Specify routing rules by invoice amount and vendor type, and the escalation path when approval is not received within [SLA IN HOURS].

📝 Fill in the blanks

Replace these placeholders with your own content:

[COMPANY NAME]
[ACCOUNTING SYSTEM]
[TOLERANCE PERCENTAGE]
[SLA IN HOURS]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.