How the integration works
The DNB Regnskap integration sends your customers, projects and finalized invoices from Project Flow to DNB Regnskap as soon as they are created or finalized, so you don't have to enter them twice.
| What | When |
|---|---|
| Customers | When a customer is created or saved, and with each invoice |
| Projects | When a project is created or saved, and with each invoice |
| Invoices and credit notes | When the invoice is finalized. It is posted as a voucher in DNB Regnskap. |
- One direction. Data goes from Project Flow to DNB Regnskap. Nothing comes back, neither expenses nor payments.
- Project Flow is the master. Customer, project and invoice numbers come from Project Flow. Don't change them in DNB Regnskap.
- Same as Uni Economy and SpareBank 1 Regnskap. DNB Regnskap is built on the same platform as these systems, and the integration in Project Flow works the same way. Only the address it connects to is different.
Set up the integration
Step 1: Activate Project Flow in DNB Regnskap
Before you set up anything in Project Flow, add Project Flow as an integration in DNB Regnskap's marketplace:
- In DNB Regnskap, open the marketplace, section Integrations.
- Search for Moment Team, click Les mer and activate it.
- Find your company key (firmanøkkel) under ? (top right) → Systeminformasjon in DNB Regnskap, and copy it.
Step 2: Add the integration in Project Flow
- Go to Setup → Settings → Integrations (Oppsett → Innstillinger → Integrasjoner). You need administrator access.
- Click + Create integration and choose DNB Regnskap (on the API tab).
- Fill in the fields below, tick Enabled and save.
| Field (EN / NB) | Description |
|---|---|
| Company key / Firma id | The company key from DNB Regnskap. Required. |
| Export customers / Eksporter kunder | Send customers to DNB Regnskap. |
| Export projects / Eksporter prosjekter | Send projects to DNB Regnskap. |
| Export invoices / Eksporter fakturaer | Send finalized invoices to DNB Regnskap. |
| Department / Avdeling | Shown when Export invoices is ticked. Which department the voucher lines get: Do not include department (default), Use accounting department, Use department from invoice, Use department from project, or a project or invoice tag group. |
| Co-workers to notify / Emails to notify | Who gets an e-mail when something can't be transferred. |
- Tick what you need. All three export options are off on a new integration.
- No test on save. Project Flow doesn't check the company key when you save. Save a test customer and check the log.
- Project Flow plan. The integration isn't available on the Start plan. If it has a monthly cost, the form shows it.
Step 3: Check numbers and accounts
- Customer numbers must be numbers only.
- Project numbers must be numbers only. A project number with letters or other characters fails.
- Account numbers on your bookkeeping accounts in Project Flow must exist in DNB Regnskap, with the right VAT code there. DNB Regnskap uses the VAT code of its own account.
- Departments must exist in DNB Regnskap with the same number as the department's Department number in external system in Project Flow (or its number).
Customers and projects
Customers are matched in DNB Regnskap by customer number, and updated, or created if they don't exist, with:
- name, customer number and organization number;
- e-mail, website and phone;
- currency;
- the invoice address (or the main address), with country.
Only customers. Contacts that aren't marked as customers aren't sent, and neither are inactive customers.
Projects are matched by project number, and updated or created with:
- number, name, start date and end date;
- the customer.
The project's customer must exist in DNB Regnskap. Template projects aren't sent.
Sent again with each invoice. When an invoice is finalized, its customer and project are sent again, and overwrite changes made to them in DNB Regnskap.
Invoices
When an invoice or credit note is finalized, Project Flow posts it as a journal entry (voucher) in DNB Regnskap. It isn't created as a sales invoice there.
For each bookkeeping account used on the invoice, the voucher gets two lines:
- Debit on the customer (customer number), amount including VAT.
- Credit on the account, with the VAT code of that account in DNB Regnskap.
Each line has:
- the text "{account number} – {account name}";
- invoice date, due date, invoice number and KID;
- currency;
- project and department.
- Rounding is posted on the rounding account.
- Not sent: invoice lines with item text and quantity, the invoice text, the PDF and attachments. If your accountant needs to see the invoices, give them a user in Project Flow.
- Never twice. Before posting, Project Flow checks whether a voucher with the same invoice number already exists in DNB Regnskap. If it does, the invoice is skipped: "Invoice number … has already been exported. Skipping export."
- Missing project or department in DNB Regnskap? The invoice is still posted, without that dimension.
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 (from–to invoice number, at most 300 at a time). Invoices already in DNB Regnskap are skipped.
Check the log
Go to Company → Logs and choose the category DnB Regnskap. Each transfer is logged, for example "Exported customer 100123." or "Failed to export project 1001: …".
| Error | What to do |
|---|---|
| "Authentication error" / "Connection failure." | Check the company key, and that Project Flow is activated in DNB Regnskap's marketplace. If both are right, contact Project Flow support. |
| "Customer number … not found" | The customer isn't in DNB Regnskap. Tick Export customers, or export the customer from Setup → Tools. |
| "No financial account with account number … found" | The account, or the customer's subledger account, is missing in DNB Regnskap. Create it, or correct the account number in Project Flow. |
| "Can not find currency …" | Add the currency in DNB Regnskap. |
| "Undefined error." | DNB Regnskap rejected the data, for example a customer number outside the allowed range. Contact Project Flow support with the invoice or customer number. |
E-mail. The people to notify get an e-mail titled "Moment could not export data to DnbRegnskap" (in Norwegian: "Moment kunne ikke eksportere data til DnbRegnskap"), listing what couldn't be transferred.
Q&A
Q: I can't find the invoice in DNB Regnskap's sales module.
A: It is posted as a journal entry, not created as a sales invoice. Search for the invoice number among the vouchers.
Q: The invoice lines aren't in DNB Regnskap.
A: Only the amounts per account are sent, not the individual lines.
Q: Changes I made to a customer in DNB Regnskap disappeared.
A: The customer is sent again from Project Flow when it is saved and with each invoice. Make the changes in Project Flow.
Q: Can I send an invoice again?
A: Yes, from Setup → Tools → Export invoices. Invoices already in DNB Regnskap are skipped, so you don't get duplicates.
Q: Are expenses or payments imported from DNB Regnskap?
A: No. The integration only sends data from Project Flow to DNB Regnskap.
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