For Agents
Manage the chart of accounts in a Pleo company through the Bookkeeping Core API: create, fetch, update, delete, and search accounts that Pleo expenses are bookkeeped against.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Bookkeeping Core API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Bookkeeping Core API API.
Create a new bookkeeping account inside a Pleo company's chart of accounts
Retrieve a single account by its Pleo account ID
Update an existing account's properties such as name, code, or status
Delete an account that is no longer needed in the chart of accounts
GET STARTED
Use for: Create a new bookkeeping account in our Pleo chart of accounts, Retrieve a Pleo account by its ID to confirm its current name and code, Update the name of an existing Pleo bookkeeping account, Delete a Pleo account that is no longer used
Not supported: Does not handle expense submission, card issuance, journal entries, or tax coding — use for chart-of-accounts CRUD and search inside Pleo only.
Jentic publishes the only available OpenAPI document for Bookkeeping Core API, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for Pleo's Bookkeeping Core API, keeping it validated and agent-ready. Pleo is a European business spend management platform, and the Bookkeeping Core API exposes the chart-of-accounts surface used by accounting integrations: create, retrieve, update, delete, and search the accounts that Pleo expense data is posted against. The five endpoints sit under /v1-beta/accounts and use bearer-token authentication.
Search the chart of accounts by code, name, or other filterable fields
Operate inside the /v1-beta/accounts namespace under bearer-token authentication
Patterns agents use Bookkeeping Core API API for, with concrete tasks.
★ Chart of Accounts Sync from General Ledger
Use POST /v1-beta/accounts to push each general ledger code from an upstream accounting system into Pleo, then GET /v1-beta/accounts/{accountId} to verify state. PUT updates and DELETE handles lifecycle. This is the foundational integration step before Pleo expenses can be posted to the right accounts in the source-of-truth ledger.
For each GL code in the source system, call POST /v1-beta/accounts with code and name fields, then GET /v1-beta/accounts/{accountId} to confirm the response.
Account Lookup During Expense Coding
When an expense agent needs to suggest a bookkeeping account for an expense, it calls POST /v1-beta/accounts:search with a query (for example, the merchant category or expense description) and picks the best match. This avoids hard-coding GL codes and adapts to changes in the chart of accounts without redeploys.
Call POST /v1-beta/accounts:search with a query body filtering by name LIKE 'travel' and pick the matching account ID for the expense being coded.
Account Lifecycle Maintenance
When the source accounting system retires a GL code, call DELETE /v1-beta/accounts/{accountId} to remove the corresponding Pleo bookkeeping account so it stops appearing in coding suggestions. Renames are handled by PUT /v1-beta/accounts/{accountId}. Together this keeps Pleo's chart of accounts aligned with the ledger over time.
Call PUT /v1-beta/accounts/{accountId} with the new name when a GL code is renamed, or DELETE /v1-beta/accounts/{accountId} when it is retired.
AI Bookkeeping Agent via Jentic
An AI bookkeeping assistant uses Jentic to call Pleo's Bookkeeping Core API operations on demand. When asked to add a new account or look one up, it resolves the intent through Jentic, loads the right operation, and executes it with the bearer token supplied from the vault — no manual auth code in the agent.
Through Jentic, search 'create a pleo bookkeeping account', load POST /v1-beta/accounts, and execute it with the GL code and name from the user's request.
5 endpoints — jentic publishes the only available openapi specification for pleo's bookkeeping core api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/v1-beta/accounts
Create a bookkeeping account
/v1-beta/accounts/{accountId}
Retrieve an account by ID
/v1-beta/accounts/{accountId}
Update an account
/v1-beta/accounts/{accountId}
Delete an account
/v1-beta/accounts:search
Search the chart of accounts
/v1-beta/accounts
Create a bookkeeping account
/v1-beta/accounts/{accountId}
Retrieve an account by ID
/v1-beta/accounts/{accountId}
Update an account
/v1-beta/accounts/{accountId}
Delete an account
/v1-beta/accounts:search
Search the chart of accounts
Three things that make agents converge on Jentic-routed access.
Credential isolation
Pleo bearer tokens are stored encrypted in the Jentic vault and injected per request. Agents receive a scoped, short-lived credential at execution time and the raw token never enters the agent's prompt, memory, or logs.
Intent-based discovery
Agents search Jentic by intent (e.g., 'create a pleo bookkeeping account' or 'search pleo accounts') and receive the matching operation with its path and body schema, including the /accounts:search custom-method syntax.
Time to first call
Direct Pleo integration: 2-3 days for OAuth2 setup and chart-of-accounts shape mapping. Through Jentic: under 1 hour — search, load, execute.
Alternatives and complements available in the Jentic catalogue.
Xero Accounting API
Xero is the source-of-truth ledger that Pleo bookkeeping accounts often mirror
Use Xero for the master chart of accounts and Pleo's Bookkeeping Core API to mirror those accounts into Pleo for expense coding.
Expensify API
Expensify is a competing expense management platform with its own bookkeeping surface
Pick Expensify when the team standardises on Expensify's spend platform; pick Pleo when the company uses Pleo cards and needs Pleo-side chart-of-accounts management.
Brex API
Brex offers similar corporate spend with its own accounting integration API
Choose Brex for US-based corporate spend; choose Pleo for European-headquartered companies using Pleo cards.
Specific to using Bookkeeping Core API API through Jentic.
Why is there no official OpenAPI spec for Pleo's Bookkeeping Core API?
Pleo publishes its specs at developers.pleo.io but does not maintain a single canonical OpenAPI artefact for this surface that downstream tooling can consume. Jentic generates and maintains this spec so that AI agents and developers can call Bookkeeping Core API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the Bookkeeping Core API use?
The API uses HTTP bearer authentication. You pass an Authorization: Bearer <token> header where the token is obtained from Pleo's OAuth2 flow for partner integrations. Through Jentic, the token sits in the encrypted vault and is injected per call so it never appears in agent prompts or logs.
What does this spec cover?
The five endpoints under /v1-beta/accounts cover the chart of accounts: create, retrieve, update, delete, and search. Other parts of Pleo's bookkeeping surface — bookkeeping entries, exports, tax codes, journals — are separate and not in this spec.
How do I search the chart of accounts?
Call POST /v1-beta/accounts:search with a request body describing the filter. The path uses the Google APIs custom-method syntax (resource:verb), so the search verb is appended after a colon rather than being a separate path segment. The response returns a list of matching accounts.
How do I add a new bookkeeping account through Jentic?
Run pip install jentic, then search 'create a pleo bookkeeping account', load the POST /v1-beta/accounts operation, and execute it with code and name fields. Jentic injects the bearer token at execution time and returns the created account's ID.
Is /v1-beta stable?
The path prefix /v1-beta indicates Pleo treats this as a beta surface, so non-breaking changes are likely and breaking changes are possible. Track Pleo's developer changelog and pin to known schemas in any production integration; treat 410 or unexpected 4xx responses as a signal to re-fetch the spec.