Skip to content

Integration · Accounting

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.

27 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.

  • 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_estimateChanges dataCreate an estimate: `content` with type and main (contact ID, date, lines with description, quantity, price and taxes).
  • 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_productChanges dataCreate a product or service: `content` with type and main (title, sku, sale price, taxes).
  • 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_estimateGet one estimate by `quote_id`, with lines, totals and status.
  • get_invoiceGet one sales invoice by `invoice_id`, with lines, taxes, totals, payments and status.
  • get_invoice_pdfChanges dataGet the PDF of a sales invoice by `invoice_id`.
  • 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.
  • 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_estimatesList estimates (presupuestos), filtered by contact, series, date range, total or tags.
  • list_invoicesList sales invoices, filtered by contact, state, draft, series, date range (min_date, max_date), total or tags.
  • list_payment_methodsList the payment methods (e.g. transfer, direct debit) with their IDs.
  • list_productsList products and services, filtered by title, sku, sales or purchase use.
  • list_sales_taxesList the sales tax (IVA) rates configured for the company, with IDs to use on invoice lines.
  • 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.
  • 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.
  • update_contactChanges dataUpdate a contact by `contact_id` with the changed fields in `content.main`.
  • 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_productChanges dataUpdate a product by `product_id` with the changed fields in `content.main`.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP 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 PipMCP 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?

PipMCP 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

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