KASSA.AT MCP by usefulapi
v1.6.1Read and update articles, customers and stock in KASSA.AT.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kassa_list_articles List articles
List the articles (products and services) of the cash register, with price, VAT percent, unit and bar codes. Full-text search with query, or filter by article number, bar code or your own article id. GET /api/v1/articles.
| Parameter | Type | Description |
|---|---|---|
article_number | string | Exact article number. |
bar_code | string | Exact bar code. |
company_article_id | string | Your own article number (number, or an operator as in the docs). |
fields | string | Comma-separated list of fields to return, for example id,line_item_name. |
limit | integer | Rows per page, 1 to 1000 (default 100). |
page | integer | Page number, starts at 1. Use together with limit. |
product_category_id | string | Product category id. |
query | string | Full-text search over the article fields. |
sort | string | Sort field and direction, as the KASSA.AT docs show. |
kassa_list_article_categories List article categories
List the product categories an article belongs to (id, name, colour). GET /api/v1/articles/{id}/product_categories.
| Parameter | Type | Description |
|---|---|---|
article_id * | integer | The internal article id (from kassa_list_articles). |
kassa_list_customers List customers
List customers, with name, customer number, address, phone and email. Full-text search with query, or filter by a field. GET /api/v1/customers.
| Parameter | Type | Description |
|---|---|---|
city | string | |
company_name | string | Company name (exact filter as the docs show). |
customer_number | string | Exact customer number. |
email | string | E-mail address (exact filter). |
fields | string | Comma-separated list of fields to return, for example id,line_item_name. |
limit | integer | Rows per page, 1 to 1000 (default 100). |
page | integer | Page number, starts at 1. Use together with limit. |
query | string | Full-text search over the customer fields. |
sort | string | Sort field and direction, as the KASSA.AT docs show. |
kassa_find_customer_by_number Find a customer by number
Find one customer by the customer number you assigned. GET /api/v1/customers/customer_number.
| Parameter | Type | Description |
|---|---|---|
customer_number * | string | The customer number. |
kassa_list_warehouses List warehouses
List the warehouses (stock locations) of the company, with id and description. GET /api/v1/warehouses.
| Parameter | Type | Description |
|---|---|---|
deleted | boolean | true = only deleted warehouses, false = only active ones. Leave out for both. |
kassa_list_inventories List inventories (stock per article)
List the inventory records of a warehouse for given articles, optionally with the current stock. Rate limited by KASSA.AT. Give article_numbers (up to 1000), article_number or article. POST /api/v1/warehouses/{id}/inventories/search (a read).
| Parameter | Type | Description |
|---|---|---|
warehouse_id * | integer | The warehouse id (from kassa_list_warehouses). |
active | boolean | true = only active inventories, false = only inactive. |
article | integer | One internal article id. |
article_number | string | One article number. |
article_numbers | array | Article numbers to look up. |
inspect_stock | boolean | true = include the current stock in each record. |
kassa_get_inventory_stock Get current stock
Get the current stock quantity of one inventory record. GET /api/v1/warehouses/{id}/inventories/{inventory_id}/stock.
| Parameter | Type | Description |
|---|---|---|
inventory_id * | integer | The inventory id (from kassa_list_inventories). |
warehouse_id * | integer | The warehouse id. |
kassa_create_article Create an article
Create a new article (product or service) in the cash register. The VAT percent must be 0, 10, 13 or 20. Creates a record; it does not delete anything. POST /api/v1/articles.
| Parameter | Type | Description |
|---|---|---|
default_quantity * | number | Default quantity per sale. |
gross_amount_per_item * | number | Gross price per item. |
line_item_name * | string | Article name shown on receipts. |
sales_tax_percentage * | VAT percent: 0, 10, 13 or 20. | |
article_number | string | |
bar_code | string | |
bar_code_2 | string | |
brand | string | |
drink | boolean | |
favourite | boolean | |
food | boolean | |
manual_gross_amount_entry | boolean | Let the cashier enter the price by hand. |
manual_quantity_entry | boolean | Let the cashier enter the quantity by hand. |
manufacturer | string | |
print_pickup_number | boolean | |
print_price_per_kg | boolean | |
product_category_id | string | Comma-separated product category ids. |
product_description | string | |
product_name | string | |
product_type | string | |
supplier_article_number | string | |
unit | string | Unit, for example "Stk" or "kg". |
variant_description | string |
kassa_update_article Update an article
Change one or more fields of an article. Only the fields you pass change; the rest stay as they are. PATCH /api/v1/articles/{id}.
| Parameter | Type | Description |
|---|---|---|
article_id * | integer | The internal article id. |
article_number | string | |
bar_code | string | |
bar_code_2 | string | |
brand | string | |
default_quantity | number | |
drink | boolean | |
favourite | boolean | |
food | boolean | |
gross_amount_per_item | number | New gross price per item. |
line_item_name | string | |
manual_gross_amount_entry | boolean | Let the cashier enter the price by hand. |
manual_quantity_entry | boolean | Let the cashier enter the quantity by hand. |
manufacturer | string | |
print_pickup_number | boolean | |
print_price_per_kg | boolean | |
product_category_id | string | Comma-separated product category ids. |
product_description | string | |
product_name | string | |
product_type | string | |
sales_tax_percentage | ||
supplier_article_number | string | |
unit | string | Unit, for example "Stk" or "kg". |
variant_description | string |
kassa_create_customer Create a customer
Create a customer record. Give at least one field. Creates a record; it does not delete anything. POST /api/v1/customers.
| Parameter | Type | Description |
|---|---|---|
address | string | Street and house number. |
city | string | |
company_name | string | Company name of the customer. |
country | string | |
customer_number | string | Your customer number. An existing customer with this number is reused. |
email | string | |
fax_number | string | |
first_name | string | |
last_name | string | |
notice_1 | string | |
notice_2 | string | |
notice_3 | string | |
phone_number | string | |
tax_number | string | Tax number (Steuernummer). |
uid | string | VAT id (UID-Nummer). |
zip | string |
kassa_update_customer Update a customer
Change one or more fields of a customer. Only the fields you pass change. This tool does not delete customers. PATCH /api/v1/customers/{id}.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | The internal customer id (from kassa_list_customers). |
address | string | Street and house number. |
city | string | |
company_name | string | Company name of the customer. |
country | string | |
customer_number | string | Your customer number. An existing customer with this number is reused. |
email | string | |
fax_number | string | |
first_name | string | |
last_name | string | |
notice_1 | string | |
notice_2 | string | |
notice_3 | string | |
phone_number | string | |
tax_number | string | Tax number (Steuernummer). |
uid | string | VAT id (UID-Nummer). |
zip | string |
kassa_record_stock_movement Record a stock movement
Add a stock movement to one inventory: a positive quantity adds stock, a negative one removes it. It changes the stock level; it does not set an absolute level. POST /api/v1/warehouses/{id}/inventories/{inventory_id}/movements.
| Parameter | Type | Description |
|---|---|---|
inventory_id * | integer | The inventory id. |
quantity * | number | Positive = stock in, negative = stock out. |
warehouse_id * | integer | The warehouse id. |
text | string | Short note for the movement (under 100 characters). |
type | string | Force the direction. Leave out to use the sign of quantity. |