Tasks / Rightbrain Internal

Invoice Extractor

Extracts comprehensive structured data from invoice documents, including vendor details, invoice metadata, and itemised line entries. It provides confidence scores for each field, highlights missing information, and preserves monetary precision with original currency symbols for reliable financial analysis.

claude-haiku-4-5-20251001
15 views
December 10, 2025

Sign up for a free trial to Clone, Customise and Run

Task Logic

User Prompt Template

CORE INSTRUCTION

Instructions sent to the model. Dynamic variables {brackets} are replaced at runtime.

Goal:
Extract structured information from an invoice document, including vendor details, invoice metadata, itemised line entries, calculated totals, and confidence scores for each extracted field.

Input Parameters:
- {invoice_document}: The invoice document file to be processed and analysed for data extraction

Processing Steps:
1. Process the invoice document to extract all text and structural information
2. Identify and extract vendor information including company name, address, contact telephone, email, and any tax identification numbers
3. Locate and extract invoice metadata including invoice number, invoice date, due date, and purchase order reference if present
4. Identify the line items table and extract each row containing item description, quantity, unit price, and line total amount
5. Return vendor and invoice data contained, and a list of any missing fields

Critical Rules:
- Extract all available vendor information
- Ensure all monetary values maintain their original precision and currency symbols where present

Interface Definition

Inputs
invoice_document
Document Scanner
filename: invoice
Output Schema

Try this AI task with your own data

Free trial - no credit card required