Skip to content

IntegrationsAccounting · Beta

Stax.ai API integration

Put Stax.ai in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Built for specific customer use cases. Issues are resolved quickly.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1000+ apps

01Proxy API

Call the Stax.ai API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Stax.ai API. You call us, we call Stax.ai, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIStax.ai

GEThttps://api.truto.one/proxy/stacks?integrated_account_id=…

  • GET/proxy/documents

Stax.ai’s own response, passed back

02MCP server

Stax.ai tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets Stax.ai tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin Stax.ai
  • StacksList, Get one, Create, Update, Delete
  • Stack documentsList
  • DocumentsList, Get one, Create, Update, Delete, Upload, Move, Copy, Archive, Restore, Download
  • Recent documentsList
  • Document jobsList
  • Document duplicatesList
  • Archive searchList
  • Tpa plansList, Get one, Create
  • Tpa accountsList, Get one, Create
  • Tpa statementsList, Create, Confirm
  • Tpa transactionsList, Create
Show tool names32 tools, for developers
  • list_all_stax_ai_stacksList all stacks for the current team in stax. Returns: id.
  • get_single_stax_ai_stack_by_idGet a single stax stack by identifier. Returns: id.
  • create_a_stax_ai_stackCreate a new stax stack for the current team. Returns: id.
  • update_a_stax_ai_stack_by_idUpdate an existing stax stack. Returns: id.
  • delete_a_stax_ai_stack_by_idDelete a stax stack by identifier. Returns an empty 204 response on success.
  • list_all_stax_ai_stack_documentsList documents in a stax stack. Returns document records from the stack with pagination and filtering support. Returns: id.
  • list_all_stax_ai_documentsSearch documents in Stax using Elasticsearch. Returns document objects including id and content-type-specific attributes; full field breakdown depends on the document's schema in Stax.
  • get_single_stax_ai_document_by_idGet a single document in Stax. Returns the document object including id and content-type-specific attributes; full field breakdown depends on the document's schema in Stax.
  • create_a_stax_ai_documentCreate a new document in Stax. Returns the created document object including id and content-type-specific attributes; full field breakdown depends on the document's schema in Stax.
  • update_a_stax_ai_document_by_idUpdate an existing document in Stax. Returns the updated document object including id and content-type-specific attributes; full field breakdown depends on the document's schema in Stax.
  • delete_a_stax_ai_document_by_idDelete a document in Stax.ai. Requires docId. Returns success field indicating if the document was removed successfully.
  • stax_ai_documents_uploadUpload one or more documents (up to 10 files) to Stax.ai. Returns an uploads array with key document fields such as _id, name, format, download URL, and metadata.
  • stax_ai_documents_moveMove a specific document in Stax.ai to another stack. Requires docId and stackId. Returns a success flag indicating whether the operation was successful.
  • stax_ai_documents_copyCopy a document to another stack in Stax.ai. Requires docId and stackId in the request body. Returns document details including _id, name, stack, format, and metadata fields.
  • stax_ai_documents_archiveArchive a document in Stax.ai using the required docId. Returns the success field indicating whether the document was successfully archived.
  • stax_ai_documents_restoreRestore an archived document in Stax.ai. Requires docId. Returns success field indicating whether the restore operation was completed successfully.
  • stax_ai_documents_downloadDownload the original document file from Stax.ai using id. Returns the document file in binary format as application/pdf or application/octet-stream.
  • list_all_stax_ai_recent_documentsList recently viewed documents in Stax. Returns: id.
  • list_all_stax_ai_document_jobsList document_jobs in Stax.ai. Returns job details including _id, team, user, success, working, error, worker, queueTime, startTime, endTime, jobType, jobId, and jobData for each job.
  • list_all_stax_ai_document_duplicatesFind duplicate documents in stax by comparing a document's checksum against all stored documents. Returns an array of matching Document objects; each item includes id. Required: docId.
  • list_all_stax_ai_archive_searchSearch archived documents in stax. Returns a list of archived document records from the results collection; the exact field-level shape of each record is document-specific and not enumerated in the available source — consult the stax API docs for the full record schema.
  • list_all_stax_ai_tpa_plansList all TPA plans in stax. Returns: planId, externalReference.
  • get_single_stax_ai_tpa_plan_by_idGet TPA plan in Stax.ai by id. Returns planName, planType, active status, internalPlanId, pensionProId, directory, notes, and lastModified fields for the specified plan.
  • create_a_stax_ai_tpa_planCreate a new TPA plan in stax. Returns: planId, externalReference.
  • list_all_stax_ai_tpa_accountsList all TPA accounts for a plan in stax. Returns: accountId, accountNumber, planId, externalReference. Required: planId.
  • get_single_stax_ai_tpa_account_by_idGet a single TPA account in stax by its account ID. Returns: accountId, accountNumber, planId, externalReference.
  • create_a_stax_ai_tpa_accountCreate a new TPA account in stax and associate it with a plan. Returns: accountId, accountNumber, planId, externalReference. Required: planId, accountNumber.
  • list_all_stax_ai_tpa_statementsList all TPA statements in stax. Returns: statementId, planId, accountId, accountNumber, externalReference.
  • create_a_stax_ai_tpa_statementAttach a new TPA statement in stax. Returns: statementId, planId, accountId, accountNumber, externalReference.
  • stax_ai_tpa_statements_confirmConfirms (locks) a TPA statement by its ID, preventing further modifications to the statement. The endpoint accepts a POST request to /tpa/statement/confirm with a statement ID and requires cookie or bearer token authentication.
  • list_all_stax_ai_tpa_transactionsList TpaTransaction records for a statement in stax. Returns: id, attributes (transaction-specific fields defined in the stax Trust Accounting API schema; each TpaStatement has many TpaTransaction records).
  • create_a_stax_ai_tpa_transactionCreate a new TpaTransaction record in stax. Returns the created transaction including id and attributes (transaction-specific fields defined in the stax Trust Accounting API schema).

AMCP serverno code

For any MCP client

One URL per connected Stax.ai account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every Stax.ai tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

One API for Stax.ai and every other Accounting app. One mapping to go.

The Unified Accounting API gives every Accounting app the same call and the same data shape. Stax.ai is not mapped to it yet. Map it yourself, or ask us.

Stax.aion Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified Accounting APIOne mapping to goTo do

Then: one call for every Accounting app

  • Path 1 Self-serve

    Map it yourself

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Get a free sandbox

  • Path 2 We do it

    Ask Truto

    • Tell us the Stax.ai data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync Stax.ai data on a schedule. Sent to your webhook.

A sync job reads Stax.ai records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any Stax.ai endpoint. With the Truto CLI.

Need a Stax.ai endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Stax.ai path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use Stax.ai in ChatGPT, Claude or Cursor with Elaichi.

Truto puts Stax.ai in the product you build. To use Stax.ai yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship Stax.ai tools in your product

Give the AI in your product access to each customer’s own Stax.ai account, with one MCP server per connected account.

Get a sandbox with Stax.ai

Rather talk it through? Book a demo

Elaichi

For your own team

Use Stax.ai in your own AI

Connect your company’s Stax.ai once, then ask in the AI you already use, with exactly your own access.

Works in

Stax.ai on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with Stax.ai.

  1. Automate Form 5500 and ERISA compliance prep

    Compliance and tax software vendors can pull reconciled trust accounting data from Stax.ai to auto-populate Form 5500s and audit packages, eliminating manual transcription from brokerage PDFs.

  2. Provision TPA workspaces from your CRM

    Practice management and CRM platforms serving retirement TPAs can auto-create Stax.ai plans, accounts, and document stacks the moment a new plan sponsor is onboarded, keeping client environments in lockstep.

  3. Offload 401(k) census and payroll extraction

    Payroll and benefits aggregators can push raw payroll files into Stax.ai's AI extraction engine instead of building their own parsers, then surface structured census data back to TPA users when processing completes.

  4. Embed trust accounting ledgers in financial SaaS

    Accounting and reporting tools can mirror Stax.ai's Plan → Account → Statement → Transaction hierarchy to build external ledgers, dashboards, and reconciliation views over retirement plan finances.

  5. Centralize retirement document intake

    Document portals and client experience tools can route brokerage statements, payroll files, and plan documents into the right Stax.ai stacks with duplicate detection, giving TPAs a single audit-friendly source of truth.

What you can build

Ship these with Truto and Stax.ai.

  • Async document upload with job status polling

    Upload unstructured PDFs via the documents upload endpoint and track AI extraction progress through the document jobs endpoint to notify users when parsed data is ready.

  • Trust accounting hierarchy sync

    Periodically sync TPA plans, accounts, statements, and transactions into your own data model to power reporting, ledgers, or compliance workflows.

  • Statement lock and reconciliation workflow

    Let users review extracted transactions inside your app and call the statement confirm endpoint to lock reconciled statements before audits.

  • Duplicate-aware document routing

    Check incoming files against the document duplicates endpoint before moving them into client-specific stacks, keeping audit trails clean.

  • Programmatic client onboarding

    Trigger creation of Stax.ai stacks and TPA plans from your onboarding flow so every new plan sponsor gets a ready-to-use workspace without manual setup.

  • In-app document search and recents

    Surface Stax.ai's indexed documents and recent activity inside your UI so users can find brokerage statements and plan documents without leaving your product.

Security

Your customers’ Stax.ai data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Stax.ai account

    Use Truto’s frontend SDK to connect your customer’s Stax.ai account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Stax.ai

    Truto’s Proxy API is a 1-to-1 mapping of the Stax.ai API. You call us, we call Stax.ai, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Stax.ai’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Stax.ai on Truto.

How does authentication work for end users connecting their Stax.ai account?

Truto handles the credential exchange and token storage for Stax.ai on your behalf, so your end users connect once through your app and you make API calls through Truto without managing secrets directly.

How do I know when an uploaded document has finished AI extraction?

Stax.ai processes documents asynchronously. After calling the document upload endpoint, poll the list document jobs endpoint to watch for `working`, `success`, or `error` states before pulling extracted data.

Can I sync the full trust accounting hierarchy?

Yes. The integration exposes TPA plans, accounts, statements, and transactions as separate resources, so you can walk the hierarchy from a plan down to individual line-item transactions extracted from brokerage statements.

How do I prevent duplicate brokerage statements from cluttering a client's records?

Use the list document duplicates endpoint to run a checksum-based duplicate check before moving a file into a stack with the document move action.

Can statements be locked for compliance once reconciled?

Yes. Call the TPA statements confirm action to finalize a statement after reconciliation, which prevents accidental overwrites ahead of an ERISA audit.

Can I create new client workspaces programmatically?

Yes. Use the create stack and create TPA plan endpoints to provision document silos and plan records on demand, typically triggered when a new plan sponsor is onboarded in your product.

Stax.ai

Get Stax.ai integrated into your app

Sign up free, connect a test Stax.ai account and make your first call today. No card and no sales call.