= 3.4.2 =
* Fixed document issuance for products, shipping and fees with HTML in the name (e.g. “ or `
* `) — iDoklad API rejects such a name with the error "contains restricted HTML" and the document is not created; HTML is now removed before sending (line break is replaced with a space)
* Bulk export of warehouse to iDoklad now also includes products for which the iDoklad item ID was deleted in the warehouse table (empty value was previously skipped); the item name is still treated from HTML before sending and truncated to 200 characters
* The reason for the connection failure (curl error) is now also written to the API error log if iDoklad did not respond
* Updated the Toret shared library to v1.174.0 — too long error description is truncated so that the log entry is not lost
* The control.php file is obsolete and will be removed, for cron use /wp-json/toret-idoklad/v1/payment-sync.
* Fixed document issuance for products, shipping and fees with HTML in the name (e.g. “ or `
* `) — iDoklad API rejects such a name with the error "contains restricted HTML" and the document is not created; HTML is now removed before sending (line break is replaced with a space)
* Bulk export of warehouse to iDoklad now also includes products for which the iDoklad item ID was deleted in the warehouse table (empty value was previously skipped); the item name is still treated from HTML before sending and truncated to 200 characters
* The reason for the connection failure (curl error) is now also written to the API error log if iDoklad did not respond
* Updated the Toret shared library to v1.174.0 — too long error description is truncated so that the log entry is not lost
* The control.php file is obsolete and will be removed, for cron use /wp-json/toret-idoklad/v1/payment-sync.
= 3.4.1 =
* Updated shared Toret library to v1.173.0 — unified versioning of shared scripts between Toret plugins (fixes broken settings elements if there is another Toret plugin with an older version of the library on the site)
* Fixed version header in translation template languages/woo-idoklad.pot and in Slovak translation
* Updated shared Toret library to v1.173.0 — unified versioning of shared scripts between Toret plugins (fixes broken settings elements if there is another Toret plugin with an older version of the library on the site)
* Fixed version header in translation template languages/woo-idoklad.pot and in Slovak translation
= 3.4.0 =
* Added synchronization of contacts to iDoklad without issuing a document — when accepting an order, when registering a customer or editing a profile, mass synchronization on the new "iDoklad contacts" page and the action "Synchronize contact(s) to iDoklad" in the user overview (all optional in settings, Contacts synchronization tab)
* Contacts are searched in iDoklad by email before creation — duplicate contacts no longer arise for unregistered customers (proforma and invoice for the same order now share one contact)
* Fixed the plugin translation option — texts can now be translated in Loco Translate or Poedit (textdomain passed as a literal), added translation template languages/woo-idoklad.pot
* Added a complete Slovak translation of the plugin
* Minimum required PHP version increased to 8.1 (added check with notification in administration)
* Updated shared library Toret to v1.170.0
* Added synchronization of contacts to iDoklad without issuing a document — when accepting an order, when registering a customer or editing a profile, mass synchronization on the new "iDoklad contacts" page and the action "Synchronize contact(s) to iDoklad" in the user overview (all optional in settings, Contacts synchronization tab)
* Contacts are searched in iDoklad by email before creation — duplicate contacts no longer arise for unregistered customers (proforma and invoice for the same order now share one contact)
* Fixed the plugin translation option — texts can now be translated in Loco Translate or Poedit (textdomain passed as a literal), added translation template languages/woo-idoklad.pot
* Added a complete Slovak translation of the plugin
* Minimum required PHP version increased to 8.1 (added check with notification in administration)
* Updated shared library Toret to v1.170.0
= 3.3.3 =
* Fixed "out of memory" error when opening the plugin log on e-shops with a large number of orders (optimized loading of orders in the log overview)
* Fixed "out of memory" error when opening the plugin log on e-shops with a large number of orders (optimized loading of orders in the log overview)
= 3.3.2 =
* Fixed swapping of DIČ and IČ VAT values on documents for Slovak customers — values are now displayed with the correct labels (controlled by the customer's country, also works on Czech iDoklad accounts)
* Fixed sending of reduced VAT rate on Czech accounts — historical "reduced rate 2" (12%) is automatically converted to a reduced rate so that iDoklad does not reject the document (ErrorCode 127); on Slovak accounts remains preserved
* Improved VAT mode settings for OSS and reverse charge — invoices and proformas are correctly marked as reverse charge and iDoklad stops rejecting invoices with VAT number (ErrorCode 119)
* Now, when proforma payment check is enabled, a notification is displayed in the administration if the invoice cannot be issued because the proforma has not yet been paid (previously, the button seemingly did nothing)
* Now, errors from iDoklad when issuing a document are displayed as a notification in the administration, not just in the plugin logo
* Added a link to download a credit note to an email and to the order details in the My Account section
* Fixed double display of links to invoices/proformas/credit notes in the My Account section
* Uniform default appearance of buttons for downloading documents in emails
* Fixed compatibility with PHP 8.5 when reading VAT rate settings
* Minor stability fixes (treatment of non-existent products during warehouse synchronization, correction of obtaining categories and order statuses) and tightening of inputs
* Fixed swapping of DIČ and IČ VAT values on documents for Slovak customers — values are now displayed with the correct labels (controlled by the customer's country, also works on Czech iDoklad accounts)
* Fixed sending of reduced VAT rate on Czech accounts — historical "reduced rate 2" (12%) is automatically converted to a reduced rate so that iDoklad does not reject the document (ErrorCode 127); on Slovak accounts remains preserved
* Improved VAT mode settings for OSS and reverse charge — invoices and proformas are correctly marked as reverse charge and iDoklad stops rejecting invoices with VAT number (ErrorCode 119)
* Now, when proforma payment check is enabled, a notification is displayed in the administration if the invoice cannot be issued because the proforma has not yet been paid (previously, the button seemingly did nothing)
* Now, errors from iDoklad when issuing a document are displayed as a notification in the administration, not just in the plugin logo
* Added a link to download a credit note to an email and to the order details in the My Account section
* Fixed double display of links to invoices/proformas/credit notes in the My Account section
* Uniform default appearance of buttons for downloading documents in emails
* Fixed compatibility with PHP 8.5 when reading VAT rate settings
* Minor stability fixes (treatment of non-existent products during warehouse synchronization, correction of obtaining categories and order statuses) and tightening of inputs
= 3.3.1 =
* Fixed overwriting of the "Out of stock" status for products that do not have warehouse management enabled in WooCommerce — synchronization in both directions (iDoklad ↔ WooCommerce) now respects the "Manage warehouse" option even when saving the product
* Security: removed unregistered AJAX endpoint for mass deletion of iDoklad user IDs
* Security: added optional cron URL protection (warehouse synchronization and payment control) with a security token (option `idoklad_cron_secret`)
* Fixed missing logging of iDoklad API POST calls when the "Log API call details" option is enabled
* Fixed minor code errors detected by static analysis
* New `idoklad_skip_stock_sync` filter for custom warehouse synchronization rules for individual products
* Fixed overwriting of the "Out of stock" status for products that do not have warehouse management enabled in WooCommerce — synchronization in both directions (iDoklad ↔ WooCommerce) now respects the "Manage warehouse" option even when saving the product
* Security: removed unregistered AJAX endpoint for mass deletion of iDoklad user IDs
* Security: added optional cron URL protection (warehouse synchronization and payment control) with a security token (option `idoklad_cron_secret`)
* Fixed missing logging of iDoklad API POST calls when the "Log API call details" option is enabled
* Fixed minor code errors detected by static analysis
* New `idoklad_skip_stock_sync` filter for custom warehouse synchronization rules for individual products
= 3.3.0 =
* New mode "From iDoklad" for selecting bank accounts — instead of manually entering the account number, bank code, IBAN and SWIFT, an existing account from iDoklad is selected
* Fixed sending the bank code on the invoice (correct API field BankNumberCode)
* Fixed log export conflict between Toret iDoklad and Toret GLS plugins
* New mode "From iDoklad" for selecting bank accounts — instead of manually entering the account number, bank code, IBAN and SWIFT, an existing account from iDoklad is selected
* Fixed sending the bank code on the invoice (correct API field BankNumberCode)
* Fixed log export conflict between Toret iDoklad and Toret GLS plugins
= 3.2.2 =
* Fixed compatibility with CURCY – WooCommerce Multi Currency
* Fixed compatibility with CURCY – WooCommerce Multi Currency
= 3.2.1 =
* Fixed plugin log
* Fixed plugin log
= 3.2.0 =
* New support for CURCY – WooCommerce Multi Currency for currency conversion on invoices
* New support for CURCY – WooCommerce Multi Currency for currency conversion on invoices