How the export works
With the Uni Micro export, Project Flow creates a file in Uni Micro's standard import format (Uni standard, a .dat file) with your finalized invoices and their customers, which you import into Uni Micro. It is a file export, not a live connection.
- What is exported: the customers on the exported invoices, the vouchers for each invoice, and the invoices with their lines.
- How the file gets to Uni Micro: you download it, or Project Flow sends it by email, FTP/SFTP or HTTP.
- When: when you run the export, or automatically after each invoice is finalized (FTP and HTTP only).
Uni Economy? For Uni Economy, use the integration Uni Economy (live connection) or the Uni Economy file export instead. See their own articles.
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 Micro.
- Fill in the fields below, tick Enabled and save.
Project Flow plan. The export isn't available on the Start plan.
Step 2: Uni Micro settings
| Field (EN / NB) | Description |
|---|---|
| Include projects / Inkluder prosjekter | Add the invoice's project number to the vouchers and invoices (dimension 1). Off by default. |
| Include departments / Inkluder avdelinger | Add the invoice's department number to the vouchers and invoices (dimension 2). Off by default. |
Step 3: How and when the file is 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 / Send over filer | 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. |
- Email: recipient addresses (separated by semicolons), subject and message.
- FTP / FTPS / SFTP: type, host, port, username, password and directory.
- HTTP / HTTPS: the URL, username and password. The file is sent with an HTTP PUT, without the file name.
Step 4: Accounts and VAT in Project Flow
- Account numbers: the account number on each bookkeeping account must exist in Uni Micro.
- VAT codes: fill in the Uni Micro VAT code in Accounting VAT code (Regnskap MVA kode) on each bookkeeping account, as a number. If it is empty, the VAT code is empty in the file.
Only numbers as VAT code. If an account used on an invoice has a VAT code with letters, for example
S, the export fails with "Export to uniMicro failed". Change the VAT code to the number used in Uni Micro.
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 an Until date if your date limit allows it.
- Click Export (Eksporter). You see "Data export succeeded". With Download folder, the file is downloaded right away.
- Which invoices: finalized invoices and credit notes with the export status To transfer and an invoice date within the date limit.
- After the export: the invoices get the export status Has been transferred (Har blitt overført).
- Export again: in the invoice overview, open the cog menu, choose Edit export status for several invoices, 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).
The file
- A
.datfile, comma-separated, with no header row. - Encoding ISO-8859-1, Windows line breaks.
- Amounts with 2 decimals and a period as decimal separator.
- Commas inside texts are removed, for example in addresses.
- The file name ends with
-uniMicr.dat.
The file has four kinds of lines, identified by the first field:
| Line | Content |
|---|---|
30 Customer | One line for each customer on the exported invoices, with customer number, name, address lines 1–2, postal code, postal place and phone. Organization number and country aren't included. |
60 Voucher | The vouchers. For each invoice: one line on the customer number and one line per bookkeeping account, plus a rounding line if the invoice is rounded. |
80 Invoice | One line per invoice, with invoice number, customer, totals, address, customer reference, dates and KID. |
81 Invoice line | One line for each line on the invoice, right after its 80 line. |
Voucher lines (60)
| Field | Content |
|---|---|
| Voucher number | The invoice number |
| Date | Invoice date, DDMMYY |
| Account | The customer number on the customer line; the account number on the other lines |
| Department / Project | If Include departments / Include projects is ticked |
| VAT code | The account's Accounting VAT code; empty on the customer line |
| Text | "Utgående faktura", or "Utgående kreditfaktura" for credit notes |
| Amount | Including VAT, in your company currency. Positive on the customer line and negative on the account lines for invoices; the opposite for credit notes. |
| Period | The month of the invoice date (1–12) |
| Invoice number, due date | From the invoice; due date as DDMMYY |
| Currency, currency amount | The invoice currency and the amount in that currency |
Invoice lines on the same account are added together, and text lines are left out.
Invoice lines (80 and 81)
- 80: invoice number, customer number, total including VAT and total VAT (in the invoice currency), name and address, customer reference, invoice and due date (
DD.MM.YYYY), KID, and project and department if included. - 81: customer number, product number (if the line has a product), quantity
1, the line's amount excluding VAT as price, account number, VAT code and the line text. Text lines are included, with price 0.
Customers in every file. The customers on the exported invoices are included each time, also if they were in an earlier file.
Continuous transfer
With FTP or HTTP and Continuously (after each invoice finalization), Project Flow sends a file for each invoice as soon as it is finalized.
- No bell entry. The export entry in the notifications menu isn't shown in this mode.
- Status before upload. The invoice can get the status Has been transferred before the upload is done. If the upload fails, it is only shown in Company → Logs, with a link to download the file. Check the log regularly.
Q&A
Q: The export fails with "Export to uniMicro failed".
A: The usual reason is a VAT code with letters in Accounting VAT code on a bookkeeping account. Change it to the number used in Uni Micro.
Q: The project or department isn't in Uni Micro.
A: Tick Include projects or Include departments in the integration. They are off by default.
Q: Why is the quantity always 1 on the invoice lines?
A: Each invoice line is sent with quantity 1 and the line's total excluding VAT as price, so the amounts are the same as in Project Flow.
Q: Commas in the customer's address are gone.
A: The file uses commas as separator, so Project Flow removes commas from texts.
Q: I need to export an invoice again.
A: Set its export status back to To transfer with Edit export status for several invoices, and run the export again. Or download the earlier file 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