NeXiR Számlázó

By btsbt

0+ active installationsVersion 1.0.0

NeXiR Számlázó: Hungarian invoicing for WooCommerce, run on the WP Számla service (wpszamla.hu) by BTS Systems Group Hungary. Not a NAV product.

Description

WPszámla – Powered by NeXiR

Your invoicing workspace, right inside WordPress. Create, view and manage invoices where you already run your WooCommerce store.

The NeXiR Számlázó plugin brings the WPszámla invoicing interface into your WordPress admin. Issue invoices, browse your invoice list, open and download documents, and handle cancellations – without switching to a separate invoicing website.

With your orders and your invoicing in one place, everyday administration becomes simpler.

Automatic or manual – you choose

Invoices can be issued automatically when a WooCommerce order reaches one of your selected paid statuses, or manually from the WordPress admin whenever you need one.

Behind the scenes, the WPszámla service handles electronic invoice generation, NAV Online Számla reporting, storage and PDF creation.

Key features

  • Invoicing inside WordPress – create, view, download and manage invoices directly in your store’s admin.
  • Automatic invoicing – an invoice is issued when an order reaches your configured paid statuses (“Processing” and “Completed” by default), and the payment is recorded on the invoice.
  • Manual invoicing – issue an invoice from the WordPress admin whenever your workflow needs it.
  • Cancellation invoices – a cancellation (storno) invoice is issued when an order is cancelled or fully refunded.
  • Foreign-currency and bilingual invoices – invoice in foreign currencies, with an optional Hungarian–English invoice layout.
  • Customizable invoice design – adjust the look of your invoices to suit your business.
  • Branded invoice e-mails – send invoice e-mails through your own SMTP server, with your logo.
  • Customer downloads – customers download their invoices directly from their order page.
  • Tax number at checkout – an optional tax number field for business customers.
  • Dedicated customer portal – reach your invoices on the WPszámla portal, independently of your WordPress site.

Useful tools for everyday work

Look up Hungarian taxpayer data, validate EU VAT numbers in VIES, find postal codes and retrieve MNB exchange rates while you work.

With the [wpszamla_tax_lookup] shortcode you can also add a tax number lookup for your visitors to your website.

Electronic invoices, stored in multiple copies

WPszámla issues electronic invoices that you can access and download digitally.

Invoices are kept in primary and secondary storage, with an additional backup. Multiple copies reduce the risk of data loss and support recovery.

Storage is managed by the WPszámla service, so keeping your invoices does not depend solely on your webshop’s hosting and its backups.

Your invoices stay safe, even if your store does not

Invoices issued by the WPszámla service are stored by WPszámla. Reinstalling WordPress, a site failure or local data loss does not delete them.

Even if a technical problem or a malware infection forces you to reinstall your store from scratch, your invoices stored by WPszámla are preserved.

You can view and download them on the WPszámla customer portal at any time, independently of WordPress – even while your store is temporarily unavailable.

Get started

  1. Create a WPszámla account at wpszamla.hu, or use your existing one.
  2. Connect your store with the plugin’s setup wizard.
  3. Enter your invoicing details and set up the NAV connection, then configure automatic invoicing, your invoice design and your e-mails.

Your NAV credentials never pass through WordPress. You enter the NAV technical user’s details directly on the WPszámla service, through a one-time link sent to your account e-mail address.

Try it for free

The Free plan includes 5 invoices in total, with access to every feature.

For higher volumes, choose from four monthly subscription plans. The full feature set is available in every plan.

View plans and current pricing →

A WPszámla account is required. Invoicing is provided by the WPszámla service under your selected plan; the plugin does not issue invoices on its own.

Service and data handling

The plugin connects your store to the WPszámla service, operated by BTS Systems Group Hungary Bt.

The order and customer data needed for invoicing is sent to the service over HTTPS. The External services section below explains exactly what is sent, when, and why.

Independence notice: the NeXiR Számlázó plugin and the WPszámla service are independent of the Hungarian Tax Authority (NAV). They are not NAV products, are not affiliated with NAV, and have not been approved or endorsed by NAV.

External services

This plugin connects to one external service: WP Számla, operated by BTS Systems Group
Hungary. The plugin cannot issue invoices without it.

  • Service address: https://wpszamla.hu (fixed; it is not entered or shown in the
    plugin. Developers can override it with the WPSZAMLA_API_URL constant in wp-config.php, for
    a test server; outside a local WordPress only wpszamla.hu addresses are accepted (on local/development WordPress the constant is mandatory and the live host is refused), and the
    plugin never follows HTTP redirects with your access token).
  • Terms of Service: https://wpszamla.hu/aszf/
  • Privacy Policy: https://wpszamla.hu/adatvedelem/
  • Data Processing Agreement: https://wpszamla.hu/adatfeldolgozas/

On a site that has not been connected yet, the plugin sends no request at all until you open
step 1 of the setup wizard.
In step 1, when the “I already have an account” or “I already
received a code” option is shown (the default on a site that was connected before), the published
privacy notice is downloaded for display right away; no e-mail address or invoice data is sent
with this request, but like every request to the service it carries the X-WP-Domain header,
and the service sees your server’s IP address.

The service address is fixed (https://wpszamla.hu); you do not enter it anywhere. A new account is
created on wpszamla.hu, not in the plugin: the setup wizard opens a wpszamla.hu window (or a new tab)
where you enter your e-mail address and accept the Terms of Service. To connect an existing account,
you only enter its e-mail address in the wizard. The address of the wpszamla.hu window contains your site’s
domain and a one-time random identifier.

Automatic requests (invoicing on order status change, the heartbeat, the visitor tax
lookup, the one-time background migration of old invoice identifiers) only run while the site has
an active connection (an access token received at activation). All requests use HTTPS with certificate verification. Every request to the service
API carries an X-WP-Domain header with your site’s domain name (without www.), which the
service matches against the domain bound at activation; authenticated requests also carry the
site’s access token.

What is sent, when, and why:

  • Connecting an account and activation (only in the setup wizard): the published legal
    documents are downloaded for display; when you connect an existing account, only your e-mail
    address
    is sent (the documents were accepted when the account was created on wpszamla.hu, so
    no acceptance is sent from the plugin); then the activation code from your mailbox and your site domain are sent to
    receive the access token. A new account is opened on wpszamla.hu (see above), not by the plugin.
  • Heartbeat (every 3 hours via WP-Cron, only with an active connection): the plugin,
    WordPress, WooCommerce and PHP version numbers, to report the connection health and to
    rotate the access token when the service asks for it.
  • Invoice issuing (when an order reaches a paid status, or when you preview or issue an
    invoice manually): the order reference, the buyer’s name, billing address (country code, postal
    code, city, street), e-mail address, Hungarian tax number or EU VAT number
    (if given), the
    order line items (name, quantity, net unit price after discounts, VAT rate) including shipping and fees, the
    currency, the payment method, the fulfilment date (the Budapest calendar day of the
    order status change that triggered invoicing), the payment due date and the order’s
    creation time (origin.order_created_at). The service creates the invoice and reports it
    to NAV.
    The applicable VAT cases for the invoice date are downloaded first.
  • Payment recording: the paid amount, date, currency, order ID and payment method.
  • Cancellation / correction (when an order is cancelled or refunded, or when you start it
    from the admin): the invoice identifier, the reason code and the reason text.
  • Invoice download link (when the customer opens their order page): a time-limited share
    link is requested for that order’s invoice.
  • Issuer data (when you save the settings or the setup wizard): your company name and
    address, your invoice number prefix, your VAT scheme and regulated product declaration; your
    tax number when you bind your NAV identity and request the credential link.
  • Data Processing Agreement acceptance (when you accept a new DPA version in the admin): the
    document version and text hash, the plugin version, and the accepting WordPress user ID and
    display name
    . The service then e-mails a confirmation request to your account address.
  • Admin lookups (only when you use them): the tax number you type (taxpayer lookup at
    NAV, through the service), the EU VAT number you type (VIES check), a postal code
    (city lookup), or a currency and date (MNB exchange rate).
  • Visitor tax lookup — the [wpszamla_tax_lookup] shortcode (only if you place it on a page
    and the site has an active connection): the tax number typed by the visitor is sent to the
    service to fetch the company’s registered name and address from NAV. The visitor’s IP address
    is used only locally for rate limiting and is not sent.
  • Account and invoice pages (when you open the plugin’s admin pages): your account status,
    plan usage, invoice list, statistics, payments and PDFs are fetched; the tax authority export
    is generated on request. No store data is sent for these beyond the query itself.
  • Pricing (when you open the plugin dashboard; cached for 15 minutes): the current plan list
    is downloaded. No personal data is sent.
  • Old invoice identifier migration (once, in the background via WP-Cron or Action Scheduler,
    only with an active connection and only if orders still carry identifiers from an early plugin
    version): the invoice list (GET /v1/invoices) is read page by page to match the invoice numbers
    stored on those orders. Nothing is sent beyond the query itself; if the list cannot be read
    completely, nothing is changed and it retries 15 minutes later.
  • Disconnect (when you click Disconnect on the Connection page, and when you delete the
    plugin): DELETE /v1/tokens/current with the site’s access token, so the service unbinds the
    site and revokes the token. On deletion this is a single, short (at most 5 seconds per site)
    best-effort request sent after the local data is already removed; its failure does not stop the
    deletion.

The plugin downloads no executable code from the service and does not update itself; updates come
only from WordPress.org.

Installation

  1. Install and activate WooCommerce, then install and activate this plugin (Plugins → Add New).
  2. Open WP Számla in the admin menu. In step 1 of the setup wizard create a new account or
    connect an existing one. The service address is fixed (https://wpszamla.hu); you do not enter it anywhere. A new account is
    created on wpszamla.hu, not in the plugin: the setup wizard opens a wpszamla.hu window (or a new tab)
    where you enter your e-mail address and accept the Terms of Service. To connect an existing account,
    you only enter its e-mail address in the wizard.
    Then enter the activation code you receive by e-mail.
  3. In step 2 request the credential link. It is sent to your account e-mail address; you enter
    the NAV technical user’s details on the WP Számla service’s own page, not in WordPress.
  4. Complete the wizard. From then on, invoices are issued automatically for paid orders.

FAQ

Do I need a NAV Online Számla technical user?

Yes. You create the technical user on the NAV Online Számla portal; the setup wizard guides you.

Does the plugin store my NAV credentials?

No, and they never pass through WordPress. You enter the technical user’s password and the two
XML keys on the WP Számla service’s own page, through a one-time link sent by e-mail. The plugin
sees neither the credentials nor the link; it only asks for the link to be sent and then reads
the identity status.

Does the plugin work without a WP Számla account?

No. The plugin is a client of an external service (WP Számla) and does not issue invoices on its
own. The Free plan lets you issue 5 invoices in total with every feature.

Is the plugin compatible with WooCommerce HPOS (High-Performance Order Storage)?

Yes.

How do I update the plugin from a zip file?

Upload the new zip under Plugins → Add New → Upload Plugin, and on the next screen choose
Replace current with uploaded. Do not delete the plugin first: deleting disconnects the site
and removes the mail settings (see below).

What happens to my invoices if I have to reinstall my site?

Your invoices are stored by the WPszámla service, not in WordPress, so a reinstall does not delete
them. You can always view and download them on the WPszámla customer portal. To continue
invoicing, reconnect the same account in the setup wizard with Már van fiókom (“I already have an account”).

What happens when I delete the plugin?

Deactivating the plugin changes no data. Deleting the plugin (Plugins → Delete) works as follows.

Deleted by default: the connection to your WP Számla account (the access token is deleted on
this site, then the plugin asks the WP Számla service to disconnect the site), the mail (SMTP)
settings including the stored password, caches, internal flags and the plugin’s general scheduled
tasks. No secret stays on the site.

Order-bound delayed tasks stay scheduled: recording a payment or a cancellation (storno), and
sending the invoice e-mail. They usually run within seconds or minutes, but after an error they
retry for up to an hour (payment) or a day (e-mail). They only run if the plugin is installed
again before they are due. Otherwise WordPress drops them, and that payment or cancellation is not
recorded and the e-mail is not sent. Delete the plugin only when no such task is pending, or check
your recent orders in your WP Számla account after a reinstall.

Kept by default, so that a reinstall does not start from zero: your invoicing settings
(company data, invoice prefix, currencies, VAT and automation choices, the NAV environment and tax
number shown by the plugin), a marker that this site was connected before, and the invoice links on
your orders (_wpszamla_* order meta). These are your shop’s own data, not secrets. Your invoices
themselves are kept in your WP Számla account, not on the site. After a reinstall, reconnect with
Már van fiókom (“I already have an account”) in the setup wizard and set up the mail settings
again.

To delete everything: add define( 'WPSZAMLA_REMOVE_ALL_DATA', true ); to wp-config.php
before deleting the plugin. Then the invoicing settings, the marker, the order-bound scheduled tasks
and the plugin’s order meta are deleted as well, and nothing of the plugin’s data stays on the site.

WP-CLI: wp plugin uninstall nexir-szamla runs this cleanup; wp plugin delete nexir-szamla
only removes the files and leaves the data and the connection in place.

If another copy of the plugin is installed on the site as well (for example an older release in the
wpszamla folder), deleting one copy does not clean up and does not disconnect: the data and the
connection are shared, and they belong to the copy that stays. The cleanup and the disconnection
happen when the last copy is deleted. While the other copy stays installed, remove an older copy’s folder
at file level (FTP or your host’s file manager), not with its Delete link. If the older copy is the only
one left, delete it with its Delete link, so that the cleanup and the disconnection run.

Changelog

1.0.0

First public release.

  • Published on WordPress.org under its own plugin name (slug and text domain nexir-szamla); WP Számla remains the name of the service.

  • Automatic invoice when an order reaches a paid status, with the payment recorded on the invoice; storno invoice on cancellation or refund, and a “Refunded” mark with the refund date.

  • Manual invoices and corrections from the WordPress admin, Hungarian or bilingual (Hungarian–English) invoices.
  • NAV Online Számla 3.0 reporting by the WP Számla service, with status tracking, stuck-invoice alerts and e-mail notifications.
  • Optional VAT number field at checkout, invoice download link on the customer’s order page, invoice e-mail with your own SMTP and logo.
  • Taxpayer, EU VAT (VIES), postal code and MNB exchange rate lookups, and the [wpszamla_tax_lookup] shortcode.
  • Setup wizard with registration, NAV connection and plan selection; NAV credentials are entered only on the WP Számla service’s own page, never in WordPress.
  • Compatible with WooCommerce HPOS (High-Performance Order Storage).
  • Reconnecting an existing account: the setup wizard shows your current plan and the NAV name choice, and offers “I already have an account” by default on a site that was connected before.
  • Uninstall: deleting the plugin disconnects the site and deletes the access token, the mail settings, caches and internal flags. By default it keeps the invoicing settings, a “connected before” marker and the order invoice links, so that a reinstall does not start from zero; with WPSZAMLA_REMOVE_ALL_DATA set in wp-config.php it deletes all of the plugin’s data. / Törlés: a bővítmény törlése leválasztja a webhelyet, és törli a hozzáférési tokent, a levélküldési beállításokat, a gyorsítótárakat és a belső jelzőket. Alapból megtartja a számlázási beállításokat, a „már csatlakozott” jelölőt és a rendelések számla-hivatkozásait, hogy újratelepítés után ne kelljen elölről kezdeni; a wp-config.php-ben megadott WPSZAMLA_REMOVE_ALL_DATA mellett a bővítmény minden adatát törli.