Azets Connect integration

Modified on Thu, 5 Nov at 12:09 PM

How the integration works

The Azets Connect integration connects Project Flow to your accounting in Visma Business run by Azets, through Azets' integration platform. It sends customers, projects and finalized invoices to the accounting, and imports expenses, and optionally payments, back to Project Flow.

WhatDirectionWhen
CustomersProject Flow → AzetsWhen a customer is created or saved
ProjectsProject Flow → AzetsWhen a project is created or saved
Invoices and credit notesProject Flow → AzetsWhen the invoice is finalized
Expenses (supplier costs on projects)Azets → Project FlowEvery morning
Payments on invoicesAzets → Project FlowEvery morning, if turned on

Project Flow is the master. Invoice, customer and project numbers come from Project Flow. Don't change them in the accounting system.



Set up the integration

Before you start

Get these from your contact person at Azets:

  • The username and password for Azets Connect.
  • Your source client id and parent client id.
  • Which dimension (OrganizationalUnit 1–12) holds projects, and departments if you use them.

In Project Flow, check that:

  • Customer numbers are numbers only.
  • Account numbers on your bookkeeping accounts are the same as in the accounting system.


Add the integration

  1. Go to Setup → Settings → Integrations (Oppsett → Innstillinger → Integrasjoner). You need administrator access.
  2. Click + Create integration and choose Azets Connect.
  3. Fill in the fields below, tick Enabled and save.
Field (EN / NB)Description
Username with domain prefixThe username from Azets, with the domain prefix, for example vs\EXT.xxxx. Required.
Password / PassordThe password from Azets. Required.
Source client id / Kildeklient-IDTwo fields: the prefix (default F) and the client number, for example 1234. Change the prefix if your client id doesn't start with F. Required.
Parent client id / Overordnet klient-IDFor example S0012345. Required.
Export customers, Export projects, Export invoicesWhat to send to the accounting system. All are off on a new integration.
Export internal (shared) projectsOnly shown if you use company partnerships. Also send projects shared with partner companies.
Project dimension / Prosjekt-dimensjonThe dimension (OrganizationalUnit) that holds projects. Required.
Department dimension / AvdelingsdimensjonThe dimension that holds departments, if you use them.
Project states for exportOnly send projects in these states. Empty = all.
Customer states for exportOnly send customers in these states. Empty = all.
Import expenses / Importere utleggImport expenses. See Import expenses below.
Enable accrual / Bruk periodiseringAccrue product and subscription lines over their period. Fill in Credit accrual account number and Debit accrual account number.
Incoming paymentsImport payments on invoices. See Import payments below.
Co-workers to notify / Emails to notifyWho gets an e-mail when something can't be transferred or imported.
  • Username format. The domain prefix, for example vs\, must be part of the username. Project Flow doesn't add it for you.
  • No test on save. Project Flow doesn't check the login when you save. Save a test customer and check the log.
  • Project Flow plan. The integration isn't available on the Start plan.



Customers and projects

Customers are sent when created or saved, with:

  • customer number, name, and VAT or organization number;
  • the invoice address (or the main address): address lines, postal code and city;
  • country.
  • Only customers. Contacts that aren't marked as customers aren't sent, and neither are inactive customers. The log then shows "Customer #… was not exported because it is inactive".
  • Not sent: the customer's e-mail address.

Projects are sent when created or saved, in the project dimension, with project number, name and status:

  • 1: offer or not started;
  • 2: in progress;
  • 3: rejected, stopped or finished.
  • Not sent: the project's customer, template projects, and projects of inactive customers.



Invoices

When an invoice or credit note is finalized, Project Flow sends it as a voucher batch, about 15 seconds later. Posting then happens on Azets' side.

  • One customer line with the total including VAT, on the customer number.
  • One line per bookkeeping account used on the invoice.
In the accounting systemFrom Project Flow
Voucher number and invoice numberThe Project Flow invoice number
Voucher type11 for invoices, 12 for credit notes
Text"Outgoing invoice" or "Outgoing credit note"
Voucher date, due date, payment termsFrom the invoice
KIDThe invoice's KID number
Currency and exchange rateFrom the invoice
Project and departmentIn the dimensions you chose
Credited invoiceOn credit notes: the number of the invoice that is credited

Not sent: VAT codes (the accounting system uses the accounts' setup), Your reference, the invoice PDF and attachments.


Send again

If something wasn't transferred, correct the problem and send it again from Setup → Tools (Oppsett → Verktøy) → Export customers, Export projects or Export invoices (one invoice number, or from–to, at most 300 at a time). Only send invoices that are missing, so you don't get duplicate vouchers.



Import expenses

With Import expenses ticked, Project Flow imports supplier costs posted on projects in the accounting system, and adds them to the same project in Project Flow. You can then invoice them, with the supplier invoice attached.

Field (EN / NB)Description
Expense activity / UtleggsaktivitetThe activity on the project the expenses are put on. It is created if it doesn't exist. Default Imported expenses.
Report name (advanced)Leave it empty, unless Azets or Project Flow tells you otherwise.
Billable setting / Fakturerbar innstillingThe dimension (1–6) that says whether an expense is billable: value 1 = billable, 2 = not billable. Leave it empty to import all expenses as billable.

Which expenses. Azets decides which entries are included, for example which accounts and voucher types. Contact Azets to change it. Project Flow then imports:

  • Only expenses on a project whose number in the project dimension is the same as a project number in Project Flow. Others aren't imported, and the people to notify get an e-mail: "Couldn't find project with the project number '…' for voucher number …".
  • From each entry: the text, the amount excluding VAT, the date, the supplier and the supplier invoice number. The supplier invoice PDF is attached as expense.pdf.
  • Never twice. An expense is only imported once. Later changes in the accounting system, for example to the amount, aren't imported. A missing attachment is added later.

Billable setting with other values. If you use Billable setting, expenses with any value other than 1 or 2 in that dimension are skipped, without a message.

When. Every morning, Project Flow imports the entries changed in the accounting system since the day before. To fetch more days, use Setup → Tools → Import expenses and choose how many days back.



Import payments

With Incoming payments ticked, Project Flow also imports payments registered in the accounting system, and registers them on the invoice with the same invoice number. The invoice is then shown as paid in Project Flow.

  • Import expenses must also be ticked. Payments are fetched in the same morning run as the expenses.
  • The checkbox says "(coming soon)", but the import works.
  • Never twice. Each payment is only imported once.
  • Unknown invoice. If the invoice doesn't exist in Project Flow, the people to notify get an e-mail: "Received a payment from Azets for invoice number '…', but this invoice does not exist in Moment."



Check the log

Go to Company → Logs and choose the category Azets:

MessageMeaning
"Exported customer …" / "Exported invoice …"Transferred.
"Failed to export … : …"Not transferred. The message explains why. The people to notify also get an e-mail.
"Unable to export the project '…' because the customer number (…) is not a plain number."Change the customer number in Project Flow to numbers only.
"Imported expense … into project …"An expense was imported.
"Registered new money transaction on invoice …"A payment was imported.
"Unable to fetch expenses from Azets: …" / "Unable to fetch payments from Azets: …"The import failed, for example because of a wrong username or password.
Azets Connect configuration is missing required parameter "Project dimension"Choose the Project dimension in the integration.



Q&A

Q: Expenses don't show up in Project Flow.

A: Check four things:

  • Import expenses is ticked.
  • The expense is posted on a project whose number exists in Project Flow.
  • With Billable setting, the expense has 1 or 2 in that dimension.
  • The entry is included in Azets' report. Ask Azets.

Look in the log for "Unable to fetch expenses".

Q: The login fails after I changed the username.

A: Enter the username with the domain prefix, for example vs\EXT.xxxx.

Q: An imported expense has the wrong amount.

A: Changes in the accounting system aren't imported again. Correct the expense in Project Flow.

Q: Is the invoice PDF sent to the accounting system?

A: No. Only the voucher lines are sent.

Q: Do payments come back to Project Flow?

A: Yes, if both Incoming payments and Import expenses are ticked.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article