Skip to content

Integration · Accounting

facturadirecta.com

Connect Claude & ChatGPT to FacturaDirecta

Ask your AI which invoices are unpaid, to draft an invoice for a client, or to email an estimate. It reads contacts, sales invoices, estimates, supplier bills, products, bank accounts and IVA rates in FacturaDirecta. It can also create invoices and estimates, email them to clients, record payments received and log supplier bills.

Connect FacturaDirecta free

Free plan, no credit card. Takes about a minute.

Try asking

  • “Which sales invoices from March are still unpaid?”

    The AI lists invoices in that date range filtered by state, with client and totals.

  • “Create a draft invoice for Talleres Ruiz: 8 hours of maintenance at 45 euros plus IVA.”

    It finds the client and the IVA rate and creates a draft invoice with one line. The draft stays provisional.

  • “Email invoice F-240 to the client.”

    It sends the invoice by email to the address you give, with an optional subject and message.

What your AI can do

Invoices and payments

Create, update and email sales invoices, get PDFs, and record payments received against your bank accounts.

Estimates and bills

Create, update and email estimates, and list, read and record supplier bills.

Contacts and products

Search, create and update clients, suppliers and products, and list IVA rates and payment methods.

  • “Invoice F-231 was paid by transfer today, record it.”

    It looks up your bank account and records the payment on the invoice. This books the payment in your accounts and does not move money.

  • “Log this supplier bill from Suministros Levante for 312 euros.”

    It finds the supplier contact and records the bill with date, document number, amount and taxes.

  • “Send me the PDF of invoice F-240.”

    It fetches the PDF of the sales invoice.

148 tools for FacturaDirecta

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • archive_endpointDeletesDisable a endpoint (endpoint id). Destructive action; may require approval. API summary: Desactivar endpoint de webhook.
  • create_api_keyChanges dataCreate a new api key. Required: name or scopes. API summary: Crear API key.
  • create_billChanges dataRecord a supplier bill: `content` with type and main (supplier contact ID, date, docNumber, lines with amounts and taxes).
  • create_contactChanges dataCreate a client or supplier: `content` with type and main (name, fiscalId, email, address, city, zipcode, country). Search first to avoid duplicates.
  • create_custom_fieldChanges dataCreate a new custom field. Required: title or doc types. API summary: Crear campo personalizado.
  • create_documentChanges dataCreate a new document. Required: filename. API summary: Subir un archivo.
  • create_document_commitChanges dataCreate a new commit for a document. API summary: Sellar un upload presigned tras subirlo a S3.
  • create_endpointDeletesCreate a new endpoint. Required: name, url or events. Destructive action; may require approval. API summary: Crear endpoint de webhook.
  • create_endpoint_rotate_secretDeletesCreate a new rotate secret for a endpoint. Destructive action; may require approval. API summary: Rotar secret de firma del endpoint.
  • create_estimateChanges dataCreate an estimate: `content` with type and main (contact ID, date, lines with description, quantity, price and taxes).
  • create_event_retryDeletesCreate a new retry for a event. Destructive action; may require approval. API summary: Reintentar entrega de evento.
  • create_inboxChanges dataCreate a new inbox. Required: upload. API summary: Subir un documento a la bandeja de entrada.
  • create_inbox_invoiceChanges dataCreate a new invoice for a inbox. API summary: Propuesta de factura de compra desde un item de la bandeja.
  • create_inbox_propose_payrollChanges dataCreate a new propose payroll for a inbox. API summary: Propuesta de nómina desde un item de la bandeja.
  • create_inbox_ticketChanges dataCreate a new ticket for a inbox. API summary: Propuesta de ticket de compra desde un item de la bandeja.
  • create_invoiceChanges dataCreate a sales invoice: `content` with type "invoice" and main (contact ID, date, dueDate, lines with product/description, quantity, price and taxes). Set draft true to keep it provisional; a final invoice gets a legal number and cannot be freely deleted.
  • create_invoice_create_recurring_invoiceChanges dataCreate a new invoice. Required: content. API summary: Crea factura de venta recurrente.
  • create_invoice_documentChanges dataCreate a new document for a invoice. Required: upload ids. API summary: Vincular adjuntos a una factura.
  • create_invoice_document_add_bill_attachmentsChanges dataCreate a new document for a invoice. API summary: Vincular adjuntos a una factura de compra o ticket.
  • create_invoice_document_add_recurring_invoice_attachmentsChanges dataCreate a new document for a invoice. Required: upload ids. API summary: Vincular adjuntos a una factura recurrente.
  • create_invoice_payment_create_bill_paymentsChanges dataCreate a new payment for a invoice. Required: payments. API summary: Crear pagos para una factura de compra o ticket.
  • create_messageChanges dataCreate a new message. Required: content. API summary: Crear albarán.
  • create_message_documentChanges dataCreate a new document for a message. Required: upload ids. API summary: Vincular adjuntos a un albarán.
  • create_orderChanges dataCreate a new order. Required: content. API summary: Crear pedido.
  • create_order_create_purchase_orderChanges dataCreate a new order. Required: content. API summary: Crear orden de compra.
  • create_order_documentChanges dataCreate a new document for a order. Required: upload ids. API summary: Vincular adjuntos a un pedido.
  • create_order_document_add_purchase_order_attachmentsChanges dataCreate a new document for a order. Required: upload ids. API summary: Vincular adjuntos a una orden de compra.
  • create_paymentChanges dataCreate a new payment. Required: content. API summary: Crear método de pago.
  • create_payrollChanges dataCreate a new payroll. Required: content. API summary: Crear nómina.
  • create_payroll_documentChanges dataCreate a new document for a payroll. API summary: Vincular adjuntos a una nómina.
  • create_payroll_paymentChanges dataCreate a new payment for a payroll. Required: payments. API summary: Crear pagos para una nómina.
  • create_productChanges dataCreate a product or service: `content` with type and main (title, sku, sale price, taxes).
  • create_product_stock_adjustmentChanges dataCreate a new stock adjustment for a product. Required: quantity or reason. API summary: Ajuste manual de stock.
  • create_quote_documentChanges dataCreate a new document for a quote. Required: upload ids. API summary: Vincular adjuntos a un presupuesto.
  • create_statement_reconciliationChanges dataCreate a new reconciliation for a statement. Required: lines. API summary: Conciliar extracto bancario creando un nuevo asiento contable.
  • create_substitutionChanges dataCreate a new substitution. Required: contact or substituted invoices. API summary: Crear factura sustitutiva de simplificadas.
  • delete_api_keyDeletesPermanently delete a api key by api key id. Destructive action; may require approval. API summary: Eliminar API key.
  • delete_contactDeletesPermanently delete a contact by contact id. Destructive action; may require approval. API summary: Borrar contacto.
  • delete_custom_fieldDeletesPermanently delete a custom field by custom field id. Destructive action; may require approval. API summary: Borrar campo personalizado.
  • delete_endpointDeletesPermanently delete a endpoint by endpoint id. Destructive action; may require approval. API summary: Eliminar endpoint de webhook.
  • delete_inboxDeletesPermanently delete a inbox by inbox id. Destructive action; may require approval. API summary: Archivar un item de la bandeja.
  • delete_invoiceDeletesPermanently delete a invoice by invoice id. Destructive action; may require approval. API summary: Borrar factura.
  • delete_invoice_delete_billDeletesPermanently delete a invoice by invoice id. Destructive action; may require approval. API summary: Borrar factura de compra o ticket.
  • delete_invoice_delete_recurring_invoiceDeletesPermanently delete a invoice by invoice id. Destructive action; may require approval. API summary: Borrar factura de venta recurrente.
  • delete_invoice_documentDeletesPermanently delete a document by document index. Destructive action; may require approval. API summary: Eliminar adjunto de una factura de venta.
  • delete_invoice_document_delete_bill_attachmentDeletesPermanently delete a document by document index. Destructive action; may require approval. API summary: Eliminar adjunto de una factura de compra o ticket.
  • delete_invoice_document_delete_recurring_invoice_attachmentDeletesPermanently delete a document by document index. Destructive action; may require approval. API summary: Eliminar adjunto de una factura recurrente.
  • delete_messageDeletesPermanently delete a message by message id. Destructive action; may require approval. API summary: Borrar albarán.
  • delete_message_documentDeletesPermanently delete a document by document index. Destructive action; may require approval. API summary: Eliminar adjunto de un albarán.
  • delete_orderDeletesPermanently delete a order by order id. Destructive action; may require approval. API summary: Borrar pedido.
  • delete_order_delete_purchase_orderDeletesPermanently delete a order by order id. Destructive action; may require approval. API summary: Borrar orden de compra.
  • delete_order_documentDeletesPermanently delete a document by document index. Destructive action; may require approval. API summary: Eliminar adjunto de un pedido.
  • delete_order_document_delete_purchase_order_attachmentDeletesPermanently delete a document by document index. Destructive action; may require approval. API summary: Eliminar adjunto de una orden de compra.
  • delete_paymentDeletesPermanently delete a payment by payment id. Destructive action; may require approval. API summary: Borrar método de pago.
  • delete_payrollDeletesPermanently delete a payroll by payroll id. Destructive action; may require approval. API summary: Borrar nómina.
  • delete_payroll_documentDeletesPermanently delete a document by document index. Destructive action; may require approval. API summary: Eliminar adjunto de una nómina.
  • delete_productDeletesPermanently delete a product by product id. Destructive action; may require approval. API summary: Borrar producto.
  • delete_quoteDeletesPermanently delete a quote by quote id. Destructive action; may require approval. API summary: Borrar presupuesto.
  • delete_quote_documentDeletesPermanently delete a document by document index. Destructive action; may require approval. API summary: Eliminar adjunto de un presupuesto.
  • delete_statement_reconciliationsMoves moneyPermanently delete a reconciliation by statement id. Financial or irreversible action; may require approval. API summary: Desconciliar extracto bancario.
  • download_invoice_pdf_pdfChanges dataDownload the pdf document for a invoice. API summary: Generar muestra de la factura de venta recurrente en formato PDF.
  • download_message_pdfChanges dataDownload the pdf document for a message. API summary: Generar el albarán en formato PDF.
  • download_order_pdfChanges dataDownload the pdf document for a order. API summary: Generar el pedido en formato PDF.
  • download_order_pdf_pdfChanges dataDownload the pdf document for a order. API summary: Generar la orden de compra en formato PDF.
  • download_quote_pdfChanges dataDownload the pdf document for a quote. API summary: Generar el presupuesto en formato PDF.
  • get_api_keyGet one api key by api key id. API summary: Obtener API key.
  • get_billGet one purchase bill by `invoice_id` (the bill ID).
  • get_contactGet one contact by `contact_id`, with fiscal details, address and payment settings.
  • get_custom_fieldGet one custom field by custom field id. API summary: Obtener campo personalizado.
  • get_endpointGet one endpoint by endpoint id. API summary: Obtener endpoint de webhook.
  • get_estimateGet one estimate by `quote_id`, with lines, totals and status.
  • get_eventGet one event by event id. API summary: Obtener evento de webhook.
  • get_inboxGet one inbox by inbox id. API summary: Detalle de un item de la bandeja.
  • get_invoiceGet one sales invoice by `invoice_id`, with lines, taxes, totals, payments and status.
  • get_invoice_get_recurring_invoiceGet one invoice by invoice id. API summary: Obtener una factura de venta recurrente.
  • get_invoice_pdfChanges dataGet the PDF of a sales invoice by `invoice_id`.
  • get_messageGet one message by message id. API summary: Obtener un albarán.
  • get_orderGet one order by order id. API summary: Obtener un pedido.
  • get_order_get_purchase_orderGet one order by order id. API summary: Obtener una orden de compra.
  • get_paymentGet one payment by payment id. API summary: Obtener un método de pago.
  • get_payrollGet one payroll by payroll id. API summary: Obtener una nómina.
  • get_productGet one product by `product_id`, with prices, taxes and stock settings.
  • get_profileGet the signed-in FacturaDirecta user profile and the companies it can access.
  • get_seriesGet one series by document type. API summary: Lista de series de numeración.
  • get_statementGet one statement by statement id. API summary: Obtener un extracto bancario.
  • list_api_key_infosList api key infos. API summary: Información de la API key actual.
  • list_api_keysList api keys. API summary: Lista de API keys.
  • list_bank_accountsList your bank and cash accounts with their IDs, needed when recording payments.
  • list_billsList purchase bills (facturas recibidas), filtered by contact, state, date range, total or tags.
  • list_custom_fieldsList custom fields. Optional filters: title, doc types, archived, min creation date, max creation date or min modification date. Results are paginated. API summary: Lista de campos personalizados.
  • list_endpointsList endpoints. API summary: Lista de endpoints de webhooks.
  • list_estimatesList estimates (presupuestos), filtered by contact, series, date range, total or tags.
  • list_eventsList events. Optional filters: endpoint id, type or status. Results are paginated. API summary: Lista de eventos de webhook.
  • list_inboxesList inboxes. Optional filters: status, source, min date, max date or archived. Results are paginated. API summary: Lista de items en la bandeja de entrada.
  • list_invoice_documentsList documents for a invoice. API summary: Listar adjuntos de una factura de venta.
  • list_invoice_documents_get_bill_attachmentsList documents for a invoice. API summary: Listar adjuntos de una factura de compra o ticket.
  • list_invoice_documents_get_recurring_invoice_attachmentsList documents for a invoice. API summary: Listar adjuntos de una factura recurrente.
  • list_invoicesList sales invoices, filtered by contact, state, draft, series, date range (min_date, max_date), total or tags.
  • list_invoices_get_recurring_invoicesList invoices. Optional filters: min next scheduled date, max next scheduled date, series, enabled, freq or interval. Results are paginated. API summary: Lista de facturas de venta recurrentes.
  • list_journalsList journals. Optional filters: min date, max date, account, id, document or journal priority. Results are paginated. API summary: Diario contable.
  • list_message_documentsList documents for a message. API summary: Listar adjuntos de un albarán.
  • list_messagesList messages. Optional filters: min date, max date, series, formatted series, min number or max number. Results are paginated. API summary: Lista de albaranes.
  • list_order_documentsList documents for a order. API summary: Listar adjuntos de un pedido.
  • list_order_documents_get_purchase_order_attachmentsList documents for a order. API summary: Listar adjuntos de una orden de compra.
  • list_ordersList orders. Optional filters: state, min date, max date, series, formatted series or min number. Results are paginated. API summary: Lista de pedidos.
  • list_orders_get_purchase_ordersList orders. Optional filters: state, min date, max date, series, formatted series or min number. Results are paginated. API summary: Lista de órdenes de compra.
  • list_orders_get_purchases_taxesList orders. Optional filters: tax group. API summary: Lista de impuestos de compra disponibles.
  • list_payment_methodsList the payment methods (e.g. transfer, direct debit) with their IDs.
  • list_payroll_documentsList documents for a payroll. API summary: Listar adjuntos de una nómina.
  • list_payrollsList payrolls. Optional filters: min date, max date, contact, min total, max total or state. Results are paginated. API summary: Lista de nóminas.
  • list_product_inventoriesList inventories for a product. API summary: Stock de un producto.
  • list_product_stock_movementsList stock movements for a product. Results are paginated. API summary: Movimientos de stock de un producto.
  • list_productsList products and services, filtered by title, sku, sales or purchase use.
  • list_quote_documentsList documents for a quote. API summary: Listar adjuntos de un presupuesto.
  • list_sales_taxesList the sales tax (IVA) rates configured for the company, with IDs to use on invoice lines.
  • list_statementsList statements. Optional filters: min date, max date, bank, currency, min amount or max amount. Results are paginated. API summary: Lista de extractos bancarios.
  • list_themesList themes. API summary: Lista de plantillas de documentos disponibles.
  • record_invoice_paymentChanges dataRecord a payment received on an invoice by `invoice_id`: `payments` with bank (bank account ID), amount and date. This books the collection in your accounts; it does not move money.
  • restore_custom_fieldChanges dataRestore a custom field (custom field id). API summary: Recuperar campo personalizado.
  • restore_endpointDeletesEnable a endpoint (endpoint id). Destructive action; may require approval. API summary: Activar endpoint de webhook.
  • search_contactsSearch contacts (clients and suppliers) by name or text (`search`), fiscal_id, email, phone, country or tags. Use to find a contact ID.
  • send_estimateVisible to othersEmail an estimate by `estimate_id` to the client: `to`, optional cc, bcc, subject and html body. This sends a real email.
  • send_invoiceVisible to othersEmail an invoice by `invoice_id` to the client: `to`, optional cc, bcc, subject and html body. This sends a real email.
  • send_messageVisible to othersSend a message (delivery note id). Has effects visible outside this system. API summary: Enviar albarán por correo electrónico.
  • send_orderVisible to othersSend a order (client order id). Has effects visible outside this system. API summary: Enviar pedido por correo electrónico.
  • send_order_sendVisible to othersSend a order (purchase order id). Has effects visible outside this system. API summary: Enviar orden de compra por correo electrónico.
  • update_contactChanges dataUpdate a contact by `contact_id` with the changed fields in `content.main`.
  • update_contact_tagsVisible to othersUpdate an existing tag identified by contact id. Has effects visible outside this system. API summary: Actualizar etiquetas de contacto.
  • update_custom_fieldChanges dataUpdate an existing custom field identified by custom field id. API summary: Actualizar campo personalizado.
  • update_endpointDeletesUpdate an existing endpoint identified by endpoint id. Destructive action; may require approval. API summary: Actualizar endpoint de webhook.
  • update_estimateChanges dataUpdate an estimate by `quote_id` with the changed fields in `content.main`.
  • update_invoiceChanges dataUpdate a sales invoice by `invoice_id` with the changed fields in `content.main` (lines, dates, notes). Final invoices may be locked by Spanish invoicing rules.
  • update_invoice_facturaesVisible to othersUpdate an existing facturae identified by invoice id. Has effects visible outside this system. API summary: Generar la factura en formato facturae.
  • update_invoice_tagsVisible to othersUpdate an existing tag identified by invoice id. Has effects visible outside this system. API summary: Actualizar etiquetas de factura.
  • update_invoice_tags_update_bill_tagsVisible to othersUpdate an existing tag identified by bill id. Has effects visible outside this system. API summary: Actualizar etiquetas de factura de compra o ticket.
  • update_invoice_update_billChanges dataUpdate an existing invoice identified by invoice id. API summary: Actualizar factura de compra o ticket.
  • update_messageChanges dataUpdate an existing message identified by message id. API summary: Actualizar albarán.
  • update_message_tagsVisible to othersUpdate an existing tag identified by delivery note id. Has effects visible outside this system. API summary: Actualizar etiquetas de albarán.
  • update_orderChanges dataUpdate an existing order identified by order id. API summary: Actualizar pedido.
  • update_order_tagsVisible to othersUpdate an existing tag identified by client order id. Has effects visible outside this system. API summary: Actualizar etiquetas de pedido.
  • update_order_tags_update_purchase_order_tagsVisible to othersUpdate an existing tag identified by purchase order id. Has effects visible outside this system. API summary: Actualizar etiquetas de orden de compra.
  • update_order_update_purchase_orderChanges dataUpdate an existing order identified by order id. API summary: Actualizar orden de compra.
  • update_paymentChanges dataUpdate an existing payment identified by payment id. API summary: Actualizar método de pago.
  • update_payrollChanges dataUpdate an existing payroll identified by payroll id. API summary: Actualizar nómina.
  • update_payroll_tagsVisible to othersUpdate an existing tag identified by payroll id. Has effects visible outside this system. API summary: Actualizar etiquetas de nómina.
  • update_productChanges dataUpdate a product by `product_id` with the changed fields in `content.main`.
  • update_quote_tagsVisible to othersUpdate an existing tag identified by estimate id. Has effects visible outside this system. API summary: Actualizar etiquetas de presupuesto.
  • update_statement_reconciliationsVisible to othersUpdate an existing reconciliation identified by statement id. Has effects visible outside this system. API summary: Conciliar extracto bancario con asiento contable existente.

Set up in three steps

  1. 1

    Pick the app

    Create a free HeyMyApps account and choose FacturaDirecta from the app list.

  2. 2

    Paste your key

    Paste a FacturaDirecta API key and your company ID. In FacturaDirecta open Ajustes > API e integraciones and create an API key with the access scopes you need. The company ID is shown at the top of the same page as 'Identificador de tu empresa en la API'.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in FacturaDirecta?

The AI can read contacts, sales invoices and their PDFs, estimates, supplier bills, products, bank accounts, payment methods and IVA rates. It can create and update contacts, products, invoices and estimates, email invoices and estimates, record payments on invoices and record supplier bills.

Does the AI see my FacturaDirecta API key?

No. Your FacturaDirecta credentials are encrypted at rest and never shown to the AI. After you save them, they are not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, so you can start read-only. Sending invoices and estimates emails your clients, a final invoice gets a legal number, and recording a payment books it in your accounts. These tools can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your HeyMyApps link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

HeyMyApps has a free plan with no credit card required. Paid plans bill per completed task. You also need your own FacturaDirecta account.

Can the AI create a final invoice?

Yes, if you allow it. The AI can create an invoice as a draft, which stays provisional, or as a final invoice, which gets a legal number and cannot be freely deleted. Final invoices may also be locked by Spanish invoicing rules. Working with drafts and requiring approval for invoice creation keeps you in control.

Let your AI work in FacturaDirecta today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect FacturaDirecta free

HeyMyApps is not affiliated with FacturaDirecta. Product names are trademarks of their owners.