ABRA Flexi MCP by usefulapi

v1.12.1
io.usefulapi/abra-flexi Checked 3 days ago Published 21 hours ago

MCP server for ABRA Flexi — accounting, contacts, stock and draft-checked invoice creation.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

abraflexi_get_company

Show the ABRA Flexi company the login points to (name, company id, state). Use it to check the connection.

abraflexi_list_evidences

List the evidences (tables) of the company with their Czech path and name, for example faktura-vydana = issued invoices, adresar = address book, cenik = price list. Use a path from here as 'evidence' in abraflexi_list_records / abraflexi_get_record (only business evidences are readable there).

ParameterTypeDescription
searchstringOnly evidences whose path or name contains this text (case-insensitive).

abraflexi_list_issued_invoices

List issued invoices (sales invoices to customers), newest first by default, filtered by payment status, customer/supplier code, dates or text. Money fields: sumCelkem = total, zbyvaUhradit = still to pay (in the company currency), the *Men fields are in the document currency. Returns total, next_start for paging. Pass 'fields' for other properties.

ParameterTypeDescription
customer_codestringOnly invoices of this address-book entry: its code (kod) from abraflexi_list_contacts.
due_beforestringDue date before this day (yyyy-mm-dd).
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
fromstringIssued on or after this day (yyyy-mm-dd).
limitintegerRecords per page, 1-200 (default 20).
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
searchstringText searched in the invoice number, variable symbol, customer name and description (diacritics ignored).
startintegerRecords to skip (default 0). Use next_start from the previous reply.
statusstringall (default), unpaid (open balance, not cancelled), overdue (unpaid and past its due date) or paid (nothing left to pay).
tostringIssued on or before this day (yyyy-mm-dd).

abraflexi_get_issued_invoice

Get one issued invoice with all its fields and its line items. Pass the numeric id (from the list) or an identifier such as code:<number>.

ParameterTypeDescription
id *stringRecord id: the numeric ABRA Flexi id (123) or an identifier such as code:ABC.

abraflexi_list_received_invoices

List received invoices (bills from suppliers), newest first by default, filtered by payment status, customer/supplier code, dates or text. Money fields: sumCelkem = total, zbyvaUhradit = still to pay (in the company currency), the *Men fields are in the document currency. Returns total, next_start for paging. Pass 'fields' for other properties.

ParameterTypeDescription
customer_codestringOnly invoices of this address-book entry: its code (kod) from abraflexi_list_contacts.
due_beforestringDue date before this day (yyyy-mm-dd).
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
fromstringIssued on or after this day (yyyy-mm-dd).
limitintegerRecords per page, 1-200 (default 20).
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
searchstringText searched in the invoice number, variable symbol, customer name and description (diacritics ignored).
startintegerRecords to skip (default 0). Use next_start from the previous reply.
statusstringall (default), unpaid (open balance, not cancelled), overdue (unpaid and past its due date) or paid (nothing left to pay).
tostringIssued on or before this day (yyyy-mm-dd).

abraflexi_get_received_invoice

Get one received invoice with all its fields and its line items. Pass the numeric id (from the list) or an identifier such as code:<number>.

ParameterTypeDescription
id *stringRecord id: the numeric ABRA Flexi id (123) or an identifier such as code:ABC.

abraflexi_list_contacts

List or search the address book (adresar): customers and suppliers with code (kod), name, company id (ic), VAT id (dic), e-mail, phone and address. The code from here identifies the customer in invoices.

ParameterTypeDescription
citystringOnly entries in this city.
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
limitintegerRecords per page, 1-200 (default 20).
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
searchstringText searched in code, name, company id, VAT id and e-mail (diacritics ignored).
startintegerRecords to skip (default 0). Use next_start from the previous reply.

abraflexi_get_contact

Get one address-book entry with all its fields. Pass the numeric id (from abraflexi_list_contacts) or code:<kod>.

ParameterTypeDescription
id *stringRecord id: the numeric ABRA Flexi id (123) or an identifier such as code:ABC.

abraflexi_list_products

List or search the price list (cenik): products and services with code, name, EAN, prices (without and with VAT), purchase price and whether they are stocked.

ParameterTypeDescription
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
limitintegerRecords per page, 1-200 (default 20).
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
searchstringText searched in code, name and EAN (diacritics ignored).
startintegerRecords to skip (default 0). Use next_start from the previous reply.

abraflexi_list_stock_cards

List stock cards (skladova-karta): the quantity on hand (stavMJ), reserved (rezervMJ) and available (dostupMj) per product and warehouse, with min/max limits and average price.

ParameterTypeDescription
accounting_periodstringAccounting period code (ucetni-obdobi kod, e.g. 2026). Default: the period that contains today. Stock cards exist once per period, so without this the quantities of older periods would be mixed in.
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
limitintegerRecords per page, 1-200 (default 20).
max_on_handnumberOnly cards with at most this quantity on hand (stavMJ), e.g. 0 for sold-out items or 5 for low stock. Compare minMJ in the result for the card's own minimum.
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
product_codestringOnly this product: its code (kod) from abraflexi_list_products.
startintegerRecords to skip (default 0). Use next_start from the previous reply.
warehouse_codestringOnly this warehouse: its code (kod), see abraflexi_list_records with evidence sklad.

abraflexi_list_stock_movements

List stock movements (skladovy-pohyb: receipts, issues, transfers), newest first by default, filtered by warehouse or dates.

ParameterTypeDescription
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
fromstringDated on or after this day (yyyy-mm-dd).
limitintegerRecords per page, 1-200 (default 20).
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
startintegerRecords to skip (default 0). Use next_start from the previous reply.
tostringDated on or before this day (yyyy-mm-dd).
warehouse_codestringOnly this warehouse: its code (kod).

abraflexi_list_bank_movements

List bank movements (banka: bank statement lines, incoming and outgoing payments), newest first by default, filtered by dates, bank account, variable symbol or text. sumCelkem is the amount; typPohybuK says incoming or outgoing.

ParameterTypeDescription
account_codestringOnly this bank account: its code (kod), see abraflexi_list_records with evidence bankovni-ucet or pokladna.
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
fromstringDated on or after this day (yyyy-mm-dd).
limitintegerRecords per page, 1-200 (default 20).
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
searchstringText searched in the document number, counterparty name and description (diacritics ignored).
startintegerRecords to skip (default 0). Use next_start from the previous reply.
tostringDated on or before this day (yyyy-mm-dd).
variable_symbolstringOnly movements with this variable symbol.

abraflexi_list_cash_movements

List cash desk movements (pokladni-pohyb: cash receipts and payouts), newest first by default, filtered by dates, cash desk, variable symbol or text. sumCelkem is the amount; typPohybuK says incoming or outgoing.

ParameterTypeDescription
account_codestringOnly this cash desk: its code (kod), see abraflexi_list_records with evidence bankovni-ucet or pokladna.
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
fromstringDated on or after this day (yyyy-mm-dd).
limitintegerRecords per page, 1-200 (default 20).
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
searchstringText searched in the document number, counterparty name and description (diacritics ignored).
startintegerRecords to skip (default 0). Use next_start from the previous reply.
tostringDated on or before this day (yyyy-mm-dd).
variable_symbolstringOnly movements with this variable symbol.

abraflexi_list_orders

List orders: direction 'received' = customer orders (objednavka-prijata, default), 'issued' = purchase orders to suppliers (objednavka-vydana). Newest first by default.

ParameterTypeDescription
customer_codestringOnly orders of this address-book entry: its code (kod).
directionstringreceived (customer orders, default) or issued (purchase orders).
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
fromstringOrder date on or after this day (yyyy-mm-dd).
limitintegerRecords per page, 1-200 (default 20).
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
searchstringText searched in the order number, customer name and description (diacritics ignored).
startintegerRecords to skip (default 0). Use next_start from the previous reply.
tostringOrder date on or before this day (yyyy-mm-dd).

abraflexi_list_records

List records of any business evidence (invoice types, bank accounts, warehouses, cost centres, currencies, ledger entries, price-list items, ...) with an optional filter in ABRA Flexi's filter language, for example filter "zbyvaUhradit > 0 and datSplat < now()" or "kod = 'ABC'". Operators: = <> < <= > >= like, like similar (ignores diacritics), begins, ends, between, in, and, or, not; dates as 2026-01-31. Without 'fields' the vendor's summary fields are returned.

ParameterTypeDescription
evidence *stringEvidence (table) path, e.g. faktura-vydana, adresar, cenik. See abraflexi_list_evidences for what the company has.
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.
filterstringFilter expression without the outer parentheses, e.g. "kod like 'FV' and datVyst >= 2026-01-01".
limitintegerRecords per page, 1-200 (default 20).
orderstringSort order: property@A or property@D, several separated by commas, e.g. "datVyst@D" (newest first).
startintegerRecords to skip (default 0). Use next_start from the previous reply.

abraflexi_get_record

Get one record of any business evidence with all its fields (detail full), by numeric id or identifier such as code:ABC. Field names are the vendor's Czech property names.

ParameterTypeDescription
evidence *stringEvidence (table) path, e.g. faktura-vydana, adresar, cenik. See abraflexi_list_evidences for what the company has.
id *stringRecord id: the numeric ABRA Flexi id (123) or an identifier such as code:ABC.
fieldsstringComma-separated field names to return instead of the default set (e.g. kod,datVyst,sumCelkem). Field names are the vendor's Czech property names.

abraflexi_create_contact

WRITE: create a new address-book entry (customer or supplier) in ABRA Flexi. It only adds a record; nothing is sent. Use dry_run first to see the result without saving. Check abraflexi_list_contacts first so you do not create a duplicate.

ParameterTypeDescription
name *stringName of the company or person (nazev).
citystringCity (mesto).
codestringCode (kod) for the entry; generated from the name if omitted.
country_codestringISO country code, e.g. CZ, SK, DE (stat).
dicstringVAT id (DIČ).
dry_runbooleantrue = only validate and show what would be saved, nothing is stored (recommended first). Default false = save.
emailstringE-mail address.
icstringCompany id (IČO).
mobilestringMobile number (mobil).
notestringNote (poznam).
payment_terms_daysintegerDefault payment terms in days (splatDny).
phonestringPhone number (tel).
postal_codestringPostal code (psc).
streetstringStreet and number (ulice).

abraflexi_update_contact

WRITE: change fields of an existing address-book entry (only the fields you pass are changed). The entry must exist (a wrong id is an error, nothing is created). This overwrites the current values. Use dry_run first to check.

ParameterTypeDescription
id *The numeric ABRA Flexi id of the record (the 'id' field of a list result).
citystringCity (mesto).
codestringCode (kod) for the entry; generated from the name if omitted.
country_codestringISO country code, e.g. CZ, SK, DE (stat).
dicstringVAT id (DIČ).
dry_runbooleantrue = only validate and show what would be saved, nothing is stored (recommended first). Default false = save.
emailstringE-mail address.
icstringCompany id (IČO).
mobilestringMobile number (mobil).
namestringName of the company or person (nazev).
notestringNote (poznam).
payment_terms_daysintegerDefault payment terms in days (splatDny).
phonestringPhone number (tel).
postal_codestringPostal code (psc).
streetstringStreet and number (ulice).

abraflexi_create_issued_invoice

WRITE: create an issued invoice (faktura-vydana) with line items in ABRA Flexi. The invoice is saved as a normal document with the next number of its series, and ABRA Flexi may account it automatically according to the settings of the chosen invoice type; this tool does NOT send it, mark it paid or e-mail it. Use dry_run first to see the computed totals and validation errors without saving. Find document_type_code with abraflexi_list_records (evidence typ-faktury-vydane) and customer_code with abraflexi_list_contacts.

ParameterTypeDescription
customer_code *stringCode (kod) of the customer in the address book.
document_type_code *stringCode (kod) of the issued-invoice type, e.g. FAKTURA (evidence typ-faktury-vydane).
items *arrayLine items.
currency_codestringCurrency code (mena), company currency when omitted.
descriptionstringInvoice description (popis).
dry_runbooleantrue = only validate and show what would be saved, nothing is stored (recommended first). Default false = save.
due_datestringDue date (datSplat), default from the customer's payment terms.
issue_datestringIssue date (datVyst), default today.
notestringInternal note (poznam).
variable_symbolstringVariable symbol (varSym), digits only.