Skip to content

Integration · Accounting

Connect Claude & ChatGPT to Codat

Ask your AI about the businesses you have connected in Codat and get answers from their accounting data. It can find companies and their connections, check when data was last synced, and read customers, suppliers, invoices, bills, payments, the chart of accounts and bank transactions. It can also pull profit and loss, balance sheet and aged debtors and creditors reports, and create customers and invoices in a company's accounting software.

Connect Codat free

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

Try asking

  • “Who owes Nordic Foods money, and how overdue is it?”

    The AI finds the company and reads its aged debtors report, grouped by customer and age.

  • “Compare Acme's profit and loss for the last three quarters.”

    It pulls the profit and loss report with three-month periods and three periods to compare.

  • “When were Acme's invoices last synced, and did it work?”

    It reads the data status for each data type, with the last sync time and whether it succeeded.

What your AI can do

Companies and connections

Search, create and update companies, list their data connections, check sync status and queue a refresh of any data type.

Accounting data

Read customers, suppliers, invoices, bills, payments, bill payments, the chart of accounts, bank accounts and bank transactions.

Financial reports

Pull profit and loss, balance sheet, aged debtors and aged creditors reports, and create customers and invoices.

  • “Refresh the bills for Nordic Foods.”

    It queues a fresh pull of bills from the company's accounting software.

  • “Which sales invoices at Acme are still unpaid?”

    It searches the company's invoices with a Codat query on status and lists amount due and due date.

  • “Create a customer called Baker & Co in Acme's accounting software.”

    It finds the right connection and creates the customer there. You can check the push operations to see that it arrived.

28 tools for Codat

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

  • create_companyChanges dataCreate a company in Codat with a `name`, optional `description` and `tags`, ready to be linked to accounting software.
  • create_customerChanges dataCreate a customer in the company's accounting software via `connection_id`: `customer_name`, `status`, email, phone, addresses and tax number.
  • create_invoiceChanges dataCreate a sales invoice in the company's accounting software via `connection_id`: `status`, `issue_date`, `total_amount`, `amount_due`, `total_tax_amount`, customer and line items.
  • get_aged_creditors_reportGet the aged creditors report (what the company owes suppliers and for how long) by `company_id`, with optional `report_date` and period settings.
  • get_aged_debtors_reportGet the aged debtors report (who owes the company money and for how long) by `company_id`, with optional `report_date` and period settings.
  • get_balance_sheetGet a company's balance sheet by `company_id`, with `period_length` (months per period), `periods_to_compare` and optional `start_month`.
  • get_billGet one bill (supplier invoice) by `company_id` and `bill_id`, with lines, amounts and status.
  • get_companyGet one company by `company_id`, with its name, description, tags and data connections.
  • get_company_infoGet a company's business details as held in its accounting software (legal name, addresses, registration and tax numbers, base currency) by `company_id`.
  • get_customerGet one customer by `company_id` and `customer_id`, with contact details, addresses and status.
  • get_data_statusShow when each data type (invoices, customers, etc.) was last synced for a company, by `company_id`, and whether the sync succeeded.
  • get_invoiceGet one sales invoice by `company_id` and `invoice_id`, with lines, amounts, due date and status.
  • get_profit_and_lossGet a company's profit and loss report by `company_id`, with `period_length` (months per period), `periods_to_compare` and optional `start_month`.
  • get_supplierGet one supplier by `company_id` and `supplier_id`, with contact details and status.
  • list_bank_accountsList a company's bank accounts on one connection, by `company_id` and `connection_id`, with balances.
  • list_bank_transactionsList the transactions on one bank account by `company_id`, `connection_id` and `account_id`.
  • list_connectionsList a company's data connections (linked accounting, banking or commerce platforms) by `company_id`, with status. Use to find a `connection_id`.
  • list_push_operationsList a company's push (write) operations by `company_id`, to check whether created or updated records reached the accounting software.
  • refresh_data_typeChanges dataQueue a fresh pull of one `data_type` (e.g. invoices, customers, bills) for a company by `company_id`, optionally for one `connection_id`.
  • search_accountsList or search a company's chart of accounts by `company_id`, with an optional Codat `query` string.
  • search_bill_paymentsList or search payments a company made against bills, by `company_id`, with an optional Codat `query` string.
  • search_billsList or search a company's bills (supplier invoices) by `company_id`, with an optional Codat `query` string.
  • search_companiesList or search the companies (your customers' businesses) in Codat, with an optional Codat `query` string. Use to find a company's ID.
  • search_customersList or search a company's customers by `company_id`, with an optional Codat `query` string.
  • search_invoicesList or search a company's sales invoices by `company_id`, with an optional Codat `query` string (e.g. by status or date).
  • search_paymentsList or search customer payments received by a company, by `company_id`, with an optional Codat `query` string.
  • search_suppliersList or search a company's suppliers by `company_id`, with an optional Codat `query` string.
  • update_companyChanges dataUpdate a company's name, description or tags by `company_id`.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose Codat from the app list.

  2. 2

    Paste your key

    Paste your Codat API key in its Base64-encoded form. In the Codat Portal click Developers > API keys. Copy the value from the authorization header column, which is your API key already Base64-encoded, and paste it without the leading word 'Basic'.

  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 Codat?

It can search and read companies, their connections, data status, company info, customers, suppliers, invoices, bills, payments, bill payments, accounts, bank accounts and bank transactions. It can pull profit and loss, balance sheet, aged debtors and aged creditors reports. It can create and update companies, queue a data refresh, and create customers and invoices in a company's accounting software.

Does the AI see my Codat API key?

No. You paste your Codat API key into PipMCP once. It is encrypted at rest, never shown to the AI and never shown again after you save it. The AI only gets the results of the tools you have switched on.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, so you can start read-only. Creating customers and invoices writes to your client's real accounting software, and these tools can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT, open Settings › Apps & Connectors › Advanced, turn on Developer mode and 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, and you do not need a credit card to start. Paid plans are billed per completed task. You also need your own Codat account.

Whose data does the AI see?

The AI works with the companies in your own Codat account, which are the businesses that have linked their accounting, banking or commerce platforms to you. It reads the data Codat has synced for them and names each company by its ID, so you can point it at one business at a time.

Let your AI work in Codat today.

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

Connect Codat free

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