Mystore & Accounting Integration
Fetch products and orders from a chosen date from the Mystore API and move them into ReAI.
- Reads products and orders through the Mystore API with a personal access token
- Creates products that are missing in ReAI, matched by SKU
- Creates one ReAI order per invoice order, with a duplicate check
- Sums orders paid at checkout into one voucher per day against the clearing account
What moves into ReAI
The integration fetches products with a SKU and the orders from the date you choose from the Mystore API. You choose what to create in ReAI.
| From Mystore | In ReAI |
|---|---|
| Product with SKU | Product with the same SKU and its price excluding VAT |
| Order lines | Order lines priced excluding VAT with the output VAT code for the Mystore VAT rate |
| Shipping, fees and discounts | Separate order lines with the VAT rate from Mystore |
The order’s payment method decides what happens. Orders whose payment method contains one of the words you enter (faktura, invoice by default), and orders without a payment method, become ReAI orders that you invoice from ReAI. Other orders, such as Klarna, Vipps or card, are paid at checkout and summed into one voucher per day:
- Debit the clearing account (
1580by default) per payment method with the order totals. - Credit sales per VAT rate including VAT (
3000,3010,3020or3100), so ReAI separates the VAT. - Øre differences go to
7790.
A day is offered only once it is over. Credited and cancelled orders are left out of the voucher, and an order whose lines do not match its total stops the day. The voucher is flagged for review, and the same day is never booked twice. Leave the payment methods field empty to make every order a ReAI order as before.
The order is linked to the ReAI customer with the same email or name. An order is offered only when its lines add up to the Mystore order total, and each order can be moved only once. Cancelled, returned and credited orders are listed but not offered.
Setup
- Log in at auth.mystore.no with your store name and admin user.
- Open Personal Access Tokens, choose Create New Token and give the token the scopes
products:readandorders:read. Copy the token, it is shown only once. - Click Open integration, connect ReAI and choose the company.
- Enter the store name, token, order date, the payment methods to invoice and the clearing account, and scan the store. Create the missing products, move the invoice orders and create the vouchers for the days paid at checkout.
The token is used only for the scan and is never stored.
Switch to accounting without integration fees
Every web integration and desktop app here is free to use with ReAI. Start your account in two minutes.