iDoklad
v0.4.0Unofficial 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.
| Parameter | Type | Description |
|---|---|---|
documentNumber | string | Part of the document number. |
issuedFrom | string | Issue date from (inclusive). |
issuedTo | string | Issue date to (inclusive). |
page | integer | |
pageSize | integer | |
partnerId | integer | Contact ID of the customer (see list_contacts). |
status | string | Payment 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.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Document 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.
| Parameter | Type | Description |
|---|---|---|
documentNumber | string | Part of the document number. |
issuedFrom | string | Issue date from (inclusive). |
issuedTo | string | Issue date to (inclusive). |
page | integer | |
pageSize | integer | |
partnerId | integer | Contact ID of the customer (see list_contacts). |
status | string | Payment 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.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Document 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.
| Parameter | Type | Description |
|---|---|---|
documentNumber | string | Part of the document number. |
issuedFrom | string | Issue date from (inclusive). |
issuedTo | string | Issue date to (inclusive). |
page | integer | |
pageSize | integer | |
partnerId | integer | Contact ID of the customer (see list_contacts). |
status | string | Payment 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.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Document 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.
| Parameter | Type | Description |
|---|---|---|
documentNumber | string | Part of the document number. |
issuedFrom | string | Issue date from (inclusive). |
issuedTo | string | Issue date to (inclusive). |
page | integer | |
pageSize | integer | |
partnerId | integer | Contact ID of the supplier (see list_contacts). |
status | string | Payment 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.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Document 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.
| Parameter | Type | Description |
|---|---|---|
documentType * | string | |
id * | integer | Document ID. |
language | string | PDF language. Default: the document's own language. |
withPayments | boolean | Include 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.
| Parameter | Type | Description |
|---|---|---|
dic | string | VAT ID (DIČ). |
email | string | Part of the email address. |
ico | string | Company ID (IČO). |
name | string | Part of the company name. |
page | integer | |
pageSize | integer |
get_contact Get contact
Get full detail of one contact by ID: address, IČO, DIČ, bank account, default due days.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
code | string | Part of the item code. |
name | string | Part of the item name. |
page | integer | |
pageSize | integer |
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…
| Parameter | Type | Description |
|---|---|---|
report * | string | |
period | string | For revenue_by_period and vat (vat: month or quarter only). |
periods | integer | For 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.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
count | integer |
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.
| Parameter | Type | Description |
|---|---|---|
contactId * | integer | Contact 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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Keywords in English, e.g. 'bank statement list' or 'recurring invoice'. |
limit | integer |
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.
| Parameter | Type | Description |
|---|---|---|
method * | string | |
path * | string | Endpoint path after /v3/, e.g. 'IssuedInvoices/123'. |
body | JSON body for POST, PUT, PATCH. | |
query | object |