well_create_invoice_from_data
ActiveTool of Well
Create an invoice in Well from data you extracted by reading an invoice (your own OCR) — you send the structured fields, not the file. Well persists the invoice + its line items + payment means using the same pipeline as uploaded documents. Fill every field you can read from the document: - issuer / receiver: { name (required), domain?, tax_id? } - reference_number, issue_date (YYYY-MM-DD), due_date? (YYYY-MM-DD), currency (ISO 4217) - totals?: { items_total?, tax_total?, grand_total } - line_items[]: { name, quantity?, unit_price, currency?, tax_rate? } - payment_means?[]: { type, iban?, bic?, scheme? }
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"issuer",
"receiver",
"reference_number",
"issue_date",
"currency",
"line_items"
],
"properties": {
"issuer": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Legal/company name of the party."
},
"domain": {
"type": "string",
"description": "Company domain, e.g. acme.com."
},
"tax_id": {
"type": "string",
"description": "VAT / tax id, if present on the invoice."
}
}
},
"totals": {
"type": "object",
"required": [
"grand_total"
],
"properties": {
"tax_total": {
"type": "number"
},
"grand_total": {
"type": "number"
},
"items_total": {
"type": "number"
}
}
},
"currency": {
"type": "string",
"description": "ISO 4217 (3 letters)."
},
"due_date": {
"type": "string",
"description": "ISO 8601 YYYY-MM-DD."
},
"receiver": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Legal/company name of the party."
},
"domain": {
"type": "string",
"description": "Company domain, e.g. acme.com."
},
"tax_id": {
"type": "string",
"description": "VAT / tax id, if present on the invoice."
}
}
},
"issue_date": {
"type": "string",
"description": "ISO 8601 YYYY-MM-DD."
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"unit_price"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Line description."
},
"currency": {
"type": "string",
"description": "ISO 4217; defaults to the invoice currency."
},
"quantity": {
"type": "number"
},
"tax_rate": {
"type": "number",
"description": "Tax rate as a percentage 0-100."
},
"unit_price": {
"type": "number",
"description": "Unit price (number, not string)."
}
}
},
"minItems": 1
},
"workspace_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Target workspace. Omit to use the only authorized workspace, or (for read tools) to query all authorized workspaces grouped by workspace. Required for write tools when the token authorizes more than one workspace."
},
"payment_means": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bic": {
"type": "string"
},
"iban": {
"type": "string"
},
"type": {
"enum": [
"iban",
"card",
"cash",
"check",
"other"
],
"type": "string"
},
"scheme": {
"type": "string",
"description": "e.g. SEPA, SWIFT — only honoured if a known scheme."
}
}
}
},
"idempotency_key": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Optional client-supplied key. A retried write with the same key returns the original result instead of re-applying the operation."
},
"reference_number": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Well
https://github.com/WellApp-ai/well-mcp
1/7 registries