Uni Micro (export)

Modified on Thu, 5 Nov at 12:09 PM

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

  1. Go to Setup → Settings → Integrations (Oppsett → Innstillinger → Integrasjoner) and switch to the tab Export to file (Eksport til fil). You need administrator access.
  2. Click + Create integration and choose Uni Micro.
  3. 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 prosjekterAdd the invoice's project number to the vouchers and invoices (dimension 1). Off by default.
Include departments / Inkluder avdelingerAdd 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 fakturaeksportWhich 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 tilDownload folder (default), Email, FTP / FTPS (also SFTP) or HTTP / HTTPS.
Transfer files / Send over filerOnly for FTP and HTTP. Manually (default), or Continuously (after each invoice finalization).
Define access / Definer tilgangOnly 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

  1. 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.
  2. Click it, check the Invoices to be exported, and choose an Until date if your date limit allows it.
  3. 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 .dat file, 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:

LineContent
30 CustomerOne 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 VoucherThe 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 InvoiceOne line per invoice, with invoice number, customer, totals, address, customer reference, dates and KID.
81 Invoice lineOne line for each line on the invoice, right after its 80 line.


Voucher lines (60)

FieldContent
Voucher numberThe invoice number
DateInvoice date, DDMMYY
AccountThe customer number on the customer line; the account number on the other lines
Department / ProjectIf Include departments / Include projects is ticked
VAT codeThe account's Accounting VAT code; empty on the customer line
Text"Utgående faktura", or "Utgående kreditfaktura" for credit notes
AmountIncluding VAT, in your company currency. Positive on the customer line and negative on the account lines for invoices; the opposite for credit notes.
PeriodThe month of the invoice date (1–12)
Invoice number, due dateFrom the invoice; due date as DDMMYY
Currency, currency amountThe 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

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