Servidor MCP

DealerSlip

com.dealerslip/invoice
Negocio y operaciones Finanzas e inversión Público y accesible MCP 2025-11-25

Qué hace este MCP

Creates a draft UK vehicle sales invoice from supplied deal facts, calculates totals, and provides a private review link.

create_invoice
Prepare a DealerSlip invoice draft
Prepare a UK vehicle sales invoice draft from user-supplied facts and return calculated totals plus a private review link. Ask for all required fields and explicit VAT treatment; do not invent facts, payments or terms. No account access or storage. Human review and download are required before issuing. The link contains invoice data; share only with its intended recipient.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', 'allOf': [{'if': {'required': ['pxOn'], 'properties': {'pxOn': {'const': True}}}, 'then': {'required': ['pxAllowance']}}], 'required': ['ref', 'date', 'seller', 'customer', 'address', 'registration', 'make', 'model', 'price', 'tax'], 'properties': {'mot': {'type': 'string', 'pattern': '^(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?$(?![\\s\\S])', 'description': 'Full calendar date YYYY-MM-DD; blank when not supplied.'}, 'ref': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 60, 'minLength': 1}, 'tax': {'enum': ['margin', 'standard', 'none'], 'type': 'string', 'minLength': 1, 'description': 'Explicit user-selected VAT treatment. Standard prices include VAT at 20%; do not infer eligibility.'}, 'vin': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 60}, 'date': {'type': 'string', 'pattern': '^(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?$(?![\\s\\S])', 'minLength': 1, 'description': 'Full calendar date YYYY-MM-DD; blank when not supplied.'}, 'make': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 100, 'minLength': 1}, 'pxOn': {'type': 'boolean'}, 'pxV5': {'type': 'string', 'pattern': '^[^\\r\\n]*(?:\\r?\\n[^\\r\\n]*){0,12}$(?![\\s\\S])', 'maxLength': 300}, 'year': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 4}, 'email': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 254}, 'model': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 100, 'minLength': 1}, 'notes': {'type': 'string', 'pattern': '^[^\\r\\n]*(?:\\r?\\n[^\\r\\n]*){0,12}$(?![\\s\\S])', 'maxLength': 3000}, 'phone': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 60}, 'price': {'type': 'number', 'maximum': 10000000, 'minimum': 0, 'multipleOf': 0.01}, 'pxReg': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 16}, 'pxVin': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 60}, 'stock': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 60}, 'terms': {'type': 'string', 'pattern': '^[^\\r\\n]*(?:\\r?\\n[^\\r\\n]*){0,12}$(?![\\s\\S])', 'maxLength': 3000}, 'colour': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 80}, 'extras': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'amount', 'tax'], 'properties': {'tax': {'enum': ['20', '0'], 'type': 'string'}, 'label': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 160, 'minLength': 1}, 'amount': {'type': 'number', 'maximum': 10000000, 'minimum': 0, 'multipleOf': 0.01}}, 'additionalProperties': False}, 'maxItems': 20}, 'seller': {'type': 'object', 'required': ['name', 'address'], 'properties': {'vat': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 60}, 'name': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 160, 'minLength': 1}, 'email': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 254}, 'phone': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 60}, 'terms': {'type': 'string', 'pattern': '^[^\\r\\n]*(?:\\r?\\n[^\\r\\n]*){0,12}$(?![\\s\\S])', 'maxLength': 3000}, 'address': {'type': 'string', 'pattern': '^[^\\r\\n]*(?:\\r?\\n[^\\r\\n]*){0,12}$(?![\\s\\S])', 'maxLength': 700, 'minLength': 1}}, 'additionalProperties': False}, 'address': {'type': 'string', 'pattern': '^[^\\r\\n]*(?:\\r?\\n[^\\r\\n]*){0,12}$(?![\\s\\S])', 'maxLength': 700, 'minLength': 1}, 'finance': {'type': 'number', 'maximum': 10000000, 'minimum': 0, 'multipleOf': 0.01}, 'mileage': {'type': 'integer', 'maximum': 10000000, 'minimum': 0}, 'pxModel': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 180}, 'pxStock': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 60}, 'customer': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 160, 'minLength': 1}, 'payments': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'amount', 'method'], 'properties': {'label': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 100, 'minLength': 1}, 'amount': {'type': 'number', 'maximum': 10000000, 'minimum': 0, 'multipleOf': 0.01}, 'method': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 100, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 20}, 'pxLender': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 160}, 'pxHistory': {'type': 'string', 'pattern': '^[^\\r\\n]*(?:\\r?\\n[^\\r\\n]*){0,12}$(?![\\s\\S])', 'maxLength': 700}, 'pxMileage': {'type': 'integer', 'maximum': 10000000, 'minimum': 0}, 'collection': {'type': 'string', 'pattern': '^(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?$(?![\\s\\S])', 'description': 'Full calendar date YYYY-MM-DD; blank when not supplied.'}, 'derivative': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 160}, 'pxAllowance': {'type': 'number', 'maximum': 10000000, 'minimum': 0, 'multipleOf': 0.01}, 'pxSettlement': {'type': 'number', 'maximum': 10000000, 'minimum': 0, 'multipleOf': 0.01}, 'registration': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 16, 'minLength': 1}, 'balanceMethod': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 160}, 'pxDeclaration': {'type': 'string', 'pattern': '^[^\\r\\n]*(?:\\r?\\n[^\\r\\n]*){0,12}$(?![\\s\\S])', 'maxLength': 3000}, 'financeCompany': {'type': 'string', 'pattern': '^[^\\r\\n]*$(?![\\s\\S])', 'maxLength': 160}, 'firstRegistered': {'type': 'string', 'pattern': '^(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?$(?![\\s\\S])', 'description': 'Full calendar date YYYY-MM-DD; blank when not supplied.'}}, 'additionalProperties': False}
Añadido
create_invoice
17 de September de 2026 a las 12:34