Bokio MCP by usefulapi is an MCP server published by io.usefulapi, hosted at bokio.usefulapi.io. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 23 tools, including bokio_get_company_information, bokio_list_fiscal_years, bokio_get_fiscal_year, bokio_list_chart_of_accounts, bokio_get_account.
Read Bokio accounts, invoices and customers; create drafts and journal entries.
4,367 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
The connected Bokio company: name, organisation number, company type, address, contact details.
No parameters.
{
"name": "bokio_get_company_information",
"title": "Get company information",
"description": "The connected Bokio company: name, organisation number, company type, address, contact details.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get company information",
"readOnlyHint": true
}
}Fiscal years (id, start and end date, cash or accrual accounting method, open or closed).
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1 (default 1). |
| query | string | Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: startDate, endDate, accountingMethod, status. Example: status==open |
| pageSize | integer | Items per page, 1-100 (default 25). |
{
"name": "bokio_list_fiscal_years",
"title": "List fiscal years",
"description": "Fiscal years (id, start and end date, cash or accrual accounting method, open or closed).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1 (default 1)."
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: startDate, endDate, accountingMethod, status. Example: status==open"
},
"pageSize": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page, 1-100 (default 25)."
}
}
},
"annotations": {
"title": "List fiscal years",
"readOnlyHint": true
}
}One fiscal year by id.
| Parameter | Type | Description |
|---|---|---|
| fiscalYearId * | string | The fiscal year id (a GUID). |
{
"name": "bokio_get_fiscal_year",
"title": "Get a fiscal year",
"description": "One fiscal year by id.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"fiscalYearId"
],
"properties": {
"fiscalYearId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The fiscal year id (a GUID)."
}
}
},
"annotations": {
"title": "Get a fiscal year",
"readOnlyHint": true
}
}The company's complete chart of accounts (account number, name, base-plan or custom). Not paginated.
| Parameter | Type | Description |
|---|---|---|
| query | string | Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: account, name, accountType. Example: account>=3000&&account<4000 |
{
"name": "bokio_list_chart_of_accounts",
"title": "List chart of accounts",
"description": "The company's complete chart of accounts (account number, name, base-plan or custom). Not paginated.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"description": "Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: account, name, accountType. Example: account>=3000&&account<4000"
}
}
},
"annotations": {
"title": "List chart of accounts",
"readOnlyHint": true
}
}One account of the chart of accounts by its number (for example 1930).
| Parameter | Type | Description |
|---|---|---|
| account * | integer | The account number, for example 1930. |
{
"name": "bokio_get_account",
"title": "Get an account",
"description": "One account of the chart of accounts by its number (for example 1930).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"account"
],
"properties": {
"account": {
"type": "integer",
"maximum": 99999,
"minimum": 1,
"description": "The account number, for example 1930."
}
}
},
"annotations": {
"title": "Get an account",
"readOnlyHint": true
}
}Bookkeeping journal entries (verifications) with their debit/credit lines. Filter by date or number.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1 (default 1). |
| query | string | Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: date, journalEntryNumber, title, reversedByJournalEntryId, reversingJournalEntryId. Example: date>=2024-01-01&&date<=2024-12-31 |
| pageSize | integer | Items per page, 1-100 (default 25). |
{
"name": "bokio_list_journal_entries",
"title": "List journal entries",
"description": "Bookkeeping journal entries (verifications) with their debit/credit lines. Filter by date or number.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1 (default 1)."
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: date, journalEntryNumber, title, reversedByJournalEntryId, reversingJournalEntryId. Example: date>=2024-01-01&&date<=2024-12-31"
},
"pageSize": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page, 1-100 (default 25)."
}
}
},
"annotations": {
"title": "List journal entries",
"readOnlyHint": true
}
}One journal entry (verification) with its lines.
| Parameter | Type | Description |
|---|---|---|
| journalEntryId * | string | The journal entry id (a GUID). |
{
"name": "bokio_get_journal_entry",
"title": "Get a journal entry",
"description": "One journal entry (verification) with its lines.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"journalEntryId"
],
"properties": {
"journalEntryId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The journal entry id (a GUID)."
}
}
},
"annotations": {
"title": "Get a journal entry",
"readOnlyHint": true
}
}Customers of the company, highest customer number first.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1 (default 1). |
| query | string | Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: name, customerNumber, type, vatNumber, orgNumber, modifiedDateTime. Example: name~Acme |
| pageSize | integer | Items per page, 1-100 (default 25). |
{
"name": "bokio_list_customers",
"title": "List customers",
"description": "Customers of the company, highest customer number first.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1 (default 1)."
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: name, customerNumber, type, vatNumber, orgNumber, modifiedDateTime. Example: name~Acme"
},
"pageSize": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page, 1-100 (default 25)."
}
}
},
"annotations": {
"title": "List customers",
"readOnlyHint": true
}
}One customer by id.
| Parameter | Type | Description |
|---|---|---|
| customerId * | string | The customer id (a GUID). |
{
"name": "bokio_get_customer",
"title": "Get a customer",
"description": "One customer by id.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customerId"
],
"properties": {
"customerId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The customer id (a GUID)."
}
}
},
"annotations": {
"title": "Get a customer",
"readOnlyHint": true
}
}Sales invoices (draft, published, paid, overdue, credited) with line items and totals.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1 (default 1). |
| query | string | Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: type, status, invoiceDate, dueDate, customerRef.id, customerRef.customerNumber, orderNumberReference, projectReference, buyerReference, contractReference, currency, t… |
| pageSize | integer | Items per page, 1-100 (default 25). |
| projectId | string | The project id (a GUID). |
{
"name": "bokio_list_invoices",
"title": "List invoices",
"description": "Sales invoices (draft, published, paid, overdue, credited) with line items and totals.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1 (default 1)."
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: type, status, invoiceDate, dueDate, customerRef.id, customerRef.customerNumber, orderNumberReference, projectReference, buyerReference, contractReference, currency, totalAmount. Example: status==overdue"
},
"pageSize": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page, 1-100 (default 25)."
},
"projectId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The project id (a GUID)."
}
}
},
"annotations": {
"title": "List invoices",
"readOnlyHint": true
}
}One sales invoice by id, with line items.
| Parameter | Type | Description |
|---|---|---|
| invoiceId * | string | The invoice id (a GUID). |
{
"name": "bokio_get_invoice",
"title": "Get an invoice",
"description": "One sales invoice by id, with line items.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"invoiceId"
],
"properties": {
"invoiceId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The invoice id (a GUID)."
}
}
},
"annotations": {
"title": "Get an invoice",
"readOnlyHint": true
}
}Payments registered against one sales invoice.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1 (default 1). |
| pageSize | integer | Items per page, 1-100 (default 25). |
| invoiceId * | string | The invoice id (a GUID). |
{
"name": "bokio_list_invoice_payments",
"title": "List invoice payments",
"description": "Payments registered against one sales invoice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"invoiceId"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1 (default 1)."
},
"pageSize": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page, 1-100 (default 25)."
},
"invoiceId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The invoice id (a GUID)."
}
}
},
"annotations": {
"title": "List invoice payments",
"readOnlyHint": true
}
}Credit notes (draft or published).
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1 (default 1). |
| query | string | Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: type, status, creditDate, dueDate, customerRef, orderNumberReference, projectReference, buyerReference, contractReference, currency, totalAmount. Example: status==pub… |
| pageSize | integer | Items per page, 1-100 (default 25). |
{
"name": "bokio_list_credit_notes",
"title": "List credit notes",
"description": "Credit notes (draft or published).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1 (default 1)."
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: type, status, creditDate, dueDate, customerRef, orderNumberReference, projectReference, buyerReference, contractReference, currency, totalAmount. Example: status==published"
},
"pageSize": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page, 1-100 (default 25)."
}
}
},
"annotations": {
"title": "List credit notes",
"readOnlyHint": true
}
}One credit note by id, with line items.
| Parameter | Type | Description |
|---|---|---|
| creditNoteId * | string | The credit note id (a GUID). |
{
"name": "bokio_get_credit_note",
"title": "Get a credit note",
"description": "One credit note by id, with line items.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"creditNoteId"
],
"properties": {
"creditNoteId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The credit note id (a GUID)."
}
}
},
"annotations": {
"title": "Get a credit note",
"readOnlyHint": true
}
}Reusable invoice items: description, product type, unit price, tax rate, bookkeeping account.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1 (default 1). |
| query | string | Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: description, itemType, productType, unitType, unitPrice, taxRate. Example: productType==services |
| pageSize | integer | Items per page, 1-100 (default 25). |
{
"name": "bokio_list_items",
"title": "List items (products and services)",
"description": "Reusable invoice items: description, product type, unit price, tax rate, bookkeeping account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1 (default 1)."
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: description, itemType, productType, unitType, unitPrice, taxRate. Example: productType==services"
},
"pageSize": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page, 1-100 (default 25)."
}
}
},
"annotations": {
"title": "List items (products and services)",
"readOnlyHint": true
}
}Suppliers of the company with payment details.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1 (default 1). |
| query | string | Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: name, vatNumber, orgNumber. Example: name~Telia |
| pageSize | integer | Items per page, 1-100 (default 25). |
{
"name": "bokio_list_suppliers",
"title": "List suppliers",
"description": "Suppliers of the company with payment details.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1 (default 1)."
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: name, vatNumber, orgNumber. Example: name~Telia"
},
"pageSize": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page, 1-100 (default 25)."
}
}
},
"annotations": {
"title": "List suppliers",
"readOnlyHint": true
}
}Supplier (purchase) invoices with remaining amounts and their journal entry.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1 (default 1). |
| query | string | Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: supplierRef.id, invoiceNumber, invoiceDate, dueDate, totalAmount, currency. Example: dueDate<2024-12-31 |
| pageSize | integer | Items per page, 1-100 (default 25). |
| projectId | string | The project id (a GUID). |
{
"name": "bokio_list_supplier_invoices",
"title": "List supplier invoices",
"description": "Supplier (purchase) invoices with remaining amounts and their journal entry.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1 (default 1)."
},
"query": {
"type": "string",
"maxLength": 500,
"description": "Optional Bokio filter: property, operator, value, joined with && (operators ==, !=, <, <=, >, >=, ~ for contains). Filterable fields: supplierRef.id, invoiceNumber, invoiceDate, dueDate, totalAmount, currency. Example: dueDate<2024-12-31"
},
"pageSize": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page, 1-100 (default 25)."
},
"projectId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The project id (a GUID)."
}
}
},
"annotations": {
"title": "List supplier invoices",
"readOnlyHint": true
}
}Create a customer in the company's Bokio. If customerNumber is omitted Bokio picks the next number. Not idempotent: calling twice creates two customers; check bokio_list_customers first.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| type * | string | one of ["company","private"] |
| string | Default contact e-mail. | |
| phone | string | Default contact phone. |
| address | object | Postal address. |
| language | string | one of ["sv","en"] |
| orgNumber | string | Organisation number (companies) or personal number (private). |
| vatNumber | string | |
| paymentTerms | string | Payment terms in days, as Bokio expects, for example 30. |
| customerNumber | string |
Create a DRAFT sales invoice. Nothing is bookkept and nothing is sent until bokio_publish_invoice. Not idempotent: calling twice creates two drafts.
| Parameter | Type | Description |
|---|---|---|
| dueDate | string | Due date (YYYY-MM-DD). |
| currency | string | ISO 4217 code, default SEK. |
| lineItems * | array | |
| customerId * | string | The customer id from bokio_list_customers (a GUID). |
| invoiceDate * | string | Invoice date (YYYY-MM-DD). |
| currencyRate | number | Rate to SEK when the currency is not SEK. |
| buyerReference | string | |
| orderNumberReference | string |
{
"name": "bokio_create_invoice_draft",
"title": "Create an invoice draft",
"description": "Create a DRAFT sales invoice. Nothing is bookkept and nothing is sent until bokio_publish_invoice. Not idempotent: calling twice creates two drafts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customerId",
"invoiceDate",
"lineItems"
],
"properties": {
"dueDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Due date (YYYY-MM-DD)."
},
"currency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "ISO 4217 code, default SEK."
},
"lineItems": {
"type": "array",
"items": {
"type": "object",
"required": [
"description"
],
"properties": {
"itemId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A saved item (GUID). Bokio then takes product type, unit, VAT rate and account from the item; only quantity and unitPrice can be set on the line."
},
"taxRate": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "VAT percentage, for example 25. Required for a salesItem line without itemId."
},
"itemType": {
"enum": [
"salesItem",
"descriptionOnlyItem"
],
"type": "string",
"description": "salesItem (default) is a priced line; descriptionOnlyItem is a text line."
},
"quantity": {
"type": "number",
"description": "Required for salesItem."
},
"unitType": {
"enum": [
"unspecified",
"piece",
"hour",
"day",
"month",
"kilogram",
"gram",
"liter",
"meter",
"centimeter",
"millimeter",
"meterSquared",
"meterCubic",
"mile",
"kilometer",
"gigabyte",
"hectar",
"words",
"year",
"week",
"minute",
"megabyte",
"ton",
"custom"
],
"type": "string"
},
"unitPrice": {
"type": "number",
"description": "Price per unit excluding VAT. Required for a salesItem line without itemId; with itemId it overrides the item's price."
},
"description": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Line text. With itemId Bokio uses the saved item's own description and ignores this one."
},
"productType": {
"enum": [
"goods",
"services"
],
"type": "string",
"description": "Required for a salesItem line without itemId."
},
"customUnitType": {
"type": "string",
"maxLength": 50,
"description": "The unit label when unitType is custom, for example session."
},
"bookkeepingAccountNumber": {
"type": "integer",
"maximum": 99999,
"minimum": 1,
"description": "Revenue account; Bokio uses the default when omitted. Not allowed together with itemId."
}
}
},
"maxItems": 100,
"minItems": 1
},
"customerId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The customer id from bokio_list_customers (a GUID)."
},
"invoiceDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Invoice date (YYYY-MM-DD)."
},
"currencyRate": {
"type": "number",
"description": "Rate to SEK when the currency is not SEK.",
"exclusiveMinimum": 0
},
"buyerReference": {
"type": "string",
"maxLength": 100
},
"orderNumberReference": {
"type": "string",
"maxLength": 100
}
}
},
"annotations": {
"title": "Create an invoice draft",
"readOnlyHint": false,
"destructiveHint": true
}
}IRREVERSIBLE: publish a draft invoice. It becomes official and immutable and gets its invoice number. This does NOT bookkeep it (use bokio_record_invoice for that) and Bokio does NOT e-mail it to the customer through the API. Only call when the user has confirmed this exact invoice.
| Parameter | Type | Description |
|---|---|---|
| invoiceId * | string | The draft invoice id (a GUID). |
{
"name": "bokio_publish_invoice",
"title": "Publish an invoice (IRREVERSIBLE)",
"description": "IRREVERSIBLE: publish a draft invoice. It becomes official and immutable and gets its invoice number. This does NOT bookkeep it (use bokio_record_invoice for that) and Bokio does NOT e-mail it to the customer through the API. Only call when the user has confirmed this exact invoice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"invoiceId"
],
"properties": {
"invoiceId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The draft invoice id (a GUID)."
}
}
},
"annotations": {
"title": "Publish an invoice (IRREVERSIBLE)",
"readOnlyHint": false,
"destructiveHint": true
}
}IRREVERSIBLE: record (bookkeep) a published invoice: Bokio posts it to the ledger using the accounts of its line items. Call after bokio_publish_invoice, only when the user has confirmed.
| Parameter | Type | Description |
|---|---|---|
| invoiceId * | string | The published invoice id (a GUID). |
{
"name": "bokio_record_invoice",
"title": "Bookkeep an invoice (IRREVERSIBLE)",
"description": "IRREVERSIBLE: record (bookkeep) a published invoice: Bokio posts it to the ledger using the accounts of its line items. Call after bokio_publish_invoice, only when the user has confirmed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"invoiceId"
],
"properties": {
"invoiceId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The published invoice id (a GUID)."
}
}
},
"annotations": {
"title": "Bookkeep an invoice (IRREVERSIBLE)",
"readOnlyHint": false,
"destructiveHint": true
}
}IRREVERSIBLE bookkeeping: post a journal entry (verification) to the ledger. Debits must equal credits. It can only be undone by reversing it with bokio_reverse_journal_entry, which posts a counter-entry. Not idempotent: calling twice posts two entries. Only call when the user has confirmed the exact lines.
| Parameter | Type | Description |
|---|---|---|
| date * | string | Booking date, inside an open fiscal year (YYYY-MM-DD). |
| items * | array | |
| title * | string |
{
"name": "bokio_create_journal_entry",
"title": "Create a journal entry (IRREVERSIBLE)",
"description": "IRREVERSIBLE bookkeeping: post a journal entry (verification) to the ledger. Debits must equal credits. It can only be undone by reversing it with bokio_reverse_journal_entry, which posts a counter-entry. Not idempotent: calling twice posts two entries. Only call when the user has confirmed the exact lines.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"title",
"date",
"items"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Booking date, inside an open fiscal year (YYYY-MM-DD)."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"account",
"debit",
"credit"
],
"properties": {
"debit": {
"type": "number",
"minimum": 0,
"description": "Debit amount (0 if this is a credit line)."
},
"credit": {
"type": "number",
"minimum": 0,
"description": "Credit amount (0 if this is a debit line)."
},
"account": {
"type": "integer",
"maximum": 99999,
"minimum": 1,
"description": "Account number from the chart of accounts."
}
}
},
"maxItems": 100,
"minItems": 2
},
"title": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"annotations": {
"title": "Create a journal entry (IRREVERSIBLE)",
"readOnlyHint": false,
"destructiveHint": true
}
}IRREVERSIBLE: post a counter-entry that cancels a journal entry. Only entries created through the API can be reversed; the original stays in the ledger. Only call when the user has confirmed.
| Parameter | Type | Description |
|---|---|---|
| journalEntryId * | string | The journal entry id (a GUID). |
{
"name": "bokio_reverse_journal_entry",
"title": "Reverse a journal entry (IRREVERSIBLE)",
"description": "IRREVERSIBLE: post a counter-entry that cancels a journal entry. Only entries created through the API can be reversed; the original stays in the ledger. Only call when the user has confirmed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"journalEntryId"
],
"properties": {
"journalEntryId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The journal entry id (a GUID)."
}
}
},
"annotations": {
"title": "Reverse a journal entry (IRREVERSIBLE)",
"readOnlyHint": false,
"destructiveHint": true
}
}Tools for Bokio, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Show the company's fiscal years and chart of accounts."; "List invoices and show the details of one invoice."; "Create an invoice draft for an existing customer.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Bokio data. Free plan: 50 tool calls per month. Run bokio_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run bokio_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run bokio_upgrade without a plan: it returns both plans, each with a payment link for the user to open. bokio_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "bokio_create_customer",
"title": "Create a customer",
"description": "Create a customer in the company's Bokio. If customerNumber is omitted Bokio picks the next number. Not idempotent: calling twice creates two customers; check bokio_list_customers first.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"type"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"type": {
"enum": [
"company",
"private"
],
"type": "string"
},
"email": {
"type": "string",
"maxLength": 200,
"description": "Default contact e-mail."
},
"phone": {
"type": "string",
"maxLength": 50,
"description": "Default contact phone."
},
"address": {
"type": "object",
"required": [
"line1",
"city",
"postalCode",
"country"
],
"properties": {
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"line1": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"line2": {
"type": "string",
"maxLength": 200
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "ISO 3166-1 alpha-2 country code, for example SE."
},
"postalCode": {
"type": "string",
"maxLength": 30,
"minLength": 1
},
"countrySubdivision": {
"type": "string",
"maxLength": 10,
"description": "ISO 3166-2 subdivision code (ENG, SCT, WLS, NIR). Required by Bokio when country is GB."
}
},
"description": "Postal address."
},
"language": {
"enum": [
"sv",
"en"
],
"type": "string"
},
"orgNumber": {
"type": "string",
"maxLength": 50,
"description": "Organisation number (companies) or personal number (private)."
},
"vatNumber": {
"type": "string",
"maxLength": 50
},
"paymentTerms": {
"type": "string",
"maxLength": 50,
"description": "Payment terms in days, as Bokio expects, for example 30."
},
"customerNumber": {
"type": "string",
"maxLength": 50
}
}
},
"annotations": {
"title": "Create a customer",
"readOnlyHint": false,
"destructiveHint": true
}
}