Skip to content
Merit Aktiva
Lovable

Lovable and Merit Aktiva integration

Merit Aktiva

Orders from a shop built in Lovable reach Merit Aktiva automatically, with nothing typed in by hand.

Price
99 € / year
Licence
One domain
Setup
From My account

How it works

  1. 1. Paid order

    The customer pays for an order and the shop sends it to e-liides.

  2. 2. Invoice in Merit Aktiva

    The invoice is built from the customer details and the exact rows of the order.

  3. 3. Payment

    If a payment method is mapped in the e-liides settings, the payment is added to the invoice.

Frequently asked questions

No. The e-liides settings page has ready-made instructions you copy into the Lovable chat. Lovable uses them to build a Supabase Edge Function that sends paid orders to e-liides.

The only thing you enter yourself is the licence key, which Lovable asks for as a secret.

Only paid ones. An order sent before it is paid is kept on hold, and invoiced once the shop sends the same order again with the status "paid".

Sending the same order more than once is safe — each order becomes one invoice.

When an invoiced order is cancelled or fully refunded, the shop sends the same order again with the status "cancelled" or "refunded" and e-liides creates a credit invoice for the whole order, numbered like the original with "-K" on the end.

Credit invoices for partial refunds have to be made by hand in Merit Aktiva.

Yes, as long as the shop has a server side. It has to send each paid order to e-liides in the same format — the technical reference with a code example is on the API page.

The bottom of the e-liides settings page lists the latest orders the shop sent and what became of each: invoiced, waiting or failed.

  • Whether the e-liides licence is valid
  • Whether the order shows up under "Latest orders received" on the settings page — if not, check the function log in Lovable
  • Whether the Lovable secret ELIIDES_API_KEY matches the e-liides licence key
  • Whether the Merit Aktiva API keys are in the right fields
  • Whether the tax mappings are set
  • Whether the integration has been activated in the settings

No. If a product on an order is missing, the article is created automatically. Existing products are matched on their code (SKU).

If Merit Aktiva reads invoice payments automatically, set the e-liides settings not to add payments.

Contact our support and we will set the module up for you free of charge.

Installation guide

Installation guide

  1. 1

    Register a Merit Aktiva licence at e-liides.ee

    • Log in or create an account at e-liides.ee
    • After logging in, choose My account in the top right menu
    • Press Order a new service
    • Choose the Merit Aktiva module for the Lovable platform and register the licence
    • Press Configure in the licence list
  2. 2

    Have Lovable build the order sending

    • Copy Instructions for Lovable from the settings page
    • Paste them into your Lovable project chat and let Lovable make the change
    • Add the ELIIDES_API_KEY secret: in the Lovable editor press + next to Preview, open Cloud → Secrets → Add Secret and enter the licence key shown at the top of the settings page as the value. If Lovable asks for the secret itself, enter the same key there
    • Place a test order in the shop and pay for it
    • Check that the order appears under Latest orders received on the settings page
  3. 3

    Connect Merit Aktiva

    • Enter the Merit Aktiva API details, found in the Merit Aktiva settings
    • Choose the date from which orders are invoiced — earlier test orders are left out
    • Press Create connection
  4. 4

    Set up taxes and other mappings

    • Fill in the tax mappings — the tax type is required, the revenue account only when the tax type has no default one
    • Map each payment method to the Merit Aktiva account the payment is booked to. If Merit Aktiva reads payments itself, choose "Do not add payments"
    • Choose the warehouse and the shipping article
    • When everything is set, tick I activate the integration and allow orders to be imported
  5. 5

    The integration is set up

    If something does not work as expected, see the FAQ on this page. If you cannot find an answer, contact us.

    • Paid orders now reach Merit Aktiva
    • Each invoice is created within about 5 minutes of the order arriving

Need help setting it up?

Get in touch and we will configure the module for you, free of charge.