TACITo

v0.1.0
io.github.gad45/tacito-mcp Checked 2 days ago Published 13 days ago

Hungarian invoicing with NAV reporting: search invoices, prepare drafts, issue only if allowed.

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

get_readiness Is the account ready to issue invoices

Whether this TACITo company can issue invoices now, and which setup steps are missing (issuer details, invoice series, subscription, NAV credentials), each with the settings page that fixes it.

search_invoices Search invoices

Search this company's outgoing invoices and drafts. Without start and end only the current calendar year is searched. Returns the matching rows (newest first), total_count and has_more. period_totals is NOT the total of the matching rows: it covers every issued invoice between start_date and end_date in one currency (period_totals.currency) and ignores q, state, pay, nav and paging. For the total of a search, add up gross_total over all pages of its rows, separately for each currency (rows can be in different currencies).

ParameterTypeDescription
endstringLast issue date, YYYY-MM-DD.
invoice_numberstringExact invoice number.
limitintegerRows per page, 1 to 100. Default 20.
navstringWhat the tax authority (NAV) made of the invoice. ATTENTION = needs action.
offsetintegerRows to skip (for the next page).
paystringPayment state. OVERDUE = not paid and past its due date.
qstringText contained in the invoice number or the buyer name.
startstringFirst issue date, YYYY-MM-DD. Give start and end to search another year.
statestringDRAFT or ISSUED.

get_invoice Invoice details

One invoice or draft with its lines, payment state, NAV state (nav_outcome) and public_url. public_url is the buyer's page of an issued invoice; its PDF is public_url + "/pdf".

ParameterTypeDescription
invoice_id *stringThe invoice id (the `id` field of an invoice, not its number).

lookup_company Look up a Hungarian company

Name and address of a Hungarian company from the official register, by tax number. Use it to fill in a buyer instead of typing the data.

ParameterTypeDescription
tax_number *stringThe whole Hungarian tax number, 12345678-1-12 (11 digits; the first 8 alone are refused).

get_exchange_rate MNB exchange rate

Preview of the official MNB exchange rate (HUF per unit) for a currency and day. Only a preview: a foreign-currency invoice gets its rate when it is issued. Never send a rate yourself.

ParameterTypeDescription
currency *stringISO currency code, e.g. EUR.
datestringYYYY-MM-DD; default today.

create_invoice_draft Create an invoice draft

Create a draft. A draft is not an invoice yet: it has no number, is not reported to NAV and can be deleted. Amounts and quantities are decimal strings. Take buyer data from the user or lookup_company, and ask the user for the VAT rate if you do not know it. If the answer is lost, look with search_invoices (state DRAFT) before calling this again, or there will be two drafts.

ParameterTypeDescription
buyer *object
lines *arrayInvoice lines.
currencystringISO currency code; default HUF.
dueDatestringYYYY-MM-DD. Default: for BANK_TRANSFER the issue date plus the buyer's saved payment term, or 8 days; otherwise the issue date.
issueDatestringYYYY-MM-DD; default today.
languagestringInvoice language, e.g. hu, en, de.
notestringFree text printed on the invoice.
paymentMethodstringDefault BANK_TRANSFER.
performanceDatestringTeljesítés dátuma, YYYY-MM-DD; default the issue date. For periodic services ask the user.

create_storno_draft Prepare the cancellation of an issued invoice

Create the storno (cancelling document) of an issued invoice as a draft. Nothing is cancelled until that draft is issued. If the answer is lost, look at get_invoice before calling this again.

ParameterTypeDescription
invoice_id *stringThe invoice id (the `id` field of an invoice, not its number).

delete_invoice_draft Delete a draft

Permanently delete a draft. Issued invoices cannot be deleted; the API refuses them.

ParameterTypeDescription
invoice_id *stringThe invoice id (the `id` field of an invoice, not its number).