Set up Tripletex in Metorial for Claude, ChatGPT and Cursor
Share Tripletex with your team in Claude, ChatGPT and Cursor through Metorial: tripletex JWT refresh token or tripletex consumer and employee tokens sign-in, 35 tools (20 read-only).
To give your team Tripletex in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Tripletex integration in a Metorial portal, and each person connects with a tripletex JWT refresh token. Agents can connect to Tripletex accounting and ERP data. The integration has 35 tools, 20 read-only and 15 destructive.
What you'll learn
- How an admin shares Tripletex in a portal and how each person connects
- What Tripletex asks for when you connect, and where to find it
- How to keep the 20 read-only tools and reject the other 15
Before you start
- A portal with at least one access group
- A tripletex JWT refresh token from Tripletex for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| Tripletex JWT Refresh Token (default) | Custom credentials | environment, refreshToken, companyId and sessionTtlSeconds |
| Tripletex Consumer and Employee Tokens | Custom credentials | environment, consumerToken, employeeToken, companyId and sessionExpirationDate |
The portal and metorial setup use Tripletex JWT Refresh Token unless someone picks another method.
Tripletex JWT Refresh Token
To connect, a person enters these values:
environment(optional): Tripletex environment. Use test for api-test.tripletex.tech accounts. One of "production", "test".refreshToken: Tripletex JWT refresh token for internal integrations.companyId(optional): Optional default target company id. Omit or use 0 for the token owner company.sessionTtlSeconds(optional): JWT refresh-token session TTL in seconds. Defaults to 3600.
Tripletex Consumer and Employee Tokens
To connect, a person enters these values:
environment(optional): Tripletex environment. Use test for api-test.tripletex.tech accounts. One of "production", "test".consumerToken: Tripletex consumer token.employeeToken: Tripletex employee token.companyId(optional): Optional default target company id. Omit or use 0 for the token owner company.sessionExpirationDate(optional): Optional YYYY-MM-DD expiration date for session creation. If omitted, each invocation uses tomorrow.
Setup settings
Whichever method you pick, setup also asks for:
companyId(optional): Default Tripletex target company id for API calls. Use 0 or omit for the employee token owner company; accountant proxy users can provide a client company id.
Admin: share Tripletex in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Tripletex. Under Auth Method, keep Tripletex JWT Refresh Token or pick another. For how members connect, choose Each person connects so everyone enters their own tripletex JWT refresh token, or Shared connection to enter one tripletex JWT refresh token for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Tripletex.
Choose who gets it
Add the access groups that should see Tripletex. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Tripletex integration. Once it exists, check which groups have it:
Employee: connect Tripletex
In the portal
Open Tripletex in the catalog
Sign in to your portal and open Tripletex. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your tripletex JWT refresh token (refreshToken).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses Tripletex JWT Refresh Token. To connect with Tripletex Consumer and Employee Tokens instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Tripletex connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 20 read-only tools, such as who_am_i and list_orders, and lose the 15 destructive tools, such as create_order or delete_order.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 35 tools, minus any you rejected. list_reference_data needs resourceType, so replace the placeholders. It lists Tripletex reference data needed by accounting tools, including ledger accounts, VAT types, voucher types, invoice payment types, outgoing payment types, departments, currencies, product units, product groups, and customer/supplier categories.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (20)
list_suppliers: List Tripletex suppliers with filters for ids, supplier numbers, organization number, email, active state, wholesaler flag, changed-since timestamp, pagination, sorting, and fields.list_customers: List Tripletex customers with filters for ids, account numbers, organization number, email, active state, changed-since timestamp, pagination, sorting, and fields.who_am_i: Inspect the current Tripletex session, selected company context, employee, and optionally accountant client companies with login access.list_postings_by_date: List Tripletex ledger postings by required posting date range. NeedsdateFromanddateTo.list_vouchers: List Tripletex vouchers for a required voucher date range with optional id, number, type, pagination, sorting, and fields. NeedsdateFromanddateTo.list_supplier_invoices: List Tripletex supplier invoices for a required invoice date range with optional supplier, voucher, invoice number, pagination, sorting, and fields. NeedsinvoiceDateFromandinvoiceDateTo.get_balance_sheet: Get Tripletex balance sheet account balances for a required date range with optional account, customer, employee, department, project, and pagination filters. NeedsdateFromanddateTo.list_contacts: List Tripletex contacts by name, email, customer, department, pagination, sorting, and fields.list_products: List Tripletex products by ids, product number, name, EAN, inventory flags, supplier, VAT, unit, price ranges, pagination, sorting, and fields.list_employees: List Tripletex employees and contacts with filters for ids, names, employee number, email, department, project-manager flags, system access, token ownership, period, pagination, sorting, and fields.list_projects: List Tripletex projects by id, name, number, customer, manager, department, date range, status flags, pagination, sorting, and fields.list_supplier_invoices_for_approval: List Tripletex supplier invoices currently available for approval, with optional search text, employee, show-all flag, pagination, sorting, and fields.get_document_content: Download Tripletex document content by document id and return the file as a Slate attachment. NeedsdocumentId.get_invoice_pdf: Download a Tripletex invoice PDF by invoice id and return it as a Slate attachment. NeedsinvoiceId.list_reference_data: List Tripletex reference data needed by accounting tools, including ledger accounts, VAT types, voucher types, invoice payment types, outgoing payment types, departments, currencies, product units, product groups, and customer/supplier categories. NeedsresourceType.list_document_archive: List Tripletex document archive metadata attached to a customer, supplier, project, product, or ledger account. NeedsobjectTypeandobjectId.get_supplier_invoice_pdf: Download a Tripletex supplier invoice PDF by supplier invoice id and return it as a Slate attachment. NeedsinvoiceId.list_invoices: List charged outgoing Tripletex invoices for a required invoice date range with optional invoice number, customer, voucher, pagination, sorting, and fields. NeedsinvoiceDateFromandinvoiceDateTo.list_orders: List Tripletex orders for a required order date range with optional order number, customer, closed/subscription flags, pagination, sorting, and fields. NeedsorderDateFromandorderDateTo.get_voucher_pdf: Download a Tripletex ledger voucher PDF by voucher id and return it as a Slate attachment. NeedsvoucherId.
Destructive tools (15)
upsert_supplier: Create or update a Tripletex supplier.upsert_customer: Create or update a Tripletex customer.register_invoice_payment: Register payment information on a Tripletex outgoing invoice using a payment type and paid amount. NeedsinvoiceId,paymentDate,paymentTypeIdandpaidAmount.create_invoice: Create a Tripletex invoice with embedded invoice/order lines. NeedscustomerId,invoiceDateandorderLines.delete_voucher: Delete a Tripletex ledger voucher by id. NeedsvoucherId.upsert_project: Create or update a Tripletex project.delete_order: Delete a Tripletex order by id. NeedsorderId.send_invoice: Send an existing Tripletex invoice by invoice id and send type, optionally overriding the email recipient. NeedsinvoiceIdandsendType.upsert_product: Create or update a Tripletex product.delete_project: Delete a Tripletex project by id. NeedsprojectId.create_order: Create a Tripletex order with one or more order lines. NeedscustomerId,orderDateandorderLines.manage_webhook_subscription: List Tripletex webhook event keys or list, get, create, update, and delete Tripletex webhook subscriptions. Needsoperation.upsert_contact: Create or update a Tripletex contact.invoice_order: Create a Tripletex invoice from an existing order. NeedsorderIdandinvoiceDate.create_voucher: Create a Tripletex ledger voucher with explicit postings. Needsdateandpostings.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Tripletex there
- Tool permissions: tool filters and what employees see
- Tripletex on metorial.com: the integration overview