Skip to main content

Hungary — NAV Sandbox Onboarding

Operational guide for getting test credentials at the Hungarian NAV Online Számla sandbox.

PropertyValue
AuthorityNAV (Nemzeti Adó- és Vámhivatal)
Sandbox base URLhttps://api-test.onlineszamla.nav.gov.hu/invoiceService/v3
API version3.0
CostFree
Time to provision1-3 days
Identity requiredHungarian tax number (real or NAV-issued test taxpayer)

Steps

  1. Register or log into the NAV Online Számla developer portal at onlineszamla.nav.gov.hu.
  2. Inside your taxpayer profile, create a technical user (műszaki felhasználó) — this is a separate account from the human login.
  3. NAV generates four credentials:
    • password — hash with SHA-512 before sending in requests
    • signatureKey — used for SHA3-512 request-signing
    • exchangeKey — used to decrypt the AES-128/ECB-encoded session token
    • The technical user's login (handle)
  4. Note your taxNumber (8 digits + VAT code + county code) and softwareId (assigned per integration, not per merchant).
  5. Validate by issuing tokenExchangeRequest against the sandbox.

GitHub secrets to set

HU_NAV_TAX_NUMBER
HU_NAV_TECH_USER_LOGIN
HU_NAV_TECH_USER_PASSWORD
HU_NAV_SIGNATURE_KEY
HU_NAV_EXCHANGE_KEY
HU_NAV_SOFTWARE_ID

Gotchas

  • softwareId is per-integration, not per-merchant. One value covers all your test taxpayers.
  • Sandbox uses API v3.0 — no FA(2)/FA(3) migration drama (that's a Polish concern).
  • Request signature must implement BOTH SHA-512 and SHA3-512. SHA-512 is for password hashing, SHA3-512 is for the per-request signature. Adapter at rust/adapters/hungary/src/auth.rs already does this.
  • The 4-second request signature window is enforced strictly — clock skew is the most common authentication failure in sandbox testing. Use NTP-synced clock.

Non-resident path

The software-vendor track is openly accessible. NAV's developer portal accepts foreign software vendors with no Hungarian residency requirement.

  • No local entity required for sandbox. Register as a foreign software vendor at onlineszamla.nav.gov.hu; test taxpayer numbers can be requested without holding a Hungarian taxpayer of your own.
  • softwareId is per-integration, not per-merchant — one value covers all your test taxpayers, and we issue it once for the whole platform regardless of where Zyntem is incorporated.
  • Production constraint. NAV reports merchants' domestic sales; the merchant must be a Hungarian VAT subject. The software platform does not need to be a HU entity — we onboard Hungarian merchants directly and they sit on their own taxpayer record.
  • Cheapest path: apply directly via the NAV developer portal. ~1 week. No fiscal representative needed.
  • Research doc: hungary.md
  • Adapter crate: rust/adapters/hungary/
  • Sandbox tests: rust/adapters/hungary/tests/sandbox.rs