contix
Server Details
Spanish Veri*factu invoicing: create invoices, expenses and VAT returns from your AI assistant.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 81 tools
Most tools target clearly distinct resources or actions, and descriptions explicitly route between similar operations (e.g. send_invoice vs mark_invoice_sent, cancel vs rectify, get_modelo vs calculate_modelo_303). Some boundary friction remains across the many gestoría reporting tools, but routine misselection seems limited.
The dominant pattern is English snake_case verb_noun, but the gestoría family mixes Spanish nouns and verbs and varies verb placement (gestoria_abrir_mandante, gestoria_certificado_mandante, gestoria_cierre_config vs gestoria_cierre_configurar). It is readable, but not a consistently predictable convention.
81 tools is far beyond a practical MCP tool surface, even for a broad invoicing and accounting platform. Although the domain is large, this count creates an extreme selection burden and fragmentation across many settings, tax, and gestoría subcommands.
Core invoice, expense, customer, quote, recurring, payment, tax, Veri*factu and gestoría workflows are broadly covered. However, notable gaps remain: no delete_customer, no get/delete_quote, no get/delete_recurring, no bank-import creation, and no create/update supplier despite list_suppliers implying supplier creation exists.
Publisher details
- Operator
- Martin Schenk S.L. (contix), Madrid, Spain · Publisher source
- Operator website
- https://contix.es
- Vendor relationship
- First-party
- Documentation
- https://contix.es/mcp/
- Privacy policy
- Not provided
- Trust center
- Not available
- Restrictions
- Needs a contix account (paid subscription after a 30-day trial). Sign in with OAuth 2.1 (dynamic client registration) or an API key from the contix panel. The free tools server es.contix/herramientas needs no account.
Available Tools
81 toolsattach_expense_receiptAttach receipt to expenseAInspect
Attach the original receipt (photo or PDF) to an existing expense (gasto), so it is archived with it and goes into the gestoría export, exactly like the upload in the web app. Existing files stay; an expense holds at most 5 files (e.g. invoice plus delivery note, or a two-page ticket as two photos). contix only stores the file, it does not read it: enter the amounts with create_expense / update_expense first. Accepted: JPG, PNG, WEBP, HEIC, PDF, max 10 MB. Returns the expense id, the stored file name and how many files the expense now holds.
Inputs: expense_id (required), file_base64 (required), filename, mime_type.
calculate_modelo_303Sum the Spanish VAT return (Modelo 303)ARead-onlyInspect
Add up the boxes (casillas) of the Spanish quarterly VAT return Modelo 303 with the formulas printed on the official AEAT form: 27, 45, 46, 64, 66, 87, 69 and 71. Input are the tax amounts (cuotas) per box, e.g. {"09": 17430, "29": 9870}. It only sums what it is given: it does not decide which rate or deduction applies and it is not a tax return. To compute the 303 from an existing contix account's own invoices and gastos instead of typed-in boxes, use get_modelo with model 303.
Inputs: casillas (required).
calculate_vatCalculate VAT (IVA) and IRPF withholdingARead-onlyInspect
Compute the taxable base, VAT (IVA) amount, optional recargo de equivalencia and optional IRPF withholding from an amount. By default importe is the taxable base (sin IVA). With incluye_iva=true, importe is the TOTAL with VAT already included and the base is derived backwards (quitar IVA / reverse VAT). It only applies the rates it is given: it does NOT decide which VAT or IRPF rate applies to a case. Returns base_imponible, cuota_iva, recargo_importe, retencion_irpf, total_con_iva and total_factura (total after subtracting the IRPF withholding).
Inputs: importe (required), tipo_iva (required), irpf, recargo, +1 more.
cancel_invoiceCancel/annul invoice (irreversible)ADestructiveInspect
Annul (anular) a finalized invoice, sends a RegistroAnulacion to the AEAT (if the invoice was never sent to the AEAT, the anulación is recorded only in the local hash chain). IRREVERSIBLE Veri*factu chain event: the invoice then counts as never issued. Ask the user for explicit confirmation, then call with confirm=true. For a later discount or correction use rectify_invoice instead (anulación is 'this was a mistake'). Returns a confirmation that the annulment was recorded.
Inputs: reason (required), confirm (required), invoice_id (required).
check_periodCheck a period before handing it overARead-onlyInspect
Check a quarter or year for MISSING documents and blockers before handing it to the gestoría: recurring supplier invoices that did not arrive this time (rent, phone, alarm...), expenses without a supplier or invoice number, drafts inside the period, counterparties above the 3.005,06 € Modelo 347 threshold without a NIF. This is a completeness check, NOT tax advice: contix never judges whether something is deductible or which rate applies. Each finding is a question for the user to answer.
Inputs: year (required), quarter.
check_vat_numberCheck an EU VAT number (VIES)ARead-onlyInspect
Look up an EU VAT number in the European Commission's VIES registry. Returns what the registry says: whether the number exists and, where the member state publishes it, the name behind it. It draws NO tax conclusion: whether an invoice may be issued without IVA is the user's decision with their gestoría. VIES is often down; that is reported as disponible=false, which is NOT the same as an invalid number.
Inputs: numero (required), pais.
clone_invoiceClone invoice to draftAInspect
Clone any invoice (factura) into a new DRAFT (borrador) with today's dates. Good for 'invoice like last time'. Not finalized, no number yet. Returns the new draft's id.
Inputs: invoice_id (required).
convert_quote_to_invoiceConvert quote to invoiceAInspect
Convert an ACCEPTED quote (presupuesto aceptado) into a new DRAFT invoice with the same customer, items and rates. The quote must already be in accepted status. Review the resulting draft, then finalize_invoice when ready. Returns the new draft invoice's id and total.
Inputs: quote_id (required).
create_customerCreate customerAInspect
Create a new customer in the user's contix account. Only contact_name is required: NIF, email and address are optional (e.g. private individuals without NIF are fine). Returns the new customer's id, name, NIF and email.
Inputs: contact_name (required), nif, city, email, +17 more.
create_expenseCreate expenseAInspect
Register an expense (gasto) from data. Requires description, subtotal and total. Always pass the supplier (proveedor) as supplier_name/supplier_nif or supplier_id, an expense without a supplier cannot appear in Modelo 347/349. OCR ticket scanning stays in the web app. Returns the new expense's id, description and total. To attach the receipt image or PDF afterwards, use attach_expense_receipt.
Inputs: total (required), subtotal (required), description (required), notes, +14 more.
create_invoiceCreate draft invoiceAInspect
Create a new draft invoice. Review it with the user, then emit it with finalize_invoice (or from the dashboard). Tax rates supported: 21, 10, 4, 0, per invoice, or per line when one invoice mixes rates. IRPF retention: 0, 7, 15, 19. If you may retry this call, pass external_id: the same id twice is refused instead of billing the customer a second time. Returns the new draft's id and total; a repeated external_id instead returns the id and number of the invoice already created for it.
Inputs: items (required), customer_id (required), notes, tax_rate, +5 more.
create_quoteCreate quoteAInspect
Create a new quote (presupuesto) for a customer. Non-fiscal document, no Veri*factu chain involved. Once the customer accepts it (mark it accepted from the dashboard), use convert_quote_to_invoice to turn it into a real DRAFT invoice. Returns the new quote's id, number and total.
Inputs: items (required), customer_id (required), notes, tax_rate, +2 more.
create_recurringCreate recurring profileAInspect
Create a recurring invoice profile (factura recurrente / suscripción): a saved template that generates invoices on a schedule for a customer. It is created as a DRAFT (borrador, is_active=false): nothing is issued or sent. To start the series, ask the user to confirm the first date and the frequency, then call update_recurring with is_active=true; from then on every invoice is finalized (Veri*factu) and emailed to the customer automatically. Returns the new profile's id, name, frequency and next invoice date.
Inputs: name (required), items (required), frequency (required), start_date (required), +11 more.
delete_bank_transactionsDelete bank movementsADestructiveInspect
Move imported bank movements to the trash (recoverable for 30 days with restore_bank_trash). Select by ids, by a date range of the movements (desde/hasta) or by import day (importado_el), combinable. Movements linked to an invoice, expense or payment are never deleted and are reported as protegidos. Call first WITHOUT confirm to get the count, tell the user, and only call again with confirm=true after the user agreed. Without confirm, returns how many movements would be deleted and how many are protected; with confirm=true, returns how many were actually moved to the trash and the lote id to restore them.
Inputs: ids, desde, hasta, confirm, +1 more.
delete_expenseDelete expenseADestructiveInspect
Delete an expense (gasto) by id. Gastos are plain expense records, not part of the Verifactu invoice chain, so deletion is safe. Use list_expenses to find the id. Returns the deleted expense's id.
Inputs: expense_id (required).
delete_invoiceDelete draft invoiceADestructiveInspect
Delete a DRAFT invoice (factura en borrador) by id. Only drafts can be deleted: a finalized invoice is part of the Veri*factu chain and must be corrected with rectify_invoice instead. Use list_invoices to find the id. Returns the deleted draft's id.
Inputs: invoice_id (required).
finalize_invoiceFinalize invoice (irreversible)ADestructiveInspect
Finalize a DRAFT invoice: assigns the sequential invoice number, computes the hash and adds it to the Verifactu chain (and, if the account has AEAT mode enabled, submits the record to the tax authority). THIS IS IRREVERSIBLE, se envía a la cadena Verifactu: a finalized invoice can never be edited or deleted; mistakes require a rectificative invoice. Ask the user for explicit confirmation first, then call with confirm=true. Returns the assigned invoice number and the Veri*factu hash, plus the AEAT submission status if the account has AEAT mode enabled. Still something to fix in the draft first, use update_invoice before finalizing.
Inputs: confirm (required), invoice_id (required).
generate_recurringGenerate invoice from recurring profileAInspect
Generate an invoice now from an existing recurring profile (factura recurrente). Create profiles with create_recurring. Returns the new invoice's id, status and total, plus the profile's next scheduled date.
Inputs: profile_id (required).
gestoria_abrir_mandanteOpen a gestoría clientAInspect
Record (for RGPD accountability) that this gestoría is opening one of its accepted clients, and return its tenant_id. Call this before reading a client's data with the X-Contix-Tenant header on subsequent calls.
Inputs: link_id (required).
gestoria_certificado_mandanteCompliance certificate for a gestoría clientARead-onlyInspect
Certificado de cumplimiento (RD 1007/2023) for one accepted client: producer and Declaración Responsable, the client's NumeroInstalacion, how many invoice records carry a chained SHA-256 hash and since when, the last hash, whether the whole chain re-verifies right now, and the AEAT (Veri*factu) submission status. Returns the facts as text plus the URL of the PDF (download it with the same credentials). Technical facts only, no tax assessment.
Inputs: link_id (required).
gestoria_cierre_configQuarter-close reminders: current settingsARead-onlyInspect
For a gestoría account: whether contix sends quarter-close reminders to its clients IN THE GESTORÍA'S NAME (off by default), how many days before the quarter ends (default 15/7/3), and the subject/body template with its placeholders. Reminders only go out when something is missing in the client's account (expenses without receipt, draft invoices, suppliers without NIF, a recurring receipt that did not arrive). Read-only.
Inputs: no named parameters.
gestoria_cierre_configurarQuarter-close reminders: change settingsADestructiveInspect
For a gestoría account: switch the quarter-close reminders on/off, set the days before quarter end, or change subject/body (placeholders: {cliente}, {nombre}, {gestoria}, {trimestre}, {fecha_cierre}, {dias}, {faltantes}, {enlace}). Only the fields you pass change. Saving the text is the gestoría's approval of the wording. Returns the saved settings: on/off, the days and the subject/body.
Inputs: dias, activo, asunto, cuerpo.
gestoria_cierre_vista_previaQuarter-close reminder: preview for one clientARead-onlyInspect
For a gestoría account: the exact reminder that would go to one accepted client today (subject, text, what is missing, whether it would be sent at all). Sends nothing.
Inputs: link_id (required).
gestoria_comisionesGestoría earnings from contixARead-onlyInspect
For a gestoría account: what it earns from contix (30 % of each linked client's net monthly fee, for as long as the client pays): this month, this year, pending and already paid out, per client. Read-only.
Inputs: no named parameters.
gestoria_exportExport all gestoría clientsARead-onlyInspect
Return the URL to download one ZIP with every accepted client's export (invoices, expenses, libros, modelos), each in its own folder, for a year or year+quarter. Download it with the same credentials used here.
Inputs: year (required), quarter.
gestoria_facturas_mandanteGestoría client: list invoicesARead-onlyInspect
For a gestoría account: the invoices of ONE accepted client in a year or quarter, newest first: number, date, customer, base, IVA, total, status and whether the invoice carries a Veri*factu record. Read-only.
Inputs: link_id (required), year, limit, quarter.
gestoria_gastos_mandanteGestoría client: list expensesARead-onlyInspect
For a gestoría account: the expenses (gastos) of ONE accepted client in a year or quarter, newest first: date, description, supplier and its NIF, base, IVA, total, category, and whether a receipt file is attached. Read-only.
Inputs: link_id (required), year, limit, quarter.
gestoria_invitar_mandanteInvite a gestoría clientAInspect
Invite a client (by email) to link their contix account to this gestoría. If the email already has an account, they get a confirmation link; otherwise a registration link. Either way the client must accept before the gestoría can read anything. Returns the same generic confirmation text regardless of whether that email already has an account.
Inputs: email (required).
gestoria_listar_mandantesList gestoría clientsARead-onlyInspect
For an account in gestoría mode (is_gestoria): list all linked clients (pendiente/aceptado/revocado), and for the accepted ones, invoices this quarter, pending balance and last invoice date. Fails if this account is not a gestoría.
Inputs: no named parameters.
gestoria_resumen_mandanteGestoría client: figures for a periodARead-onlyInspect
For a gestoría account: the figures of ONE accepted client for a year or a quarter: number of invoices, net base, IVA repercutido, IRPF withheld, total, how many are still drafts; expenses with base, IVA soportado and total; plus how many blocking points and warnings the revision found. Sums and counts only, never an opinion on what to declare or deduct.
Inputs: link_id (required), year, quarter.
gestoria_revision_mandanteGestoría client: what is missingARead-onlyInspect
For a gestoría account: what is missing or does not add up formally in ONE accepted client's period: expenses without a receipt, draft invoices, suppliers without NIF above the Modelo 347 threshold, invoices without a Veri*factu record, a recurring receipt that did not arrive this quarter. Same source as the REVISION.txt in the bulk export and the quarter-close reminders. Each point is a QUESTION to put to the client, never a tax assessment or an instruction.
Inputs: link_id (required), year, quarter.
get_account_statementCustomer account statementARead-onlyInspect
Customer account statement (estado de cuenta): total invoiced, collected and outstanding balance, plus the list of invoices. Optionally limited to a period by issue date. Pure facts, no advice. Each invoice line also shows its own paid and outstanding amount.
Inputs: customer_id (required), desde, hasta.
get_customerGet customerARead-onlyInspect
Get one customer (cliente) by id: NIF, contact and address.
Inputs: customer_id (required).
get_face_statusGet FACe status (B2G)ARead-onlyInspect
Processing status of an invoice at FACe: registrada, registrada_rcf, contabilizada, pagada, rechazada or anulada, plus the status of any cancellation request. Set refresh=true to query FACe live instead of returning the stored status.
Inputs: invoice_id (required), refresh.
get_invoiceGet invoice detailsBRead-onlyInspect
Get full details of a single invoice including line items and Veri*factu hash.
Inputs: invoice_id (required).
get_invoice_defaultsGet invoice defaultsARead-onlyInspect
Get the tenant defaults a new invoice starts with: payment term in days (plazo de pago / días de vencimiento), IVA rate (tipo de IVA por defecto) and whether the retención field is hidden in the web forms. A customer's own saved values override these on their invoices.
Inputs: no named parameters.
get_invoice_displayGet invoice display optionsBRead-onlyInspect
How invoice PDFs are printed: IVA per line (iva_display: ninguno | auto | porcentaje | porcentaje_cuota | porcentaje_total) and whether the small 'Factura creada con contix.' note appears at the bottom (show_contix_badge), plus the phone and WhatsApp printed in the header (header_phone, header_whatsapp).
Inputs: no named parameters.
get_invoice_facturaeGet Facturae XML (B2G)ARead-onlyInspect
Return the Facturae 3.2.1 XML of a finalized invoice, for invoicing Spanish public administrations (schools, ayuntamientos, universities). The XML is UNSIGNED and therefore not submittable on its own: FACe requires a XAdES-signed .xsig even through its web form. Use it to preview and validate the data; to actually file the invoice use submit_invoice_to_face, which signs it first. Requires the customer to be marked as public administration with the three DIR3 codes set; if data is missing, the tool explains exactly what to add.
Inputs: invoice_id (required).
get_invoice_seriesGet invoice series/numberingARead-onlyInspect
Get the current invoice numbering series (serie de facturación / numeración): prefix (prefijo), year, next invoice number and whether the start number can still be changed this year.
Inputs: no named parameters.
get_libros_registroLibros registro (facturas expedidas / recibidas)ARead-onlyInspect
Libro registro de facturas expedidas and recibidas for a quarter or year: one line per issued invoice (finalized only) and per received invoice and VAT rate, with base, VAT, IRPF withholding / deductible quota and total, plus period sums. The same rows the gestoría export contains. Pure listing, no advice.
Inputs: year (required), quarter.
get_modeloGet AEAT tax model (modelo)ARead-onlyInspect
Get an AEAT tax model summary (modelo / declaración): 303 & 390 (IVA), 130 (IRPF), 347, 349, 202. Read-only calculation from existing invoices and gastos. Provide quarter (1-4) for 303/130/349, or periodo (1P/2P/3P) for 202. Note: modelo 202 assumes pagos_anteriores=0 (prior-period payments not tracked): the resulting amount is a raw base calculation, not a final figure to pay. Returns the full breakdown AEAT uses for that modelo (its casillas/boxes with each computed amount) as JSON. To just sum casillas you already have by hand, without querying the account, use calculate_modelo_303 instead.
Inputs: year (required), model (required), periodo, quarter.
get_obligation_datesVeri*factu and e-invoicing deadlines (Spain)ARead-onlyInspect
Deadlines from the published Spanish rules: Veri*factu (RD 1007/2023, dates of RD-ley 15/2025) and mandatory B2B e-invoicing (RD 238/2026, counted from the ministerial order, provisional while the order is a draft). Information about the rules, not advice. Returns a date (or null) and explanatory text for each obligation (verifactu, factura_electronica and, where it applies, estados_facturas).
Inputs: forma (required), factura_a_empresas (required), mas_8_millones.
get_product_groupsGet product groupsARead-onlyInspect
List the account's product groups (grupos de producto): one optional axis 'what was sold' (e.g. Hosting, Programación, SaaS) that an invoice can carry. Pure data: contix does not derive anything fiscal from it. Returns the list of group names, comma separated.
Inputs: no named parameters.
get_quote_seriesGet quote numberingARead-onlyInspect
Next quote number (P-YYYY-NNNN) and the configured start number.
Inputs: no named parameters.
get_referral_linkGet referral link (invita y gana un mes)ARead-onlyInspect
Get the account's personal referral link for contix. Whoever signs up through it gets 60 days free instead of 30; when that person becomes a paying customer, this account gets one month free (12 € off the next fee). Also returns how many people signed up through the link and how many became customers. Use it when the user asks how to recommend contix or about the referral programme.
Inputs: no named parameters.
get_subscription_statusGet subscription/trial statusARead-onlyInspect
Get the account's subscription status: trial (período de prueba), active, past_due or canceled, including days remaining in the trial and the next billing date. Use this when the user asks about their plan, trial or billing, or proactively once during a session if unsure whether the account might be close to needing payment.
Inputs: no named parameters.
invite_gestoriaInvite your gestoríaAInspect
Invite the accounting firm (gestoría) that keeps this account's books, by email, so it can see and export these invoices and expenses from its own contix panel (read-only, until this account grants more in Ajustes). If the email already has a contix account, the firm gets a notification and accepts from its client list; otherwise it gets a link to register as a gestoría. Same generic reply in every case. Only for the own account. Returns that same generic confirmation text, by design, so it reveals nothing about whether the email has an account.
Inputs: email (required).
list_bank_importsList bank importsARead-onlyInspect
Bank statement imports of this account, one row per import day: number of movements and their date range. Use it to offer the user 'delete what I imported on '.
Inputs: no named parameters.
list_bank_trashBank trashARead-onlyInspect
Deleted bank movements still recoverable, one row per deletion (lote) with count and the date it is purged.
Inputs: no named parameters.
list_customersList customersARead-onlyInspect
List customers in the user's contix account. Optional query matches against company_name, contact_name, or NIF. Optional nif returns only the customer with exactly that NIF/CIF. Returns one line per customer: id, name and NIF.
Inputs: nif, limit, query.
list_expensesList expensesARead-onlyInspect
List expenses (gastos): date, description, supplier, total, category, and whether the original receipt file is attached (SIN JUSTIFICANTE = no file). Optional free text (query: description, invoice number, notes, supplier name/NIF, amount), e.g. to check whether a supplier invoice is already booked. To attach the receipt file to an expense use attach_expense_receipt.
Inputs: limit, query.
list_invoicesList invoicesARead-onlyInspect
List invoices for the user's contix account. Filter by status (draft/sent/paid/overdue), year, or free text (query: invoice number, reference, notes, customer, and the line descriptions, so a domain or product that only appears in an invoice line is found). Recent first. Returns one line per invoice: id, number (or Borrador for a draft), issue date, total and status. Use get_invoice for one invoice's full line items and Veri*factu hash.
Inputs: year, limit, query, status.
list_paymentsList payments of an invoiceARead-onlyInspect
The individual payments recorded against one invoice, oldest first. The invoice's amount_paid stays the leading sum, this is its breakdown. Imported invoices have none: their history lives in the source system. Returns one line per payment: date, amount, method and reference, plus the invoice's total paid and outstanding.
Inputs: invoice_id (required).
list_quotesList quotesARead-onlyInspect
List quotes (presupuestos): non-fiscal offers sent to a customer before invoicing. Filter by status. Returns one line per quote: id, quote number, issue date, total and status.
Inputs: limit, status.
list_recurringList recurring profilesARead-onlyInspect
List recurring invoice profiles (facturas recurrentes / suscripciones): customer, name, frequency, next date, active. Search with query (customer, NIF, profile name, or a domain/product in the lines) BEFORE creating a new profile, so you don't create a duplicate. The first line says how many profiles exist in total; if it shows fewer, page with offset or narrow with query.
Inputs: limit, query, active, offset.
list_reminders_sentList reminders sentARead-onlyInspect
List invoices where contix already sent a payment reminder (recordatorio / aviso de pago): how many and when, newest first. Returns one line per invoice: reminder count, date of the last one and the invoice total.
Inputs: no named parameters.
list_suppliersList suppliersARead-onlyInspect
List suppliers (proveedores) with id, NIF, country and how many expenses each has. Use it to find the supplier_id for create_expense, or to check whether a supplier already exists before creating one.
Inputs: limit, search.
mark_invoice_sentMark invoice as sentAInspect
Record that a finalized invoice reached the customer by another channel (your own email thread, WhatsApp, paper), without contix emailing anything. Finalizing does NOT count as sent; send_invoice records it automatically. Optional date (YYYY-MM-DD) if it was sent on an earlier day. Returns the invoice id and the date it was marked as sent.
Inputs: invoice_id (required), date.
mark_quote_sentMark quote as sentAInspect
Move a DRAFT quote to sent without contix emailing it (you sent it yourself). Returns the quote number.
Inputs: quote_id (required).
record_paymentRecord a paymentAInspect
Record a payment against a finalized invoice. Defaults: amount = outstanding balance, date = today. Sets status to PAID or PARTIAL. No fiscal logic, it records what the user says was collected. Returns the invoice's new status, how much is now paid and still outstanding, and the payment id.
Inputs: invoice_id (required), notes, amount, method, +2 more.
rectify_invoiceRectify invoice (Veri*factu)ADestructiveInspect
Create a rectificativa (factura rectificativa / abono / corrección) for a finalized invoice. This is a Veri*factu chain operation. Ask the user for explicit confirmation first, then call with confirm=true. It creates a DRAFT rectificativa that you review and finalize afterwards. Use negative amounts for a full credit. Returns the new rectificativa draft's id (and number, if already assigned).
Inputs: items (required), confirm (required), invoice_id (required), notes, +6 more.
restore_bank_trashRestore bank movementsAInspect
Bring back all movements of one deletion (lote from list_bank_trash). Returns how many movements were restored.
Inputs: lote (required).
resubmit_invoice_aeatCorrect and resend Veri*factu record (subsanación)ADestructiveInspect
For an invoice whose Verifactu record the AEAT rejected or accepted with errors: sends a new correction record (Alta de subsanación, new link in the Verifactu chain) with the customer's CURRENT data. The invoice itself (number, date, amounts) does not change, so first fix what the AEAT flagged on the customer (update_customer), then call this. Per AEAT rules a subsanación is not possible when the cause requires a corrective invoice (rectify_invoice). Ask the user for explicit confirmation, then call with confirm=true. Returns the AEAT response status and message for the new subsanación record.
Inputs: confirm (required), invoice_id (required).
send_invoiceSend invoice by emailADestructiveInspect
Email a finalized invoice to the customer with the PDF attached (Veri*factu QR included). This is the first send (envío inicial), for chasing an unpaid invoice afterwards use send_reminder instead. Requires the customer to have an email on file (update_customer if not). Returns the invoice number and the address(es) it was sent to. Already sent it yourself through another channel, use mark_invoice_sent instead of this tool.
Inputs: invoice_id (required), message.
send_quoteSend a quote by emailADestructiveInspect
Email a quote (presupuesto) to its customer with the PDF attached, using the tenant's own 'presupuesto' template and signature. A quote still in draft moves to sent; an accepted or rejected one keeps its status. Returns the recipient address and the resulting status.
Inputs: quote_id (required), message.
send_reminderSend payment reminderADestructiveInspect
Send a payment reminder email (recordatorio / aviso de pago) to the customer of an unpaid invoice. tone: friendly, neutral or final. This sends a real email. Returns how many reminders have now been sent on this invoice in total.
Inputs: invoice_id (required), tone.
set_invoice_defaultsSet invoice defaultsADestructiveInspect
Set the tenant defaults for new invoices: payment term in days and IVA rate (plazo de pago por defecto / tipo de IVA por defecto). Pure data storage: contix does not judge whether a term or rate is fiscally correct. Pass only the field you want to change. Returns the updated payment term, IVA rate and retención field visibility.
Inputs: tax_rate, payment_days, hide_retention.
set_invoice_displaySet invoice display optionsAInspect
Change how invoice PDFs are printed. iva_display: IVA columns per line (ninguno = none, porcentaje = rate, porcentaje_cuota = rate + amount, porcentaje_total = rate + line total with IVA, auto = rate only when the invoice mixes rates). show_contix_badge: false hides the small 'Factura creada con contix.' note (on by default). header_phone / header_whatsapp: printed in the invoice header with an icon, empty string removes the line. Display only, no tax logic. Pass only what changes. Returns the updated display settings.
Inputs: iva_display, header_phone, header_whatsapp, show_contix_badge.
set_invoice_seriesSet invoice series/numberingADestructiveInspect
Set the invoice numbering series (serie / numeración / prefijo / formato / número inicial). number_format is a template: {PREFIJO} (required), {AAAA} or {AA} (year, OPTIONAL), {NNNN} (number, count of N = zero padding). WITHOUT a year token the counter runs continuously across years (Zoho style, e.g. '{PREFIJO}-{NNNN}' -> F-0158). Use start_number to continue numbering from a previous program ('quiero seguir en el número 15'). Changing prefix or format opens a NEW series (the old one stays closed and correlative). The start number is only accepted while that series cycle has no finalized invoice: Veri*factu forbids gaps. Prefixes R and S are reserved. Returns the updated format and the next invoice number preview. This sets invoice numbering only; quote numbering is separate, see set_quote_series.
Inputs: start_number, number_format, invoice_prefix.
set_product_groupsSet product groupsADestructiveInspect
Replace the account's list of product groups (max 30 names, 50 chars each). Existing invoices keep the name they carry; removing a group changes no invoice. Returns the saved list of group names.
Inputs: product_groups (required).
set_quote_seriesSet quote start numberAInspect
Set the first number of the quote series (e.g. 2299 to continue from another program). Numbers are max(start, last+1), so a start below existing quotes never causes duplicates. null resets to 1. Returns the next quote number after the change. This sets quote numbering only; invoice numbering is separate, see set_invoice_series.
Inputs: start_number (required).
submit_invoice_to_faceSubmit invoice to FACe (B2G)ADestructiveInspect
Sign a finalized invoice with XAdES-EPES and submit it to FACe, the Spanish government invoicing gateway, returning the número de registro. Requires the customer to be marked as public administration with its three DIR3 codes, and a digital certificate uploaded in settings (the same one Verifactu uses). An invoice already registered is never submitted twice. Live submission is additionally gated per account; test environment otherwise.
Inputs: confirm (required), invoice_id (required), email.
update_customerUpdate customerBDestructiveInspect
Update fields of an existing customer (cliente). Only the fields you pass are changed. Returns the updated customer's id and name.
Inputs: customer_id (required), nif, city, email, +18 more.
update_expenseEdit expenseADestructiveInspect
Edit an existing expense (gasto) by id. Only the fields you pass are changed. Gastos are not part of the Verifactu chain, so editing is safe. Use list_expenses to find the id. Returns the updated expense's id, description and total.
Inputs: expense_id (required), notes, total, reparto, +17 more.
update_invoiceUpdate draft invoiceADestructiveInspect
Edit an existing DRAFT invoice (borrador): items, prices, customer, dates, tax/retention rates or notes. Only DRAFT invoices can be edited, a finalized invoice is immutable, use rectify_invoice instead. Exception: product_group alone (no other field) can be changed on ANY invoice, finalized or imported, it is reporting only. Only the fields you pass are changed, EXCEPT items: passing items REPLACES the full line-item list (pass all lines you want to keep, not just the changed one). Returns the updated draft's id and new total.
Inputs: invoice_id (required), items, notes, due_date, +7 more.
update_quoteUpdate quoteADestructiveInspect
Change a quote that is still draft or sent: customer, dates, rates, notes, or the whole list of items (items replaces all lines). Only the fields you pass change. Returns the quote number and new total.
Inputs: quote_id (required), items, notes, tax_rate, +4 more.
update_recurringUpdate recurring profileAInspect
Change a recurring invoice profile (factura recurrente): start or pause the series (is_active), the next or end date, automation flags, payment term, name or reference. Setting is_active=true starts the series: only do it after the user confirmed the start date and frequency, because from then on invoices are finalized and emailed to the customer without a further click. If next_invoice_date is today or earlier, call generate_recurring right after to issue the first invoice now. Pass only the fields to change. Returns the profile's state, next invoice date and whether it sends by email.
Inputs: profile_id (required), name, notes, end_date, +6 more.
validate_ibanValidate an IBANARead-onlyInspect
Check whether an IBAN is well formed: country length (SWIFT IBAN registry) and ISO 13616 check digits. For Spanish IBANs also the two account check digits (DC) and the bank (entidad) with its BIC from the Banco de España registry. A 20-digit Spanish account number (CCC) is converted to its IBAN. Pure arithmetic: it does NOT confirm that the account exists or who owns it.
Inputs: iban (required).
validate_spanish_tax_idCalculate/validate a Spanish DNI, NIE or CIF check characterARead-onlyInspect
Two modes in one input. If valor is only 1-8 digits, computes the DNI check letter and returns the full 8-digit-plus-letter DNI (digits are left-padded with zeros). If valor is a full document, validates its check character: DNI (8 digits + letter), NIE (X/Y/Z + 7 digits + letter) or CIF (entity letter + 7 digits + check digit or letter, with the entity type per Orden EHA/451/2008). Tolerates spaces, dots, dashes and an ES prefix. Pure arithmetic: it does NOT confirm the document exists, is active or belongs to the person who gave it. In validation mode, returns valido (true/false) and, when it does not match, the correct check character (letra_correcta / control_correcto).
Inputs: valor (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Invoicing your AI agent runs for you: invoices, quotes, expenses, VAT books. Veri*factu for Spain.
Spanish e-invoicing with VeriFactu (AEAT): issue invoices, manage customers, validate NIFs.
Spanish SME suite: VeriFactu invoices, time clock, e-sign. AI drafts; you approve.
Spanish invoicing with VeriFactu (AEAT): invoices, quotes, contacts, products, taxes and filings.
Related MCP Servers
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- AlicenseBqualityDmaintenanceEnables AI assistants to create tax-compliant Spanish invoices, record expenses, manage contacts, quotes, and payments through the Billin platform, including Verifactu-compliant workflows.11MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to interact with Quipu accounting data via natural language, including invoicing, expenses, contacts, and Spanish VAT reporting.1843 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to audit Spanish VERI*FACTU invoice chains and exported XML by recomputing AEAT fingerprints and verifying record links, generate AEAT tax QR codes and images, and build or validate Facturae 3.2.2 invoices offline. It also exposes helpers for NIF checks, QR URL checks, compliance deadlines, and credit balances.11154 PyPIBusiness Source 1.1
Glama MCP Gateway
Add one secure layer between your agents and this server.