Billin MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Billin MCP Server
A Model Context Protocol (MCP) server that connects AI agents to Billin — Spain's invoicing platform for freelancers and SMBs.
Create invoices, record expenses, manage contacts, and track payments — all from Claude, Cursor, or any MCP-compatible AI assistant. Fully compatible with Verifactu and Spanish tax regulations.
Tools
Tool | Description |
| Create a tax-compliant invoice with line items and Spanish tax codes (IVA, IRPF, RE) |
| List and filter invoices by status, date, payment status, VAT number, or Verifactu |
| Get full details of a specific invoice |
| Create a simplified sales receipt (ticket) |
| Create a customer or supplier contact |
| Search and filter contacts |
| Record a business expense with tax classification |
| List recorded expenses |
| Create a quote (presupuesto) for a client |
| Record a payment against an invoice |
| List recorded payments |
Related MCP server: BeeL MCP server
Quick Start
1. Get Billin API credentials
Log in to your Billin account
Go to Integraciones > API Publica
Click Generar credenciales to get your
clientIdandclientSecret
2. Install and build
git clone https://github.com/AnderRahe/billin-api-mcp.git
cd billin-api-mcp
npm install
npm run build3. Configure Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"billin": {
"command": "node",
"args": ["/path/to/billin-api-mcp/dist/index.js"],
"env": {
"BILLIN_CLIENT_ID": "your_client_id",
"BILLIN_CLIENT_SECRET": "your_client_secret"
}
}
}
}Usage Examples
Create an invoice
"Crea una factura a nombre de Acme SL, NIF B12345678, por 3 horas de consultoría a 75 euros la hora con IVA 21%"
The AI agent will call create_invoice with the appropriate line items, tax code (IVA_21), and contact details.
Check unpaid invoices
"Muéstrame las facturas pendientes de cobro de este mes"
Uses list_invoices with isPaid: false and date filters.
Record an expense
"Registra un gasto de 150 euros en material de oficina del proveedor Papelería López, NIF 12345678A"
Calls create_expense with the supplier info and IVA_21 tax classification.
Create a quote
"Prepara un presupuesto para el rediseño web de la empresa TechCorp por 3.500 euros"
Uses create_quote with line items and contact details.
Supported Tax Codes
Code | Description | Rate |
| Standard VAT | 21% |
| Reduced VAT | 10% |
| Super-reduced VAT | 4% |
| Exempt VAT | 0% |
| Standard IRPF withholding | -15% |
| Reduced IRPF (new freelancers) | -7% |
| Recargo de equivalencia (standard) | 5.2% |
| Recargo de equivalencia (reduced) | 1.4% |
| Recargo de equivalencia (super-reduced) | 0.5% |
Environment Variables
Variable | Required | Default | Description |
| Yes | — | OAuth2 client ID from Billin |
| Yes | — | OAuth2 client secret from Billin |
| No |
| API base URL |
Development
npm run dev # Watch mode (auto-recompile on changes)
npm run build # Compile TypeScript
npm run start # Run the serverTesting with MCP Inspector
npx @modelcontextprotocol/inspector node ./dist/index.jsAbout Verifactu
Starting January 2027, all Spanish businesses must use certified invoicing software under the Verifactu regulation (RD 1007/2023). Billin is Verifactu-compliant, and this MCP server exposes that capability to AI agents — enabling freelancers and businesses to create legally compliant invoices through natural language.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Spanish Veri*factu invoicing: create invoices, expenses and VAT returns from your AI assistant.
Invoicing your AI agent runs for you: invoices, quotes, expenses, VAT books. Veri*factu for Spain.
Create EU-compliant invoices, manage clients and download PDFs from your AI assistant.
Create invoices from your AI assistant in 6 languages and 10 currencies, ready for WhatsApp.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with the SuperFaktura invoicing system for managing invoices, clients, and expenses via natural language.4Apache 2.0

BeeL MCP serverofficial
AlicenseAqualityBmaintenanceEnables AI agents to issue, correct, and register legally compliant Spanish electronic invoices with AEAT VeriFactu, supporting F1/F2 types, R1–R5 correctives, and NIF validation from Claude, ChatGPT, Cursor, or VS Code.136111 npm2MIT- AlicenseAqualityBmaintenanceEnables AI assistants to interact with Quipu accounting data via natural language, including invoicing, expenses, contacts, and Spanish VAT reporting.1843 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to manage compliant e-invoicing (Factur-X, EN 16931) by creating, issuing, sending, and tracking invoices, quotes, and retainers through natural language via the Model Context Protocol.MIT