For Agents
Post journal entries, create and publish invoices, manage customers and items, and upload receipts in a Bokio accounting workspace.
Get started with Bokio API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"create an invoice in Bokio"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with Bokio API API.
Post a journal entry to the Bokio ledger and reverse it if a correction is needed
Create and publish a customer invoice, then record payments and settlements against it
Upload a receipt or supporting document and attach it to bookkeeping records
Manage the customer master list with create, update, and delete operations
GET STARTED
Use for: I need to create an invoice for a customer in Bokio, Post a new journal entry for last month's payroll, Reverse a journal entry that was booked in error, Upload a supplier receipt and attach it to a transaction
Not supported: Does not handle payroll, tax filing, or bank account aggregation — use for Bokio bookkeeping, invoicing, and journal entry workflows only.
Jentic publishes the only available OpenAPI document for Bokio API, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for Bokio API, keeping it validated and agent-ready. Bokio is a Swedish cloud accounting platform used by small businesses and sole traders to keep books, invoice customers, and reconcile bank activity. The API exposes journal entries, customers, invoices, items, uploads (receipts), the chart of accounts, and connection management. Use it to post journal entries, issue and publish invoices, attach receipt uploads, and reconcile invoice payments without leaving your own application.
Maintain the product and service item catalogue used in invoicing
Inspect the chart of accounts and active third-party connections for a company
Patterns agents use Bokio API API for, with concrete tasks.
★ Automated Invoicing for SaaS Subscriptions
Generate Bokio invoices automatically when a Swedish customer is billed in your application, attach the line items, and publish so the invoice is sent and booked. The /invoices endpoints create, update, and publish invoices, and /invoices/{invoiceId}/payments records settlement when the customer pays. Removes the manual data entry that small Swedish businesses typically do at month end.
POST /invoices for customer 9241 with two line items totalling 4500 SEK, then POST /invoices/{invoiceId}/publish
Receipt Upload and Attachment
Capture supplier receipts from email or a mobile app and push them into Bokio so they are stored alongside the journal entry that records the expense. The /uploads endpoint accepts the file, and the resulting upload ID can be referenced when posting the journal entry. Helps Swedish bookkeepers comply with the digital archive requirement.
POST /uploads with the receipt PDF, then POST /journal-entries referencing the returned upload ID
Bank Reconciliation Workflow
Pull invoices, post matching payments, and create settlements as bank transactions arrive so the ledger stays current. Combine /invoices, /invoices/{invoiceId}/payments, and /invoices/{invoiceId}/settlements to close out receivables. Useful for finance teams that want continuous reconciliation rather than a month-end batch.
POST /invoices/{invoiceId}/payments with amount 1200 SEK and date 2026-06-01 for invoice 8821
AI Agent Bookkeeping Assistant
An AI agent uses Jentic to discover Bokio operations from natural-language requests, creates invoices, posts journal entries, and uploads receipts on behalf of a Swedish small business. Credentials are isolated in the Jentic vault so the OAuth refresh token never reaches the prompt. The agent runs the search-load-execute cycle for each accounting action.
Search Jentic for 'create an invoice in Bokio', load the operation, and execute it with the customer ID and line items
34 endpoints — jentic publishes the only available openapi specification for bokio api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/invoices
Create an invoice
/invoices/{invoiceId}/publish
Publish an invoice so it is issued and booked
/invoices/{invoiceId}/payments
Record a payment against an invoice
/journal-entries
Post a journal entry to the ledger
/journal-entries/{journalId}/reverse
Reverse a posted journal entry
/uploads
Add a receipt or supporting document upload
/chart-of-accounts
Read the company chart of accounts
/invoices
Create an invoice
/invoices/{invoiceId}/publish
Publish an invoice so it is issued and booked
/invoices/{invoiceId}/payments
Record a payment against an invoice
/journal-entries
Post a journal entry to the ledger
/journal-entries/{journalId}/reverse
Reverse a posted journal entry
Three things that make agents converge on Jentic-routed access.
Credential isolation
Bokio OAuth refresh tokens are stored encrypted in the Jentic vault (MAXsystem). Agents receive short-lived scoped bearer tokens — the long-lived refresh token never enters the agent context or logs.
Intent-based discovery
Agents search Jentic with intents like 'create an invoice in Bokio' or 'post a journal entry' and Jentic returns the matching operation with its input schema, removing the need to read the Bokio docs.
Time to first call
Direct Bokio integration: 3-5 days to wire up OAuth, refresh handling, invoice publishing, and reconciliation. Through Jentic: under an hour with search, load, and execute.
Alternatives and complements available in the Jentic catalogue.
BoldSign API
Send Bokio-generated invoices for e-signature before publishing.
Pair when contracts must be signed alongside or before invoice issuance.
Boleto Cloud API
Boleto handles Brazilian payment slips while Bokio handles Swedish accounting.
Choose Boleto for Brazilian receivables; choose Bokio when the company books in Sweden.
BookingSync API
Sync rental booking revenue from BookingSync into Bokio invoices and journal entries.
Use this combination for Swedish short-term rental operators that book revenue in Bokio.
Specific to using Bokio API API through Jentic.
Why is there no official OpenAPI spec for Bokio API?
Bokio does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Bokio 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 Bokio API use?
Bokio supports OAuth 2.0 authorization code flow at /authorization/authorize and /authorization/token, plus HTTP Bearer for the resulting access token. Through Jentic the refresh token lives in the encrypted vault and the agent only ever sees a scoped, short-lived bearer.
Can I create and publish invoices with the Bokio API?
Yes. POST /invoices to create the invoice, POST /invoices/{invoiceId}/line-items to add lines, then POST /invoices/{invoiceId}/publish to issue it. You can also record payments via POST /invoices/{invoiceId}/payments.
How do I post a journal entry through Jentic?
Search Jentic for 'post a journal entry in Bokio', load the POST /journal-entries operation schema, then execute it with the entry lines. If you need to reverse it later, use POST /journal-entries/{journalId}/reverse.
What are the rate limits for the Bokio API?
The OpenAPI spec does not declare formal rate limits. Bokio's documentation at docs.bokio.se outlines fair-use guidance — back off on HTTP 429 responses and avoid tight polling loops on /invoices and /journal-entries.
Can I attach receipts to bookkeeping entries?
Yes. POST /uploads with the receipt file to get an upload ID, then reference that ID when creating the related journal entry. The uploaded file can be retrieved later via GET /uploads/{uploadId}/download.
/uploads
Add a receipt or supporting document upload
/chart-of-accounts
Read the company chart of accounts