How the integration works
Visma e-conomic Payments (Visma e-conomic Betalinger) fetches the customer payments you post in e-conomic, and registers them on the same invoices in Project Flow. The invoice is then shown as paid in Project Flow, without anyone registering the payment by hand. It also disappears from the overdue list and from payment reminders.
- One direction. Payments go from e-conomic to Project Flow. Nothing is sent back to e-conomic.
- Requires the Visma e-conomic integration. The invoices must have been transferred from Project Flow with the Visma e-conomic integration, so that they have the same invoice number in both systems. See the article Visma e-conomic integration.
- Matched by invoice number only. The payment must have the invoice number filled in when it is posted in e-conomic (see Post payments in e-conomic).
Set up the integration
Before you start
- Visma e-conomic enabled. Visma e-conomic Payments only appears in the list of integrations when the Visma e-conomic integration is enabled.
- Agreement token. You can use the same agreement token as in the Visma e-conomic integration. Open that integration and copy it.
Step 1: Add the integration
- Go to Setup → Settings → Integrations. You need administrator access.
- Click + Create integration and choose Visma e-conomic Payments.
Step 2: Fill in the settings
| Field (EN / DA) | Description |
|---|---|
| Agreement token / Aftale-kode (API) | The agreement token from e-conomic. Required. |
| Number of days back to import on first run / Antal dage tilbage til import ved første kørsel | How many days back the first import fetches payments, from 0 to 100. Required. The field disappears after the first import. |
| Co-workers to notify / Emails to notify | Who gets an e-mail when the import fails. |
Tick Enabled and save.
- Its own token. The token is stored on this integration. If you change the token in the Visma e-conomic integration, change it here too.
- Project Flow plan. The integration isn't available on the Start plan.
Check the token before you save. The first import only runs once, even if it fails because of a wrong token. Use the token from the Visma e-conomic integration, where you can test it with Fetch Journals.
Post payments in e-conomic
Project Flow uses the invoice number on the payment entry in e-conomic to find the invoice. It doesn't read the payment text.
- Fill in the invoice number. When you post a customer payment in the cash journal, fill in Fakturanr. with the Project Flow invoice number, or match the payment to the invoice.
- Not enough in the text. A payment with the text "Betaling af faktura 15231" but no invoice number on the line can't be matched, and is never registered in Project Flow.
- One line per invoice. A payment that covers several invoices in one line has no single invoice number, and is never registered in Project Flow. Split it into one line per invoice, or register it by hand in Project Flow.
What is imported
Project Flow reads the customer payment entries in e-conomic, and for each one takes:
| From e-conomic | Used for |
|---|---|
| Invoice number on the entry | Finding the invoice in Project Flow |
| Date | The date of the payment |
| Amount and currency | The amount of the payment |
| Entry number | Making sure the same payment is never imported twice |
Where payments appear. In Project Flow, the payments show up as Registered from Visma e-conomic in the invoice's Payments and write off tab, and in Finances → Payments and write off.
Partial payments. If an invoice is paid in several parts, each part becomes its own payment in Project Flow. The invoice is settled when they add up to the total.
When payments are imported
- Once a day, at 23:00 UTC (01:00 Danish time in summer, 00:00 in winter).
- First run: payments dated in the number of days you chose.
- Later runs: payments dated in about the last 45 days. Payments already imported are skipped.
- Payment posted today: it appears in Project Flow the next morning.
Posted late? A payment is only fetched if its date is within that period. A payment posted in e-conomic with a date more than about 45 days back isn't imported. Register it by hand in Project Flow.
Older payments. If payments are missing from a longer period, for example because the integration was turned off, contact Project Flow support. Support can run the import again from a chosen date.
How payments are matched
Each payment is registered on the Project Flow invoice with the same invoice number as on the entry in e-conomic. OCR / FIK numbers aren't used.
Payments that don't match aren't saved. If no invoice in Project Flow has the entry's invoice number, or the entry has no invoice number, the payment isn't registered. It doesn't appear as Unmatched in Project Flow, and it isn't shown in the log. Correct the entry in e-conomic, or register the payment by hand.
Invoices created directly in e-conomic don't exist in Project Flow, so their payments aren't imported.
Verify the integration
- Pick an invoice that was finalized in Project Flow and transferred to e-conomic.
- Post a payment on it in e-conomic, with the invoice number filled in on the line.
- The next morning, open the invoice in Project Flow and check the Payments and write off tab for a payment Registered from Visma e-conomic.
Check the log
Go to Company → Logs and choose the category Visma e-conomic Payments. A message is only written when the import fails:
- "Failed to import payments from Visma e-conomic: …", followed by the reason, for example "Token does not correspond to a valid grant." when the token is wrong or the app has been removed in e-conomic.
- The people to notify also get an e-mail: "Error: Failed to import payments from Visma e-conomic to Moment".
- Successful imports aren't logged. Check the invoices instead.
- Visma e-conomic turned off. If the Visma e-conomic integration is turned off, payments stop being imported, without any message.
Q&A
Q: An invoice is paid in e-conomic but still open in Project Flow.
A: Check these things:
- The payment line in e-conomic has the invoice number filled in.
- The payment pays only that invoice, not several in one line.
- The payment's date is within the last 45 days.
- Both integrations, Visma e-conomic and Visma e-conomic Payments, are enabled.
- The payment was posted after last night's import. Then it comes with the next import.
Q: The customer paid several invoices with one payment.
A: Split the payment into one line per invoice in e-conomic, each with its invoice number, or register the payments by hand in Project Flow. Don't do both, or the payment can be registered twice.
Q: Is a payment counted twice if I also register it manually?
A: Yes. Project Flow doesn't compare imported payments with manual ones. If you register a payment manually and it is imported later, delete the manual payment.
Q: The field "Number of days back to import on first run" is gone.
A: It is only shown until the first import has run. To fetch payments further back, contact Project Flow support.
Q: Do OCR / FIK numbers help to match the payment?
A: No. Only the invoice number on the entry is used.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article