How the export works
With the Uni Economy file export, Project Flow creates two Excel files with your finalized invoices and credit notes, and the customers on them, which you import in Uni Economy's Importsentral. It is a file export, not a live connection.
- Two files per export:
Vouchers_{date}.xlsxwith the invoices as vouchers (bilag), andKunder_{date}.xlsxwith the customers. - One direction. Nothing comes back from Uni Economy, neither payments nor expenses.
- Not the live integration. Uni Economy also has a direct connection (API), which sends customers, projects and invoices automatically. It is described in the article Uni Economy integration. Both are called Uni Economy in Project Flow. The file export is on the tab Export to file.
Set up the export
Step 1: Add the integration
- Go to Setup → Settings → Integrations (Oppsett → Innstillinger → Integrasjoner) and switch to the tab Export to file (Eksport til fil). You need administrator access.
- Click + Create integration and choose Uni Economy.
- Fill in the fields below, tick Enabled and save.
Project Flow plan. The export isn't available on the Start plan. If it has a monthly cost, the form shows it.
There are no Uni Economy settings of their own, only how and when the files are sent:
| Field (EN / NB) | Description |
|---|---|
| Default invoice issue date limit / Standard sluttdato for fakturaeksport | Which invoices are included, by invoice date: Up to and including last day of previous month, Current date, or No limitations on date (everything that hasn't been exported yet) (default). |
| Send data to / Send data til | Download folder (default), Email, FTP / FTPS (also SFTP) or HTTP / HTTPS. |
| Transfer files | Only for FTP and HTTP. Manually (default), or Continuously (after each invoice finalization). |
| Define access / Definer tilgang | Only for manual transfer. Limit who may run the export, by access role or coworker. |
Step 2: Prepare Project Flow
- Rounding account is required. Project Flow needs a bookkeeping account for rounding (the default account for the line type Rounding). Without it, every export fails with "Cannot export data because the rounding account is missing.", also when no invoice is rounded.
- VAT codes: fill in Uni Economy's VAT code in Accounting VAT code (Regnskap MVA kode) on each bookkeeping account, also the rounding account. If it is empty, the code
3is used, not the account's VAT code in Project Flow. - Account numbers and customer numbers must exist in Uni Economy, or be imported with the customer file first.
- Departments: the number of the department in Project Flow is used, not the Department number in external system.
- Currency: the export is meant for invoices in NOK. See The voucher file below.
Run the export
- When there are invoices to export, Export to accounting (N) (Eksport til regnskap) appears in the notifications menu (the bell). You need permission to edit invoices, and must be on the access list if one is defined.
- Click it, check the invoices to be exported, and choose a To date if your date limit allows it.
- Click Export. You get links to both files. With Download folder, they are downloaded right away.
- One financial year per file. According to Uni Economy, vouchers from different years can't be imported in one file. If the invoices span a new year, export up to 31.12 first, then the rest.
- What is included: finalized invoices and credit notes that haven't been exported yet, up to the date you choose, in invoice-number order.
- After the export: the invoices get the export status Has been transferred.
- Export again: in the invoice overview, open the cog menu, choose Edit export status (Rediger eksportstatus), set the invoices back to To transfer, and run the export again.
- Earlier files: in the invoice overview, open the cog menu and choose Exported files (Eksporterte filer).
- Same name on the same day. The file names have the date of the export. Two exports on the same day give files with the same names, so keep them apart before you import.
Import in Uni Economy
In Uni Economy's Importsentral:
- Import the customer file in the section Kunde first, so new customers exist.
- Then import the voucher file in the section Bilag.
In both, click Importer and choose the file from Project Flow.
The voucher file
- An Excel file with the data on the sheet Ark2, and a header row.
- Dates are Excel dates, shown as
DDMMYY. Amounts are numbers with 2 decimals. - Each voucher adds up to 0: the customer row is positive, the account rows negative.
Rows for each invoice:
- One customer row, with the customer number as account and the invoice total including VAT.
- One row per bookkeeping account used on the invoice, with the amount including VAT, as a negative amount, and the account's VAT code. There is no separate VAT row: Uni Economy splits out the VAT with the VAT code.
- A rounding row on the rounding account, if the invoice is rounded.
Credit notes have the opposite signs.
| Column | Content |
|---|---|
| Bilagsnr | Invoice number |
| Dato | Invoice date |
| Kontonummer | Customer number (customer row), account number (account rows) or the rounding account |
| Prosjekt | Project number |
| Avdeling | Department number |
| Tekst | The invoice text. On the rounding row: the rounding account's name |
| Beløp | Amount including VAT |
| Momskode | Customer row: 3. Account rows: the account's Accounting VAT code, or 3 if empty |
| Forfallsdato | Due date |
| Fakturanr | Invoice number |
| KID | The invoice's KID |
Example of an invoice with two accounts and rounding:
| Bilagsnr | Kontonummer | Tekst | Beløp | Momskode |
|---|---|---|---|---|
| 3211 | 102 | Invoice 1 | 3192.00 | 3 |
| 3211 | 3000 | Invoice 1 | -1186.50 | 1 |
| 3211 | 3020 | Invoice 1 | -2003.00 | 2 |
| 3211 | 7746 | Øreavrunding | -0.50 | 3 |
Currency. There is no currency column. Invoices in another currency are written in that currency, without conversion.
Not in the file: invoice lines with item text and quantity, the PDF and attachments.
The customer file
One row for each customer on the exported invoices, on the sheet Ark2, with a header row. The customers are in every export, also if they were exported before.
| Column | Content |
|---|---|
| Kundenr | Customer number |
| Navn | Name |
| Adresse, Adresse2 | Address lines 1 and 2 |
| Postnummer, Poststed | Postal code and place |
| Landkode | Country code, for example NO |
| Telefonnr | Phone |
| Mobilnr | Empty |
| Epostadresse | |
| Orgnr | Organization number |
| LevAdresse | Currently the customer's e-mail address. Check the column before you import. |
| LevAdresse2, LevPostnummer, LevPoststed, LevLandkode | Empty |
The address is the customer's invoice address. If it has none, the main address, then the visiting address, is used.
Q&A
Q: The export fails with "Cannot export data because the rounding account is missing."
A: Set up a bookkeeping account for rounding in Project Flow, and export again. It is required even if your invoices aren't rounded.
Q: The VAT is wrong in Uni Economy.
A: Check Accounting VAT code on the bookkeeping accounts. Empty means code 3.
Q: Uni Economy won't import vouchers from two years.
A: Set the invoices back to To transfer, export up to 31.12 first, and then the rest.
Q: The customers get their e-mail address as delivery address.
A: The column LevAdresse currently contains the e-mail address. Clear the column in the file before you import it, or don't import that column.
Q: "There are no invoices to export in the specified period."
A: All finalized invoices up to the date are already exported. Choose a later date, or set invoices back to To transfer with Edit export status.
Q: I need to export an invoice again.
A: Set its export status back to To transfer with Edit export status, and run the export again. Or download the earlier files from Exported files.
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