Magento 2

MAGENTO FISCALIZATION

Magento fiscalization
with one module.

The FiskalAPI module issues a Serbian fiscal receipt for every Magento 2 order, on its own, when the order reaches the status you choose. The buyer sees the receipt with its QR code on the page after checkout and in their account. The module is free — you pay only for issued receipts.

  • Approved ESIR · ID 1609
  • Key per store view
  • Free module
Stores → Configuration → FiskalAPI
fapi_test_••••••••••••
Buyer pays

What happens

Order #1042 moves to "Processing" → the receipt is issued right away and saved on the order.

On the receiptПлатна картица
Buyer seesreceipt number, QR and verification link after checkout and in their account

From installation to the first receipt

  1. 01

    Add the module

    Unzip into app/code/FiskalApi/Fiskalizacija in your store.

  2. 02

    Enable it

    bin/magento module:enable FiskalApi_Fiskalizacija, then setup:upgrade and cache:flush.

  3. 03

    Paste the test key

    Stores → Configuration → FiskalAPI: a key starting with fapi_test_, enable fiscalization and click "Test connection".

  4. 04

    Switch to the live key

    Once your security element is in, replace the test key with the live one (fapi_live_) and start selling.

What the module does

  • Payment method from the order

    Card, cash on delivery, bank transfer or check — read from the order’s payment method.

  • Tax label per rate

    Selling at two VAT rates? Map each rate to its label (20=Ђ, 10=Е), and shipping separately.

  • Shipping and discounts

    Shipping goes on the receipt as its own line, and the total is matched to the amount charged to the para.

  • No duplicate receipts

    The receipt number is stored on the order; a repeated status change does not create a second receipt.

  • Manual button

    "FiskalAPI: fiscalize now" on the order in admin, for an order that did not go through.

  • Key per store

    Settings work per store scope, so each store can have its own key.

Magento
2.3 or newer
PHP
7.4 or newer
Access
server command line (bin/magento)
Store currency
Serbian dinar (RSD) — orders in other currencies are skipped
Account
a FiskalAPI key — the test key is free

Questions about the Magento module

Approved ESIR · ID 1609

The module is free, as are the test key and help with connecting. You pay only for issued fiscal receipts, tiered from 9 down to 1.5 RSD per receipt, with no subscription.

The default is "Processing" — the order is paid. If you take cash on delivery, choose "Complete", because the receipt is issued when the courier collects, not when the order arrives.

The courier collects cash or card and does not tell the store which. So in the settings you choose: cash, payment card or other cashless payment.

Yes, with one line in the email template (Marketing → Email Templates) — the module README explains how. Even without it, the buyer sees the receipt after checkout and in their account.

The reason is written to the order history and the order stays untouched. On the order in admin, click "FiskalAPI: fiscalize now". If the order already has a receipt number, no second receipt is issued.

Settings work per store, so each one can have its own FiskalAPI key and its own trigger status.

The module issues the sale receipt. A return gets a refund receipt that references the original — one API call. The module does not yet issue refunds from Magento on its own, so we connect that together with you.

Read next

Fiscalize your Magento store

Request a free test key and issue your first test receipt today.