upinvoice
by upinvoice
Coding Agents & IDEsBrief
This skill allows any OpenClaw-powered agent to extract structured JSON data from invoice images or PDFs.
Description
What This Skill Does
Extracts structured JSON data from invoice images or PDFs by sending them to the UpInvoice.eu API. Returns supplier details, line items, totals, and tax breakdowns in a format ready for ERP ingestion.
Returns fully structured JSON with line-item detail in under 2 seconds, eliminating manual data entry and the post-processing required by generic OCR tools.
When to Use It
- Digitizing a supplier PDF invoice for accounting entry
- Automating invoice data extraction before ERP upload
- Pulling line-item details from a scanned receipt photo
- Validating extracted invoice totals before approving payment
- Processing invoices from email attachments into structured records
Example Workflow
User asks: 'Here is a PDF invoice from my supplier, extract the data for me'
- 1
Converts the uploaded PDF to a base64-encoded string with the required data URI prefix
- 2
Calls process_invoice with the encoded file and optional company name and tax ID for context
- 3
Receives structured JSON containing supplier info, dates, totals, tax rates, and line items
- 4
Presents the extracted data to the user for review and validation
- 5
Maps the validated JSON fields to the target ERP system's API format
Structured invoice record with supplier name, tax ID, invoice date, individual line items with quantities and unit prices, and total amounts including VAT
Requirements
- UpInvoice.eu account (free registration, no credit card required)
- UpInvoice API key generated from the dashboard API Tokens section
Installation
clawhub install upinvoice/upinvoiceRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.