ai_invoice_extract
AI Invoice Extractor: extract fields and line items from invoice or receipt text, with checks and a needsReview flag. AI-generated: review before use.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documentType": "<documentType>",
"text": "<text>"
},
"name": "ai_invoice_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to process, plain UTF-8, for example: The quick brown fox. | |
| documentType | Yes | Document type: one of invoice, receipt. |