Accounting connector

Invoice field extraction

invoice:// turns invoice parsing into a first-class URI. invoice://host/file/query/parse returns structured fields {nip, number, issueDate, seller, net, vat, gross, currency} from one PDF/text — regex-first (text-layer PDFs via pdftotext), with an optional LLM pass (OpenRouter via litellm, use_llm=true) for layouts the regex misses. invoice://host/folder/query/audit parses every invoice under a folder into rows plus net/VAT/gross totals, optionally writing a CSV — for monthly accounting. Read-only over the invoice files. Pairs with doc:// (OCR for scans) and fs:// (dedupe) in the office flow.

dostępny ✓ zweryfikowany

Co robi

  • Extract NIP, dates and net/VAT/gross from one invoice.
  • Audit a folder of invoices into rows plus monthly totals.
  • Feed parsed rows into a spreadsheet for accounting.

Schematy URI

invoice://

Wymagania

  • Array
  • Array
  • Array