{"id":300719,"recorded_at":"2026-10-26T22:26:52.417823Z","observed_at":"2026-10-26T22:26:52.417695Z","subject_kind":"endpoint","subject":"dc099bd8-634c-428b-b763-1856797a9f1e","kind":"mcp.tools","method":"probe.mcp/1","body":{"count":26,"tools":[{"description":"The balance sheet: one row per report line (assets, liabilities, equity) with balances for per_count months counting back from end_date. POST /api/v1/getbalancerep.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"end_date":{"description":"Balance date, yyyy-mm-dd.","type":"string"},"per_count":{"description":"Number of monthly periods, counting back from end_date (default 1).","maximum":36,"minimum":1,"type":"integer"}},"required":["end_date"],"type":"object"},"name":"merit_balance_sheet"},{"description":"WRITE: creates ONE new customer record in the Merit company (name must be unique; an existing customer is never overwritten, Merit answers with an error). Nothing is invoiced, sent or paid. In Estonia not_td_customer must be true for private persons and foreign companies; city is required in Estonia for a non-EE country. Returns the new customer id. POST /api/v2/sendcustomer.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"address":{"description":"Street address.","maxLength":100,"type":"string"},"bank_account":{"description":"Customer bank account (IBAN).","maxLength":50,"type":"string"},"city":{"description":"City.","maxLength":30,"type":"string"},"contact":{"description":"Contact person.","maxLength":35,"type":"string"},"country_code":{"description":"2-letter ISO country code, e.g. EE, PL.","pattern":"^[A-Za-z]{2}$","type":"string"},"county":{"description":"County.","maxLength":100,"type":"string"},"currency_code":{"description":"Default currency, e.g. EUR.","maxLength":4,"minLength":3,"type":"string"},"email":{"description":"E-mail address (stored only; Merit sends nothing).","format":"email","maxLength":80,"pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","type":"string"},"home_page":{"description":"Web page.","maxLength":80,"type":"string"},"name":{"description":"Customer name (unique in the company).","maxLength":150,"minLength":1,"type":"string"},"not_td_customer":{"description":"true for private persons and foreign companies (Estonia), true for private persons (Poland); false for a local company.","type":"boolean"},"payment_deadline_days":{"description":"Payment term in days (default from company settings).","maximum":365,"minimum":0,"type":"integer"},"phone_no":{"description":"Phone number.","maxLength":50,"type":"string"},"postal_code":{"description":"Postal code.","maxLength":15,"type":"string"},"reg_no":{"description":"Registry or personal id code.","maxLength":30,"type":"string"},"sales_invoice_language":{"description":"Invoice language for this customer (Estonia: ET, EN, RU, FI; Poland: PL, EN, RU).","enum":["ET","EN","RU","FI","PL"],"type":"string"},"vat_reg_no":{"description":"VAT number.","maxLength":30,"type":"string"}},"required":["name","country_code","not_td_customer"],"type":"object"},"name":"merit_create_customer"},{"description":"Open customer receivables: for each unpaid document the customer, date, due date, total, paid and unpaid amount. Give a customer name (empty string = all customers) or a customer id; over_due_days keeps only documents overdue by at least that many days. POST /api/v1/getcustdebtrep.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"as_of":{"description":"Debt as of this date (default today).","type":"string"},"customer_id":{"description":"Customer id.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"},"customer_name":{"description":"Customer name; an empty string or omitting it with no customer_id selects ALL customers.","maxLength":150,"type":"string"},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"over_due_days":{"description":"Only documents overdue by at least this many days.","maximum":999,"minimum":0,"type":"integer"}},"type":"object"},"name":"merit_customer_debts_report"},{"description":"Customer invoices with their unpaid amount and overdue flag for a period, for one customer (name or id). Only the FIRST page is returned: if has_more is true, narrow the period or the customer (the continuation endpoint is not supported). POST /api/v2/getcustpaymrep.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"currency_code":{"description":"Currency, e.g. EUR.","maxLength":4,"minLength":3,"type":"string"},"customer_id":{"description":"Customer id.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"},"customer_name":{"description":"Customer name.","maxLength":150,"minLength":1,"type":"string"},"period_end":{"description":"Period end, yyyy-mm-dd.","type":"string"},"period_start":{"description":"Period start, yyyy-mm-dd.","type":"string"}},"required":["period_start","period_end"],"type":"object"},"name":"merit_customer_payments_report"},{"description":"One general ledger batch with all its debit and credit lines (account, memo, department, tax, amounts). The attachment is never requested. POST /api/v1/getglbatch.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Batch id (GLBId from merit_list_gl_batches).","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"}},"required":["id"],"type":"object"},"name":"merit_get_gl_batch"},{"description":"One purchase invoice in full: header, lines, payments. The attachment is never requested. POST /api/v2/getpurchorder.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Purchase invoice id (PIHId from merit_list_purchase_invoices).","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"}},"required":["id"],"type":"object"},"name":"merit_get_purchase_invoice"},{"description":"One sales invoice in full: header, lines (items, quantities, VAT, accounts), payments and dimension allocations. The PDF attachment is never requested. POST /api/v2/getinvoice.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Invoice id (SIHId from merit_list_sales_invoices).","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"}},"required":["id"],"type":"object"},"name":"merit_get_sales_invoice"},{"description":"The profit and loss report: one row per report line, with balances for per_count months counting back from end_date (newest first). Optional department filter. POST /api/v1/getprofitrep.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"department_code":{"description":"Only this department (code from merit_list_departments).","maxLength":20,"type":"string"},"end_date":{"description":"Last day of the newest month, yyyy-mm-dd.","type":"string"},"per_count":{"description":"Number of monthly periods, counting back from end_date (default 1).","maximum":36,"minimum":1,"type":"integer"}},"required":["end_date"],"type":"object"},"name":"merit_income_statement"},{"description":"The general ledger chart of accounts (code, names, VAT, parent flag, active flag). GET /api/v2/accounts.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"}},"type":"object"},"name":"merit_list_accounts"},{"description":"List the income payments (money received) or expense payments (money paid out) booked on one bank account for a document-date period, with the documents each paid. The period may span at most 3 months (Merit limit); for longer spans make several calls. GET /api/v2/Banks/{bankId}/IncomePayments or /ExpensePayments.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"bank_id":{"description":"BankId from merit_list_banks.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"},"direction":{"description":"income = payments received, expense = payments made.","enum":["income","expense"],"type":"string"},"doc_date_from":{"description":"Document date from, yyyy-mm-dd.","type":"string"},"doc_date_to":{"description":"Document date to, yyyy-mm-dd (max 3 months after doc_date_from).","type":"string"},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"}},"required":["bank_id","direction","doc_date_from","doc_date_to"],"type":"object"},"name":"merit_list_bank_payments"},{"description":"The company's bank and cash accounts (BankId, name, IBAN, currency, ledger account). BankId feeds the payment tools. GET /api/v2/banks.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"}},"type":"object"},"name":"merit_list_banks"},{"description":"Search customers by name (partial match), registry number or VAT number (exact), id, or changed since a date. At least one filter is required: Merit cannot return the whole customer list in one reply. POST /api/v1/getcustomers.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"changed_since":{"description":"Only customers created or changed on or after this date.","type":"string"},"id":{"description":"Customer id.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"name":{"description":"Part of the customer name.","maxLength":150,"minLength":1,"type":"string"},"reg_no":{"description":"Registry number, exact.","maxLength":30,"minLength":1,"type":"string"},"vat_reg_no":{"description":"VAT number, exact.","maxLength":30,"minLength":1,"type":"string"}},"type":"object"},"name":"merit_list_customers"},{"description":"Departments (code, name, active flag). GET /api/v2/departments.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"}},"type":"object"},"name":"merit_list_departments"},{"description":"Accounting dimensions and their values (DimId, name, value code, expiry). all_values = true also lists expired values. POST /api/v2/getdimensions.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"all_values":{"description":"true = include expired dimension values (default false).","type":"boolean"},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"}},"type":"object"},"name":"merit_list_dimensions"},{"description":"Accounting periods (financial years) with start, end and active flag. POST /api/v2/getaccperiods.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"type":"object"},"name":"merit_list_financial_years"},{"description":"List general ledger batches (journal entries, also those created from invoices and payments) of a period: batch code, number, date, total. The period may span at most 3 months (Merit limit); for longer spans make several calls. POST /api/v1/getglbatches.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"date_type":{"anyOf":[{"const":0,"type":"number"},{"const":1,"type":"number"}],"description":"Which date the period filters: 0 = document date (default), 1 = date of last change."},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"period_end":{"description":"Last day of the period, yyyy-mm-dd (max 3 months after the start).","type":"string"},"period_start":{"description":"First day of the period, yyyy-mm-dd.","type":"string"}},"required":["period_start","period_end"],"type":"object"},"name":"merit_list_gl_batches"},{"description":"List items, services and stock articles with price, unit, VAT and accounts. Optional filters: code or description (partial), type, id. With location_code the reply adds stock quantity and cost of that warehouse. POST /api/v1/getitems.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"code":{"description":"Part of the item code.","maxLength":20,"minLength":1,"type":"string"},"description":{"description":"Part of the item description.","maxLength":150,"minLength":1,"type":"string"},"id":{"description":"Item id.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"},"location_code":{"description":"Warehouse code: adds goods on hand quantity and cost.","maxLength":20,"minLength":1,"type":"string"},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"type":{"anyOf":[{"const":1,"type":"number"},{"const":2,"type":"number"},{"const":3,"type":"number"}],"description":"1 = stock item, 2 = service, 3 = item."}},"type":"object"},"name":"merit_list_items"},{"description":"Payment methods and sources (cash, banks, reporting entities, ledger accounts) usable for purchases, expense reports or sales. POST /api/v2/getpaymenttypes.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"type":{"anyOf":[{"const":1,"type":"number"},{"const":2,"type":"number"},{"const":3,"type":"number"}],"description":"1 = purchases, 2 = expense reports, 3 = sales."}},"type":"object"},"name":"merit_list_payment_types"},{"description":"List payments (customer and vendor receipts and payouts) of a period, with the documents they paid. The period may span at most 3 months (Merit limit); for longer spans make several calls. POST /api/v2/getpayments.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"bank_id":{"description":"Only this bank account (BankId from merit_list_banks).","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"},"date_type":{"anyOf":[{"const":0,"type":"number"},{"const":1,"type":"number"}],"description":"Which date the period filters: 0 = document date (default), 1 = date of last change."},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"payment_type":{"description":"Merit payment type filter (see merit_list_payment_types).","maximum":20,"minimum":0,"type":"integer"},"period_end":{"description":"Last day of the period, yyyy-mm-dd (max 3 months after the start).","type":"string"},"period_start":{"description":"First day of the period, yyyy-mm-dd.","type":"string"}},"required":["period_start","period_end"],"type":"object"},"name":"merit_list_payments"},{"description":"List purchase invoices (vendor bills) of a period: bill number, vendor, dates, totals, paid flag. The period may span at most 3 months (Merit limit); for longer spans make several calls. POST /api/v2/getpurchorders.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"date_type":{"anyOf":[{"const":0,"type":"number"},{"const":1,"type":"number"}],"description":"Which date the period filters: 0 = document date (default), 1 = date of last change."},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"period_end":{"description":"Last day of the period, yyyy-mm-dd (max 3 months after the start).","type":"string"},"period_start":{"description":"First day of the period, yyyy-mm-dd.","type":"string"},"unpaid_only":{"description":"true = only unpaid bills.","type":"boolean"}},"required":["period_start","period_end"],"type":"object"},"name":"merit_list_purchase_invoices"},{"description":"List sales invoices (header level: number, customer, dates, totals, paid flag) of a period. The period may span at most 3 months (Merit limit); for longer spans make several calls. Use merit_get_sales_invoice for the lines. POST /api/v2/getinvoices.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"date_type":{"anyOf":[{"const":0,"type":"number"},{"const":1,"type":"number"}],"description":"Which date the period filters: 0 = document date (default), 1 = date of last change."},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"period_end":{"description":"Last day of the period, yyyy-mm-dd (max 3 months after the start).","type":"string"},"period_start":{"description":"First day of the period, yyyy-mm-dd.","type":"string"},"unpaid_only":{"description":"true = only unpaid invoices.","type":"boolean"}},"required":["period_start","period_end"],"type":"object"},"name":"merit_list_sales_invoices"},{"description":"All VAT rates of the company (TaxId, code, name, percent, active flag). The TaxId is what invoice rows refer to. GET /api/v2/taxes.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"}},"type":"object"},"name":"merit_list_taxes"},{"description":"Search vendors (suppliers) by name (partial match), registry number or VAT number (exact), id, or changed since a date. At least one filter is required: Merit cannot return the whole vendor list in one reply. POST /api/v1/getvendors.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"changed_since":{"description":"Only vendors created or changed on or after this date.","type":"string"},"id":{"description":"Vendor id.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"name":{"description":"Part of the vendor name.","maxLength":150,"minLength":1,"type":"string"},"reg_no":{"description":"Registry number, exact.","maxLength":30,"minLength":1,"type":"string"},"vat_reg_no":{"description":"VAT number, exact.","maxLength":30,"minLength":1,"type":"string"}},"type":"object"},"name":"merit_list_vendors"},{"description":"Purchase totals for a period, grouped by invoice, vendor, item or fixed asset. POST /api/v2/getpurchrep.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"end_date":{"description":"Period end, yyyy-mm-dd.","type":"string"},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"report_type":{"anyOf":[{"const":1,"type":"number"},{"const":2,"type":"number"},{"const":3,"type":"number"},{"const":4,"type":"number"}],"description":"1 = by invoices, 2 = by vendors, 3 = by items, 4 = by fixed assets."},"start_date":{"description":"Period start, yyyy-mm-dd.","type":"string"}},"required":["start_date","end_date","report_type"],"type":"object"},"name":"merit_purchase_report"},{"description":"Sales totals for a period, grouped by invoice, customer, item or country. POST /api/v2/getsalesrep.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"end_date":{"description":"Period end, yyyy-mm-dd.","type":"string"},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"},"report_type":{"anyOf":[{"const":1,"type":"number"},{"const":2,"type":"number"},{"const":3,"type":"number"},{"const":4,"type":"number"},{"const":5,"type":"number"}],"description":"1 = by invoices, 2 = by customers, 3 = by items, 4 = by countries, 5 = by countries (general)."},"start_date":{"description":"Period start, yyyy-mm-dd.","type":"string"}},"required":["start_date","end_date","report_type"],"type":"object"},"name":"merit_sales_report"},{"description":"Find sales invoices by invoice number, customer name or customer id (give at least one). POST /api/v2/getinvoices2.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"customer_id":{"description":"Customer id (from merit_list_customers).","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","type":"string"},"customer_name":{"description":"Customer name.","maxLength":150,"minLength":1,"type":"string"},"invoice_no":{"description":"Invoice number.","maxLength":35,"minLength":1,"type":"string"},"max_results":{"description":"Show at most this many rows (default 100, max 1000); the reply says how many there are in total.","maximum":1000,"minimum":1,"type":"integer"}},"type":"object"},"name":"merit_search_sales_invoices"}]},"body_sha256":"c767e839856d56db7eb834edef4daac78eee85b484e5c83f6948d5d9aa009877","prev_id":null,"leaf":"0xff1653812141d2513b7a6bebde912ba310f830fb35a66ce0e1353e3ba614f71d","leaf_text":"{\"body\":\"c767e839856d56db7eb834edef4daac78eee85b484e5c83f6948d5d9aa009877\",\"id\":300719,\"kind\":\"mcp.tools\",\"method\":\"probe.mcp/1\",\"observed_us\":1793053612417695,\"prev\":null,\"subject\":\"dc099bd8-634c-428b-b763-1856797a9f1e\",\"subject_kind\":\"endpoint\"}","day":{"day":"2026-10-26","leaves":296695,"root":"0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8","chained":"0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a","anchor_chain":"eip155:5042002","anchor_tx":"0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae","anchor_block":69251483},"proof":["0xff16358f57330db5fa5f7fbfaebf6706737fe28c404d52730988a42060a066fd","0x5c63819326cb0ce5d313d6d2b8dbf08944f92fb8e317899274de56531cecbd1c","0x9813ee0904ff1e34f426d131d0f90fad2a5a6f0e4a152381df98875522d184b4","0x6d0a3ecd555a29e6a50e8b07a9d92b75ef1bae212e7bcd6a430cedeb2f99062e","0x3cb6e0ad09a9031bb75858c3158b096db9de31fd8bdf75fe7206abe5a021d62d","0x621c16edf2fc65ac611fbc254b16721b9803387f03f27f13c861824310a6a84d","0x8a2b10380b61f46ab805bd3830926c45f5d1145f61985391c8b0b2f1771534fc","0x6109c0b3cf1788d1f6ef7db3a665ce6149edd2e7ec3e15ff9f4ae9995fa3476e","0xce82681ed0eca529546cd6a725350af5ca74d677e0b581ca813d34bc6fc0de11","0x301cb2348a778b944d1bff0de6fa4d710487d6a5b6fb61608bd9e3d5df1f098a","0xf0e3125fdb80cc0fbd2c1ed68c94834a74c7a387a89a1ab6de49183f24f78649","0xbd264414f726ecec85a6b231446a7d5db56b5a61f8c3f471b7913d982daa291d","0x74a0a08e4e7ab9aa5bfbead33dec7e1c7e8e364cff69a63720d764bbe987aadc"]}