KASSA.AT MCP by usefulapi

v1.6.1
io.usefulapi/kassa-at Checked 2 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
article_numberstringExact article number.
bar_codestringExact bar code.
company_article_idstringYour own article number (number, or an operator as in the docs).
fieldsstringComma-separated list of fields to return, for example id,line_item_name.
limitintegerRows per page, 1 to 1000 (default 100).
pageintegerPage number, starts at 1. Use together with limit.
product_category_idstringProduct category id.
querystringFull-text search over the article fields.
sortstringSort 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.

ParameterTypeDescription
article_id *integerThe 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.

ParameterTypeDescription
citystring
company_namestringCompany name (exact filter as the docs show).
customer_numberstringExact customer number.
emailstringE-mail address (exact filter).
fieldsstringComma-separated list of fields to return, for example id,line_item_name.
limitintegerRows per page, 1 to 1000 (default 100).
pageintegerPage number, starts at 1. Use together with limit.
querystringFull-text search over the customer fields.
sortstringSort 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.

ParameterTypeDescription
customer_number *stringThe customer number.

kassa_list_warehouses List warehouses

List the warehouses (stock locations) of the company, with id and description. GET /api/v1/warehouses.

ParameterTypeDescription
deletedbooleantrue = 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).

ParameterTypeDescription
warehouse_id *integerThe warehouse id (from kassa_list_warehouses).
activebooleantrue = only active inventories, false = only inactive.
articleintegerOne internal article id.
article_numberstringOne article number.
article_numbersarrayArticle numbers to look up.
inspect_stockbooleantrue = 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.

ParameterTypeDescription
inventory_id *integerThe inventory id (from kassa_list_inventories).
warehouse_id *integerThe 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.

ParameterTypeDescription
default_quantity *numberDefault quantity per sale.
gross_amount_per_item *numberGross price per item.
line_item_name *stringArticle name shown on receipts.
sales_tax_percentage *VAT percent: 0, 10, 13 or 20.
article_numberstring
bar_codestring
bar_code_2string
brandstring
drinkboolean
favouriteboolean
foodboolean
manual_gross_amount_entrybooleanLet the cashier enter the price by hand.
manual_quantity_entrybooleanLet the cashier enter the quantity by hand.
manufacturerstring
print_pickup_numberboolean
print_price_per_kgboolean
product_category_idstringComma-separated product category ids.
product_descriptionstring
product_namestring
product_typestring
supplier_article_numberstring
unitstringUnit, for example "Stk" or "kg".
variant_descriptionstring

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}.

ParameterTypeDescription
article_id *integerThe internal article id.
article_numberstring
bar_codestring
bar_code_2string
brandstring
default_quantitynumber
drinkboolean
favouriteboolean
foodboolean
gross_amount_per_itemnumberNew gross price per item.
line_item_namestring
manual_gross_amount_entrybooleanLet the cashier enter the price by hand.
manual_quantity_entrybooleanLet the cashier enter the quantity by hand.
manufacturerstring
print_pickup_numberboolean
print_price_per_kgboolean
product_category_idstringComma-separated product category ids.
product_descriptionstring
product_namestring
product_typestring
sales_tax_percentage
supplier_article_numberstring
unitstringUnit, for example "Stk" or "kg".
variant_descriptionstring

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.

ParameterTypeDescription
addressstringStreet and house number.
citystring
company_namestringCompany name of the customer.
countrystring
customer_numberstringYour customer number. An existing customer with this number is reused.
emailstring
fax_numberstring
first_namestring
last_namestring
notice_1string
notice_2string
notice_3string
phone_numberstring
tax_numberstringTax number (Steuernummer).
uidstringVAT id (UID-Nummer).
zipstring

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}.

ParameterTypeDescription
customer_id *integerThe internal customer id (from kassa_list_customers).
addressstringStreet and house number.
citystring
company_namestringCompany name of the customer.
countrystring
customer_numberstringYour customer number. An existing customer with this number is reused.
emailstring
fax_numberstring
first_namestring
last_namestring
notice_1string
notice_2string
notice_3string
phone_numberstring
tax_numberstringTax number (Steuernummer).
uidstringVAT id (UID-Nummer).
zipstring

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.

ParameterTypeDescription
inventory_id *integerThe inventory id.
quantity *numberPositive = stock in, negative = stock out.
warehouse_id *integerThe warehouse id.
textstringShort note for the movement (under 100 characters).
typestringForce the direction. Leave out to use the sign of quantity.