Skip to main content
Glama
szamlazz-mcp

szamlazz-mcp

by MrSakal

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

list_companies

read

Companies your login can work in, and which one is used by default

list_invoices

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

get_invoice_data

read

One outgoing or incoming invoice: seller, buyer, items, totals, paid, outstanding; optionally its PDF

get_invoice_pdf

read

One invoice's PDF (for incoming invoices, rendered from the invoice data)

get_invoice_payments

read

Payments registered on an invoice: date, method, amount, who recorded it

get_invoice_activity

read

NAV Online Számla and accounting-system submissions, e-mails sent, payment reminders

turnover_report

read

Issued documents in a period (the Forgalom report): item rows, totals per currency and VAT rate

list_partners / get_partner

read

Partner records: name, address, e-mail; tax number and payment terms for one

list_products

read

Products and services: name, net unit price, unit, VAT rate

list_receipts

read

Issued receipts

get_receipt

read

One receipt's data, optionally its PDF

list_recurring_invoices

read

Recurring invoice schedules

list_drafts

read

Saved invoice drafts

get_company_info

read

Own company data, invoice defaults, number prefixes, payment methods, NAV connection state

list_bank_transactions

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

get_bank_transaction

read

One transaction's matching: the invoices it settled, how and by whom, and the amount left

create_invoice

write

Issue an invoice (normal, proforma, advance, final, correction)

reverse_invoice

write

Reverse (storno) an invoice

register_payment

write

Record payments on an invoice

delete_proforma

write

Delete a proforma invoice

create_receipt

write

Issue a receipt

reverse_receipt

write

Reverse a receipt

send_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 build

Configure

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.js

Claude 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.json and gives full access to the account. The file is created owner-only (0600); keep it out of backups and sync folders. .gitignore excludes 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

MIT

Available Tools

13 tools
create_invoiceB
Destructive

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_receiptC
Destructive

Issue a new receipt with items and an optional payment breakdown.

Inputs: items (required), prefix (required), paymentMethod (required), callId, +9 more.

delete_proformaB
Destructive

Delete a proforma invoice by invoice number or order number.

Inputs: company, orderNumber, invoiceNumber.

get_invoice_dataB
Read-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_pdfA
Read-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_receiptB
Read-onlyIdempotent

Data and PDF of a receipt by receipt number.

Inputs: receiptNumber (required), company, includePdf.

list_bank_transactionsA
Read-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_companiesA
Read-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_invoicesA
Read-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_paymentB
Destructive

Register payments on an invoice. At most 5 payment entries per invoice.

Inputs: payments (required), invoiceNumber (required), company, additive.

reverse_invoiceB
Destructive

Reverse an invoice: issues the reversing invoice for the original.

Inputs: issueDate (required), invoiceNumber (required), fulfillmentDate (required), company, +1 more.

reverse_receiptC
Destructive

Reverse a receipt by receipt number.

Inputs: receiptNumber (required), company, includePdf.

send_receiptA
Destructive

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

    A3.5/5.0

    Scored across 13 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for the Billingo V3 Hungarian invoicing API. Manage invoices, partners, products, spendings, and bank accounts from any MCP client.
      12 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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.
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables 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.
      16
      45 npm
      MIT