InTouch Hub · Blue Isle Software

Invoice Field Extractor

Extract structured fields (vendor, number, date, line items, total) from invoice text.

invoiceextractionfinanceparsing

Invoice Field Extractor

A skill the InTouch AI assistant loads to turn raw invoice text into a clean, structured JSON record.

What it does

Reads the plaintext of a single invoice and extracts the fields you actually need for AP/bookkeeping automation:

What to feed it

The full text of one invoice — from OCR output, a PDF text dump, an email body, or pasted text. Field labels, date formats, and amount formatting can vary; the skill normalizes them. Run one invoice per invocation.

What it returns

A single JSON object (and nothing else) with this shape:

{
  "vendor": { "name": "...", "address": "...", "email": "...", "phone": "..." },
  "invoiceNumber": "...",
  "invoiceDate": "YYYY-MM-DD",
  "dueDate": "YYYY-MM-DD",
  "currency": "USD",
  "lineItems": [
    { "description": "...", "quantity": 1, "unitPrice": 100.00, "amount": 100.00 }
  ],
  "subtotal": 100.00,
  "tax": 8.00,
  "total": 108.00,
  "warnings": []
}

Missing scalar fields come back as null; numbers are plain decimals with no currency symbols or thousands separators. The output is ready to pipe into a downstream InTouch task (SQL insert, sheet append, accounting webhook, etc.).