Skip to main content
Glama
AIWerk

@aiwerk/mcp-server-bexio

by AIWerk

create_purchase_order

Create purchase orders in Bexio with flexible line items, tax settings, and delivery options. Automate your procurement by generating purchase orders programmatically.

Instructions

Create a purchase order

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe id of the purchase order
mailNoThe mail address of the company
titleNo
footerNo
headerNo
user_idNoReferences a [user object](#operation/v3ListUsers)
currencyNo
languageNo
mwst_typeNoPossible values are * `included` - included means that the tax is included in the total price * `excluded` - excluded means that the tax is excluded from the total price * `exempt` - exempt means that no tax is charged
positionsNoA purchase order can have multiple line items (positions). Please note that the line items must be grouped by required, optional and discount positions.
referenceNoA reference which can be added to the document by the client.
contact_idNoReferences a [contact object](#operation/v2ListContacts)
created_atNoCreation date of the purchase order
project_idNoReferences a [project object](#operation/v2ListProjects)
updated_atNoLast time when purchase order was updated
currency_idNoReferences a [currency object](#operation/ListCurrencies)
date_formatNo
document_nrNo
is_valid_toNo
language_idNoReferences a [language object](#operation/v2ListLanguages)
mwst_is_netNoThis value affects the total if the field `mwst_type` has been set to 0.<br> `false` = Taxes are included in the total<br> `true` = Taxes will be added to the total
logopaper_idNo
api_referenceNoThis field can only be read and edited by the api. It can be used to save references to other systems.
is_valid_fromNo
template_slugNo
contact_sub_idNoReferences a [contact object](#operation/v2ListContacts)
is_valid_untilNo
bank_account_idNoReferences a [bank account object](#operation/ListBankAccounts)
is_compact_viewNo
payment_type_idNoReferences a [payment type object](#operation/v2ListPaymentTypes)
salesman_user_idNoReferences a [user object](#operation/v3ListUsers)
nb_decimals_priceNoThe maximum number of decimal digits to display for prices (line item prices, totals, etc.).
nb_decimals_amountNoThe maximum number of decimal digits to display for amounts (number of items).
custom_translationsNo
show_position_taxesNo
delivery_address_typeNo
terms_of_payment_textNoAdditional text which is displayed below the terms of payment
contact_address_manualNoThe contact address for the document. Newlines are in the format `\n`
kb_payment_template_idNo
delivery_address_manualNoThe delivery address for order. Newlines are in the format `\n`
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds no behavioral context beyond the annotations. It does not disclose what happens upon creation (e.g., document generation, numbering, required fields) or any side effects. Annotations already signal non-read-only and non-idempotent behavior, but the description fails to enrich that with useful specifics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, directly stated sentence with no extraneous fluff, and it front-loads the core action. However, its extreme brevity veers toward under-specification, so it does not fully earn a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity—40 parameters, nested objects, and no output schema—a one-sentence description is grossly inadequate. It lacks essential context about what constitutes a valid purchase order, required associations, or typical use cases, leaving the agent with insufficient information for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description contains no parameter information. With only 57% schema description coverage, the description does not compensate for the undocumented parameters, nor does it highlight key fields like contact_id, positions, mwst_type, or currency.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb ('Create') and a specific resource ('purchase order'), making the tool's primary function unambiguous. It does not explicitly distinguish from sibling document-creation tools like create_order or create_quote, but the unique resource name provides inherent differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives (e.g., create_order, create_quote), nor does it mention any prerequisites or exclusions. The sole sentence offers no contextual usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIWerk/mcp-server-bexio'

If you have feedback or need assistance with the MCP directory API, please join our Discord server