View Source ExFiskal.ZKI (ExFiskal v0.1.2)
Handles generation of ZKI (zaštitni kod izdavatelja) for Croatian fiscalization. The ZKI is a security code that confirms the link between the fiscalization obligor and the issued receipt.
Summary
Functions
Generates ZKI code from the receipt data and PKCS12 certificate.
Functions
Generates ZKI code from the receipt data and PKCS12 certificate.
Parameters:
- params: Map containing required fields:
- tax_number: Tax number (OIB)
- datetime: Receipt datetime
- invoice_number: Receipt sequence number
- business_unit: Business unit identifier
- device_number: Device identifier
- total_amount: Total amount
- p12_binary: PKCS12 certificate binary data
- password: PKCS12 certificate password