TACITo
v0.1.0Hungarian 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).
| Parameter | Type | Description |
|---|---|---|
end | string | Last issue date, YYYY-MM-DD. |
invoice_number | string | Exact invoice number. |
limit | integer | Rows per page, 1 to 100. Default 20. |
nav | string | What the tax authority (NAV) made of the invoice. ATTENTION = needs action. |
offset | integer | Rows to skip (for the next page). |
pay | string | Payment state. OVERDUE = not paid and past its due date. |
q | string | Text contained in the invoice number or the buyer name. |
start | string | First issue date, YYYY-MM-DD. Give start and end to search another year. |
state | string | DRAFT 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".
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
tax_number * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
currency * | string | ISO currency code, e.g. EUR. |
date | string | YYYY-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.
| Parameter | Type | Description |
|---|---|---|
buyer * | object | |
lines * | array | Invoice lines. |
currency | string | ISO currency code; default HUF. |
dueDate | string | YYYY-MM-DD. Default: for BANK_TRANSFER the issue date plus the buyer's saved payment term, or 8 days; otherwise the issue date. |
issueDate | string | YYYY-MM-DD; default today. |
language | string | Invoice language, e.g. hu, en, de. |
note | string | Free text printed on the invoice. |
paymentMethod | string | Default BANK_TRANSFER. |
performanceDate | string | Teljesí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.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The invoice id (the `id` field of an invoice, not its number). |