MetorialDocs

Set up Quaderno in Metorial for Claude, ChatGPT and Cursor

Share Quaderno with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 44 tools (18 read-only).

To give your team Quaderno in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Quaderno integration in a Metorial portal, and each person signs in to Quaderno with their own account. Work with Quaderno tax calculations, tax-ID validation, contacts, products, invoices, credit notes, expenses, estimates, recurring invoice templates, recorded transactions and payments, checkout sessions, jurisdiction catalog entries, and downloadable CSV reports. The integration has 44 tools, 18 read-only, 19 write and 7 destructive, plus 6 triggers.

What you'll learn

  • How an admin shares Quaderno in a portal and how each person connects
  • The 2 OAuth scopes Quaderno can request, and what each one allows
  • How to keep the 18 read-only tools and reject the other 26

Before you start

Sign-in methods

MethodTypeWhat a person provides
API KeyAPI tokenapiKey
OAuth 2.0 (Quaderno Connect) (default)OAuthSigns in to Quaderno

Also available: OAuth 2.0 (Sandbox).

The portal and metorial setup use OAuth 2.0 (Quaderno Connect) unless someone picks another method.

API Key

To connect, a person enters:

  • apiKey: Your Quaderno API key. Found at quadernoapp.com/users/api-keys

OAuth 2.0 (Quaderno Connect)

People sign in to Quaderno and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
read_onlyRead OnlyRead-only access to the Quaderno account data
read_writeRead & WriteFull read and write access to the Quaderno account

Setup settings

Whichever method you pick, setup also asks for:

  • accountName: Your Quaderno account name, used in the API base URL (e.g., ACCOUNT_NAME.quadernoapp.com). Can be found via the /authorization endpoint.

Use your own Quaderno OAuth app

With your own OAuth app, people see your company's name on the Quaderno consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Quaderno and copy the Redirect URI.

Register the app with Quaderno

Create an OAuth app or client in Quaderno and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Quaderno integration.

Admin: share Quaderno 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 Quaderno. Under Auth Method, keep OAuth 2.0 (Quaderno Connect) or pick another. For how members connect, choose Each person connects, so everyone signs in to Quaderno as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Quaderno.

Choose who gets it

Add the access groups that should see Quaderno. 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 Quaderno integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search quaderno

Employee: connect Quaderno

In the portal

Open Quaderno in the catalog

Sign in to your portal and open Quaderno. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Quaderno sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search quaderno
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth 2.0 (Quaderno Connect). To connect with API Key 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 Quaderno 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.

metorial list quaderno
metorial client list
metorial install <client-identifier> <integration-id>

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 18 read-only tools, such as get_contact and get_expense, and lose the 19 write tools, such as create_contact or create_expense, and the 7 destructive tools, such as delete_contact or delete_expense.

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 list quaderno
metorial tools <integration-id>
metorial call <integration-id> list_contacts -d '{}'

metorial tools lists the 44 tools, minus any you rejected. list_contacts takes no input. It lists contacts in one cursor page, optionally searching their name, email or tax ID.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (18)

  • get_estimate: Retrieve one estimate and its provider-calculated amounts. Needs estimateId.
  • get_contact: Retrieve a contact in the selected account. Needs contactId.
  • list_credit_notes: List one cursor page of credit notes.
  • list_contacts: List contacts in one cursor page, optionally searching their name, email or tax ID.
  • list_expenses: List a cursor page of expenses.
  • list_jurisdictions: List the provider jurisdiction catalog, optionally filtered by country or region, or retrieve one with jurisdictionId alone.
  • get_report_status: Retrieve the current state of a report request and provide its downloadable CSV when the provider supplies one. Needs requestId.
  • list_estimates: List a cursor page of estimates.
  • validate_tax_id: Ask the provider to validate a supported tax ID. Needs country and taxId.
  • get_credit_note: Retrieve one credit note and its provider-calculated amounts. Needs creditNoteId.
  • list_checkout_sessions: List one cursor page of checkout sessions, or retrieve a session with sessionId alone.
  • list_recurring: List recurring invoice templates, or retrieve one with recurringId alone.
  • get_expense: Retrieve one expense and its provider-calculated amounts. Needs expenseId.
  • get_invoice: Retrieve one invoice and its provider-calculated amounts. Needs invoiceId.
  • list_invoices: List a cursor page of invoices.
  • list_products: List a cursor page of reusable products, or retrieve one product with productId alone.
  • calculate_tax: Ask Quaderno to calculate tax using the supplied location, product and account settings. Needs toCountry.
  • get_current_account: Discover the connected identity, account subdomain and API environment.

Write tools (19)

  • create_checkout_session: Create a checkout session for a customer to complete payment. Needs successUrl and cancelUrl.
  • create_invoice: Create a invoice record with a contact and priced lines. Needs contactId and items.
  • update_contact: Update only the supplied contact fields. Needs contactId.
  • deliver_credit_note: Ask Quaderno to email the credit note to its contact. Needs creditNoteId.
  • create_expense: Create a expense record with a contact and priced lines. Needs items.
  • deliver_invoice: Ask Quaderno to email the invoice to its contact. Needs invoiceId.
  • create_recurring: Create a recurring invoice template that can automatically generate future invoices. Needs contactId, startDate, frequency and items.
  • update_expense: Update supplied supported fields. Needs expenseId.
  • create_estimate: Create an estimate using the current proforma API. Needs contactId and items.
  • record_payment: Record a payment or refund already made for a document. Needs documentType and documentId.
  • update_invoice: Update supplied supported fields. Needs invoiceId.
  • request_tax_report: Request an asynchronous CSV report. Needs reportType.
  • update_product: Update only the supplied product fields. Needs productId.
  • create_credit_note: Create a credit note against invoiceId using the current API. creditedAmount is supported for a single-line invoice and defaults to the invoice total. Needs contactId and items.
  • create_transaction: Record a sale or refund already made, with location evidence and payment details. Needs type and items.
  • deliver_estimate: Ask Quaderno to email the estimate to its contact. Needs estimateId.
  • create_contact: Create a contact representing a customer or vendor.
  • create_product: Create a reusable product with code, name and a decimal unitCost in currency major units. Needs name.
  • create_jurisdiction: Call the historical jurisdiction creation route. Needs country.

Destructive tools (7)

  • delete_payment: Delete a payment record using the historical route. Needs documentType, documentId and paymentId.
  • delete_estimate: Compatibility deletion for a legacy estimate ID using the historical estimates route. Needs estimateId.
  • delete_recurring: Delete a recurring invoice template to stop future generation. Needs recurringId.
  • delete_contact: Delete a contact. Needs contactId.
  • delete_expense: Permanently delete an expense from the selected account. Needs expenseId.
  • delete_product: Delete a product from the selected account. Needs productId.
  • delete_jurisdiction: Call the historical jurisdiction deletion route. Needs jurisdictionId.

Triggers

Quaderno has 6 triggers, which fire on events in Quaderno:

  • payment_events: Triggered when payments are created or deleted in Quaderno.
  • contact_events: Triggered when contacts are created, updated, or deleted in Quaderno.
  • checkout_events: Triggered when checkout sessions succeed, fail, or are abandoned in Quaderno.
  • threshold_events: Triggered when tax thresholds are approaching, exceeded, or when EU digital services sales reach certain limits.
  • delivery_events: Triggered when document deliveries (e.g., e-invoices) succeed, fail, or are rejected.
  • document_events: Triggered when invoices, credit notes, expenses, or receipts are created, updated, or deleted in Quaderno.

Next steps