Skip to main content
Glama

AICTIONBOT™ Werkbank

Invoice against previous invoice: silent price increases, new items and quantity jumps from the same supplier, with questions

compare_invoices
Read-onlyIdempotent

Takes the items of the previous invoice and of the new invoice from the same supplier and matches them by description, otherwise by item number. Returns every item that is more expensive than last time (red: was this announced?), new items (yellow), quantity changes with jumps over 20 percent flagged, cheaper and no longer billed items, the split of the difference into price, quantity, new and dropped, ready questions for the supplier and the next step. Pass two arrays (old_rows for the previous invoice, new_rows for the new one) or one array rows with a version column (Old or New; German: Alt or Neu). To check an invoice against order and goods receipt use match_documents or check_invoice. Licence, or one free check every 30 days.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoAlternative to old_rows and new_rows: one list with a version column (Old or New) plus the columns above.
languageNoLanguage of the answer. Default de.
new_rowsNoNew invoice with the same columns.
old_rowsNoPrevious invoice: position (item number), description, quantity, unit_price, optionally total. German column names work too.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.