szamlazz-mcp
An MCP server for Számlázz.hu that exposes read-only lookups plus destructive invoice/receipt write operations.
List the companies available to the configured login and which one is the default.
List outgoing invoices with paging, search, sorting, and optional company selection; fetch an invoice's data and optional PDF by invoice number.
Fetch receipt data and optional PDF by receipt number.
List bank transactions for a date range with search, direction, account, and limit filters.
Create invoices (normal, proforma, advance, final, correction), reverse invoices, register payments, and delete proforma invoices.
Create receipts, reverse receipts, and e-mail receipts.
Write tools are marked destructive/non-idempotent and may require client confirmation.
PDFs are returned as embedded
application/pdfresources, not written to disk.The README documents additional read-only tools (partners, products, turnover, invoice payments/activity, receipts lists, recurring invoices, drafts, company info, bank matching) that are not present in the supplied schema.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@szamlazz-mcp Show me my latest invoice and its PDF"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
szamlazz-mcp
An MCP server that lets Claude (or any MCP client) work with your Számlázz.hu account: issued and received invoices with their payments and PDFs, partners, products, receipts, bank transactions and turnover reports, and issuing, reversing or e-mailing invoices and receipts.
It signs in with your own Számlázz.hu username and password; nothing else needs to be set up.
Tools
Tool | Kind | What it does |
| read | Companies your login can work in, and which one is used by default |
| read | Issued, received or both invoices merged by date; filter by issue date, payment status (paid, unpaid, overdue), invoice number or partner; pages automatically up to a limit |
| read | One outgoing or incoming invoice: seller, buyer, items, totals, paid, outstanding; optionally its PDF |
| read | One invoice's PDF (for incoming invoices, rendered from the invoice data) |
| read | Payments registered on an invoice: date, method, amount, who recorded it |
| read | NAV Online Számla and accounting-system submissions, e-mails sent, payment reminders |
| read | Issued documents in a period (the Forgalom report): item rows, totals per currency and VAT rate |
| read | Partner records: name, address, e-mail; tax number and payment terms for one |
| read | Products and services: name, net unit price, unit, VAT rate |
| read | Issued receipts |
| read | One receipt's data, optionally its PDF |
| read | Recurring invoice schedules |
| read | Saved invoice drafts |
| read | Own company data, invoice defaults, number prefixes, payment methods, NAV connection state |
| read | Bank transactions for up to 366 days with their matching state (unmatched, partly or fully settled, excluded) and unmatched amount; filter by state, e.g. what still needs matching |
| read | One transaction's matching: the invoices it settled, how and by whom, and the amount left |
| write | Issue an invoice (normal, proforma, advance, final, correction) |
| write | Reverse (storno) an invoice |
| write | Record payments on an invoice |
| write | Delete a proforma invoice |
| write | Issue a receipt |
| write | Reverse a receipt |
| write | E-mail a receipt |
Write tools are marked destructive, so MCP clients ask before running them. PDFs come back inside
the tool answer as embedded application/pdf resources; the server never writes them to disk.
The invoice tools take a direction, matching the two Számlázz.hu invoice lists: outgoing (issued)
or incoming (received). list_invoices also accepts both (its default) and merges the two by issue
date. It fetches page after page by itself until limit (default 100, max 1000) is reached and says
with moreAvailable whether anything was left out; dateFrom/dateTo narrow it to a period. The
other invoice tools default to outgoing.
Every tool takes an optional company parameter: a company name (or part of it) or its Számlázz.hu
id. Without it the login's current company is used.
Related MCP server: Invoice4U MCP
Requirements
Node.js 20 or newer
A Számlázz.hu user without two-factor authentication
For the write tools: a user that belongs to one company only (see How it works)
Install
git clone https://github.com/MrSakal/szamlazz-mcp.git
cd szamlazz-mcp
npm ci
npm run buildConfigure
The server reads one file, ~/.szamlazz-mcp/config.json
(Windows: C:\Users\<you>\.szamlazz-mcp\config.json). Copy the example and fill it in:
mkdir -p ~/.szamlazz-mcp && cp config.example.json ~/.szamlazz-mcp/config.json{
"username": "<SZAMLAZZ_EMAIL>",
"password": "<SZAMLAZZ_PASSWORD>"
}That is all: companies, names and ids are read from Számlázz.hu after sign-in.
Then register the server with your client.
Claude Code
claude mcp add szamlazz -- node /absolute/path/to/szamlazz-mcp/dist/index.jsClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"szamlazz": {
"command": "node",
"args": ["/absolute/path/to/szamlazz-mcp/dist/index.js"]
}
}
}Restart the client, then ask: "Which companies can my Számlázz.hu login reach?"
How it works
Read tools sign in to the Számlázz.hu web interface the way a browser does and call the same
internal endpoints its pages use (/szamla/pcapi/...). Only a fixed list of read-only endpoints can
be called (ALLOWED_PCAPI in src/web.ts); everything else is refused before a request is made.
The session lives in memory only.
Bank matching comes from Számlázz.hu's older, server-rendered bank pages: the transaction list
(its own search form, one matching state per request) and the details call behind each row. That
call also matches, unmatches, excludes and deletes depending on an operation value; the server
fixes it to 0 (show) in code and never adds invoice or payment ids to it. These pages work in the
login's current company only.
Write tools use the documented Számla Agent API. Its XML schemas
accept the Számlázz.hu username and password (felhasznalo, jelszo) for sign-in, so the same
login works. A password-signed Agent call does not say which company it is for, so the write tools
refuse to run when the login reaches more than one company, rather than risk issuing in the wrong one.
Network traffic goes to https://www.szamlazz.hu only. Nothing is collected or sent anywhere else.
Security and risks
The password sits in plain text in
config.jsonand gives full access to the account. The file is created owner-only (0600); keep it out of backups and sync folders..gitignoreexcludes it.The password is sent only to
https://www.szamlazz.hu, never logged and never returned by a tool.The read endpoints are undocumented: Számlázz.hu can change them without notice, and the read tools will then fail until updated.
Automated use of the web interface may not be covered by the Számlázz.hu terms of service. Check them before relying on this.
The write tools have not been tested against a live account by the author. Try them on a test account first.
License
Available Tools
13 toolscreate_invoiceBDestructive
Issue a new invoice (normal, proforma, advance or correction invoice). The PDF comes attached to the answer.
Inputs: items (required), dueDate (required), buyerCity (required), buyerName (required), +30 more.
create_receiptCDestructive
Issue a new receipt with items and an optional payment breakdown.
Inputs: items (required), prefix (required), paymentMethod (required), callId, +9 more.
delete_proformaBDestructive
Delete a proforma invoice by invoice number or order number.
Inputs: company, orderNumber, invoiceNumber.
get_invoice_dataBRead-onlyIdempotent
Data of an outgoing invoice by invoice number: seller, buyer, items, totals, amount paid and outstanding. Optionally the PDF too.
Inputs: invoiceNumber (required), company, includePdf.
get_invoice_pdfARead-onlyIdempotent
PDF of an existing outgoing invoice by invoice number. The PDF comes attached to the answer; nothing is saved to disk.
Inputs: invoiceNumber (required), company.
get_receiptBRead-onlyIdempotent
Data and PDF of a receipt by receipt number.
Inputs: receiptNumber (required), company, includePdf.
list_bank_transactionsARead-onlyIdempotent
Bank transactions for a period (id, reference, value date, amount, partner, direction). Read from the Számlázz.hu web interface. No matching status included.
Inputs: dateTo (required), dateFrom (required), limit, search, +3 more.
list_companiesARead-onlyIdempotent
The companies the configured Számlázz.hu login can work in (read from Számlázz.hu), and which one the tools use when no company is given. Switch per call: pass the company name or id in the other tools' company parameter.
Inputs: no named parameters.
list_invoicesARead-onlyIdempotent
Outgoing invoices (newest first), searchable by invoice number or buyer name, paged. Per row: invoice number, dates, buyer, totals, paid, outstanding.
Inputs: page, search, company, pageSize, +2 more.
register_paymentBDestructive
Register payments on an invoice. At most 5 payment entries per invoice.
Inputs: payments (required), invoiceNumber (required), company, additive.
reverse_invoiceBDestructive
Reverse an invoice: issues the reversing invoice for the original.
Inputs: issueDate (required), invoiceNumber (required), fulfillmentDate (required), company, +1 more.
reverse_receiptCDestructive
Reverse a receipt by receipt number.
Inputs: receiptNumber (required), company, includePdf.
send_receiptADestructive
E-mail a receipt to the given address.
Inputs: email (required), receiptNumber (required), company.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools target distinct resources and actions, and descriptions clearly separate listing, data retrieval, creation, reversal, payment, and sending. The main overlap is between get_invoice_data and get_invoice_pdf, since get_invoice_data can optionally include the PDF, and get_receipt bundles data plus PDF unlike the split invoice tools.
All names use predictable snake_case with a leading verb such as list_, get_, create_, reverse_, register_, delete_, or send_. The minor subtype naming in delete_proforma and get_invoice_pdf still follows the same overall verb_noun convention.
The 13 tools are well scoped for an invoicing and receipt service, with each tool covering a meaningful operation. The set is neither thin nor bloated.
Core invoice and receipt workflows are covered, including creation, retrieval, reversal, payment registration, and receipt sending. However, there is no list_receipts or receipt search, making it hard to discover receipt numbers, and there is no send_invoice equivalent to send_receipt, creating notable gaps in the receipt and invoice lifecycle.
Maintenance
Related MCP Connectors
Read Számlázz.hu invoices, PDFs, receipts, taxpayers; issue, reverse and pay invoices and receipts.
Free hosted MCP for invoices, estimates, clients, items and PDFs. OAuth authorization required.
Fakturownia.pl (Polish invoicing) via MCP: invoices, clients, products, warehouse. Full read-write.
wFirma.pl (Polish accounting) via MCP: invoices, contractors, payments, reports. Full read-write.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for the Billingo V3 Hungarian invoicing API. Manage invoices, partners, products, spendings, and bank accounts from any MCP client.12 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible agents to securely access an Invoice4U account for searching documents and customers and creating receipts linked to paid invoices, with read-only behavior by default.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to authenticate against an internal accounting web API, list companies, categories, bank transactions and documents, upload or batch-deposit receipts (idempotent, dry-run by default), set accounting metadata, and link documents to their matching bank transactions.1MIT
- AlicenseBqualityCmaintenanceEnables MCP clients to query and register invoices, suppliers, and payments through the Contasimple API v2, including optional write access for creating records, attaching files, and managing payments.1645 npmMIT