iDoklad

v0.4.0
io.github.honzsik/idoklad-mcp Checked 17 hours ago Published 22 days ago

Unofficial iDoklad invoicing: read and create invoices, proformas, credit notes and contacts.

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

list_issued_invoices List issued invoices

List issued invoice (vydaná faktura) documents, newest first. Filter by payment status, overdue, customer, issue date range or document number. Returns a compact summary per document; use get_issued_invoice for full detail.

ParameterTypeDescription
documentNumberstringPart of the document number.
issuedFromstringIssue date from (inclusive).
issuedTostringIssue date to (inclusive).
pageinteger
pageSizeinteger
partnerIdintegerContact ID of the customer (see list_contacts).
statusstringPayment status. 'overdue' = unpaid and past due date.

get_issued_invoice Get issued invoice

Get full detail of one issued invoice (vydaná faktura) by ID, including items, partner and prices.

ParameterTypeDescription
id *integerDocument ID (not the document number).

list_proforma_invoices List proforma invoices

List proforma invoice (zálohová faktura) documents, newest first. Filter by payment status, overdue, customer, issue date range or document number. Returns a compact summary per document; use get_proforma_invoice for full detail.

ParameterTypeDescription
documentNumberstringPart of the document number.
issuedFromstringIssue date from (inclusive).
issuedTostringIssue date to (inclusive).
pageinteger
pageSizeinteger
partnerIdintegerContact ID of the customer (see list_contacts).
statusstringPayment status. 'overdue' = unpaid and past due date.

get_proforma_invoice Get proforma invoice

Get full detail of one proforma invoice (zálohová faktura) by ID, including items, partner and prices.

ParameterTypeDescription
id *integerDocument ID (not the document number).

list_credit_notes List credit notes

List credit note (opravný daňový doklad / dobropis) documents, newest first. Filter by payment status, overdue, customer, issue date range or document number. Returns a compact summary per document; use get_credit_note for full detail.

ParameterTypeDescription
documentNumberstringPart of the document number.
issuedFromstringIssue date from (inclusive).
issuedTostringIssue date to (inclusive).
pageinteger
pageSizeinteger
partnerIdintegerContact ID of the customer (see list_contacts).
statusstringPayment status. 'overdue' = unpaid and past due date.

get_credit_note Get credit note

Get full detail of one credit note (opravný daňový doklad / dobropis) by ID, including items, partner and prices.

ParameterTypeDescription
id *integerDocument ID (not the document number).

list_received_invoices List received invoices

List received invoice (přijatá faktura) documents, newest first. Filter by payment status, overdue, supplier, issue date range or document number. Returns a compact summary per document; use get_received_invoice for full detail.

ParameterTypeDescription
documentNumberstringPart of the document number.
issuedFromstringIssue date from (inclusive).
issuedTostringIssue date to (inclusive).
pageinteger
pageSizeinteger
partnerIdintegerContact ID of the supplier (see list_contacts).
statusstringPayment status. 'overdue' = unpaid and past due date.

get_received_invoice Get received invoice

Get full detail of one received invoice (přijatá faktura) by ID, including items, partner and prices.

ParameterTypeDescription
id *integerDocument ID (not the document number).

get_document_pdf Download document PDF

Download the PDF of an invoice, proforma, credit note or received invoice and save it to a local folder. Returns the file path.

ParameterTypeDescription
documentType *string
id *integerDocument ID.
languagestringPDF language. Default: the document's own language.
withPaymentsbooleanInclude the payment summary (not for received invoices).

list_contacts List contacts

Search contacts (kontakty: customers and suppliers) by company name, IČO, DIČ or email. Without filters, lists all contacts.

ParameterTypeDescription
dicstringVAT ID (DIČ).
emailstringPart of the email address.
icostringCompany ID (IČO).
namestringPart of the company name.
pageinteger
pageSizeinteger

get_contact Get contact

Get full detail of one contact by ID: address, IČO, DIČ, bank account, default due days.

ParameterTypeDescription
id *integer

list_price_list_items List price list items

Search the price list (ceník) by item name or code. Use the prices when creating invoices.

ParameterTypeDescription
codestringPart of the item code.
namestringPart of the item name.
pageinteger
pageSizeinteger

get_business_stats Get business statistics

Business overview calculated by iDoklad. All amounts are in the company's home currency (usually CZK). Reports: - revenue_by_period: issued (income) and received (costs) invoice totals per month, quarter or year, with paid/unpaid split. - year_comparison: this year's totals against last year's. - overdue_aging: overdue amounts by age (1–30, 31–60, 61–90, 90+ days), for receivables (customers owe you) and payables (you owe suppliers). - vat: VAT on output and input for the current and previous VAT period (VAT payers). - vat_registration_limit: this calendar year's sales against the CZ VAT…

ParameterTypeDescription
report *string
periodstringFor revenue_by_period and vat (vat: month or quarter only).
periodsintegerFor revenue_by_period: how many periods back, including the current one. Default 12 months, 4 quarters or 3 years.

get_top_partners Get top customers or debtors

Biggest customers by total invoiced, or biggest debtors by unpaid amount (who owes you the most). Amounts in home currency.

ParameterTypeDescription
kind *string
countinteger

get_contact_stats Get customer payment statistics

How a customer pays: number of invoices, total invoiced, how many are paid, unpaid and were paid after the due date.

ParameterTypeDescription
contactId *integerContact ID (see list_contacts).

get_codebook Get codebook

Get an iDoklad codebook (číselník) or company setting list: currencies, countries, VAT rates (current only), VAT codes, payment options, your bank accounts, numeric sequences, constant symbols or tags. Use it to translate IDs in documents.

ParameterTypeDescription
codebook *string

search_api_docs Search iDoklad API docs

Search the iDoklad API v3 reference for endpoints not covered by other tools (bank statements, cash vouchers, recurring invoices, sales orders, stock, webhooks…). Returns method, path, parameters (* = required). Then call idoklad_api_request.

ParameterTypeDescription
query *stringKeywords in English, e.g. 'bank statement list' or 'recurring invoice'.
limitinteger

idoklad_api_request Call iDoklad API

Call any iDoklad API v3 endpoint directly (find it with search_api_docs first). Path is relative, e.g. 'BankStatements'. List endpoints accept filter, sort, page and pagesize query parameters; filter syntax: (Field~op~value~and~Field~op~value) with ops eq, !eq, lt, lte, gt, gte, ct, !ct. Read-only mode: only GET is allowed.

ParameterTypeDescription
method *string
path *stringEndpoint path after /v3/, e.g. 'IssuedInvoices/123'.
bodyJSON body for POST, PUT, PATCH.
queryobject