AP Agent

| Admin ← Back to processor

Document Setup

Upload 2–3 sample documents for a vendor format. The system detects the document type and all extractable fields automatically. Select the fields you need, configure validation rules, then run a path analysis to find the most cost-effective processing tier.

+ Add New Format

Upload sample documents to begin.

📂 Drop files here or click to upload PDF or image · up to 3 samples per format

Available Formats

Formats with a confirmed best path are applied automatically when matching documents are detected.

Model Setup

Configure which AI models the paths use. Changes update the active runtime and persist to `config.ini`.

Model Routing

Adjust the models used by each processing path.

Choose whether runtime calls use cloud or local base URL defaults.
Used by Text Path and lightweight classification tasks.
OpenRouter price loading…
Default text model for OCR and Layout paths.
OpenRouter price loading…
Default multimodal model for Vision Path.
OpenRouter price loading…
Higher-quality text model for harder layout cases.
OpenRouter price loading…
Escalation model for Cloud and harder multimodal cases.
OpenRouter price loading…

Enrichment Mappings

Configure the lookup tables the Enrichment Agent uses to map extracted values (vendor names, item descriptions) to your internal master data codes. Once at least one entry exists the agent will run automatically on every processed document.

Vendor Master

Maps vendor names as they appear on invoices to your internal vendor code, canonical name, and default GL account.

CSV columns: aliases (comma-separated), vendor_code, canonical_name, default_gl_account
AliasesVendor CodeCanonical NameDefault GL
No entries yet.

SKU / Item Master

Maps line item descriptions from invoices to your internal SKU codes.

CSV columns: aliases (comma-separated), sku_internal, description
AliasesInternal SKUDescription
No entries yet.

GL Account Master

Reference list of valid GL account codes used to validate default_gl_account lookups.

CSV columns: code, name
CodeName
No entries yet.

Doc-type Field Mappings

Controls which extracted fields are looked up in which tables. The defaults cover the most common invoice fields.

Source FieldLookup TableTarget FieldMin Score

Select Spreadsheet Folder

Choose a folder inside the workspace, or type a path directly in the box.