SmartAccounts

plugin banner

This plugin creates sales invoices in the smartaccounts.ee Online Accounting Software after Woocommerce order creation

Author:Margus Pala (profile at wordpress.org)
WordPress version required:4.8.0
WordPress version tested:5.4.2
Plugin version:3.2
Added to WordPress repository:13-12-2017
Last updated:26-08-2020
Rating, %:0
Rated by:0
Plugin URI:https://github.com/smartman/woocommerce_smart...
Total downloads:1 194
Active installs:30+
plugin download
Click to start download

This plugin:
* Creates Customer to SmartAccounts if no existing customer with same name and e-mail found
* Creates Articles in Smartaccounts of Woocommerce product on the order if existing products are not found.
Woocommerce product SKU is compared with SmartAccounts article code.
* Creates sales in invoice and connects it with the right customer and adds all the Articles on the invoice.
* Marks the sales invoice as paid if needed.
* Imports Articles from SmartAccounts to Woocommerce

Importing products from SmartAccounts

  • Products must be active sales items and of type Warehouse Item or Product. Services are not imported.
  • Product final price is taken from SmartAccounts unless sale price is set. If sale price is set manually then only regular price is changed.

Note about Woo and SmartAccounts client matching

If order has meta _billing_regcode then plugin looks for Client with this registration code from SmartAccounts.

Otherwise customer name is used to match. If SmartAccounts with this name does not exist then new SmartAccounts Client is created.
If user was anonymous then general client is created with the country name.

As people often type their official company name incorrectly then fuzzy matching is performed.
OÜ, AS, MTÜ, KÜ and FIE are removed from the beginning and end of the name and first match with the “main part of name” is used.

What are the plugin limitations?

  • Order changes and cancelling is not handled automatically
  • All items have one VAT percentage
  • SmartAccounts article code must be added to the Woocommerce product SKU if existing SmartAccounts article must be used
  • If product is not found then “Woocommerce product NAME” Article is created to SmartAccounts
  • Plugin does not handle errors which come from exceeding rate limits or unpaid SmartAccounts invoices.
  • If there are errors then invoices might be missing and rest of the Woocommerce functionality keeps on working
  • SmartAccounts API key, API secret and Payment account name must be configured before plugin will start working properly.
  • If plugin creates offer and this offer is deleted by the time invoice is created then creating invoice will fail.
  • Exact shipping method is not sent to SmartAccounts

These shortcomings can be resolved by additional development. If these are problem for you then please get in touch with margus.pala@gmail.com


ChangeLog