How the export works
With the Visma Global export, Project Flow creates a file with your finalized invoices and credit notes, as vouchers, that you import into Visma Global. It is a file export, not a live connection. Project Flow doesn't log in to Visma Global, and nothing comes back from Visma Global to Project Flow.
- What is exported: invoices and credit notes. The customer's number, name and address are on each line, but customers and projects aren't exported as separate records.
- How the file gets to Visma Global: 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).
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 Visma Global (File export).
- Fill in the fields below, tick Enabled and save.
Project Flow plan. The export isn't available on the Start plan.
Step 2: Visma Global setting
| Field (EN / NB) | Description |
|---|---|
| Voucher type number / Bilagsnummertype | The voucher type (VoucherTypeNo) used on all lines in the file. It must exist in Visma Global, and must be a whole number. If you leave it empty, 9 is used. |
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): the file is downloaded in your browser. Email, FTP / FTPS (also SFTP) or HTTP / HTTPS: Project Flow sends the file there. |
| Transfer files / Send over filer | Only for FTP and HTTP. Manually (default): when you run the export. Continuously (after each invoice finalization): one file per invoice, sent as soon as the invoice is finalized. |
| Define access / Definer tilgang | Only for manual transfer. Limit who may run the export: choose access roles, or specific coworkers. |
Fields for each sending method:
- Email: recipient addresses (separated by semicolons), subject and message.
- FTP / FTPS / SFTP: type, host, port (for example
21, or usually22for SFTP), username, password and the directory to put the file in. - HTTP / HTTPS: the URL, username and password. Project Flow sends the file with an HTTP PUT to exactly that URL, with basic authentication. The file name isn't sent.
Step 4: Accounts, VAT and numbers in Project Flow
The export uses the bookkeeping data you have in Project Flow. Check it before the first export:
- Account numbers: on each bookkeeping account, the account number must exist in Visma Global.
- VAT codes: fill in Accounting VAT code (Regnskap MVA kode) on each bookkeeping account with the VAT code from Visma Global, as a number. If it is empty, or isn't a number, Project Flow uses
1for accounts with VAT and0for accounts without VAT. - Customer and project numbers: use numbers only, as Visma Global expects.
- Departments: Project Flow sends the department's Department number in external system, or the department number if that is empty.
- Currency: for invoices in another currency, Project Flow sends the currency's External code if it is a number, otherwise the ISO number of the currency (for example
752for SEK).
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. The window lists the Invoices to be exported. 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, in invoice-number order.
- After the export: the invoices get the export status Has been transferred (Har blitt overført), so they aren't exported again.
- 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 bell entry updates slowly. The number can take up to 15 minutes to update after new invoices are finalized.
The file
The export is a Visma Global batch import file:
- A
.csvfile, comma-separated, with no header row. - Encoding ISO-8859-1, Windows line breaks.
- Dates as
DD.MM.YYYY, amounts with 2 decimals and a period as decimal separator. - Text values in double quotes.
- The file name ends with
-vismaGl.csv.
Lines for each invoice:
- One customer line with the invoice total including VAT, on the customer number. It is a debit line for invoices, and a credit line for credit notes.
- One line per bookkeeping account used on the invoice, with the amount including VAT and the account's VAT code. Invoice lines on the same account are added together, and text lines are left out.
- A rounding line on the rounding account, if the invoice is rounded.
All amounts are positive. Whether a line is debit or credit is shown by which account column is filled in.
| Column | Content |
|---|---|
A TransType | Always 9 |
B EntryDate, D VoucherDate | Invoice date |
C VoucherNo | Invoice number |
E VoucherTypeNo | The Voucher type number (default 9) |
F VoucherText | "Faktura {number} til {customer} ({customer number})", or "Kreditfaktura …" for credit notes |
G DepNo | Department |
H ProjectNo | Project number (not the external project number) |
I DebitAccountNo / J CreditAccountNo | Customer number on the customer line, account number on the account lines |
K VATCode | 0 on the customer line; the account's Accounting VAT code on the account lines |
L CurrencyNo, M ExchangeRate, N ExchangeAmount | Only for invoices in another currency |
O Amount | Amount including VAT, in your company currency |
Q DueDate | Due date |
T KID | KID number |
U TaxClassNo | 1 for 25 % VAT, 2 for 15 %, 3 for 8 %, otherwise 0 |
W SuppliersInvoiceNo | Invoice number |
AE CustomerNo, AG Name | Customer number and name |
| AH–AK | Customer address: address lines 1–2, postal code, postal place |
Empty columns. All other columns are empty, for example phone, payment terms, customer type, product, delivery address, and the newer Visma Global fields for organization number, e-mail, country and SAF-T VAT codes.
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 gets the status Has been transferred when the file is created. If the upload fails afterwards, the failure is only shown in Company → Logs, for example "The export/transfer of file(s) … via ftp failed.", with a link to download the file. Check the log regularly, and import any failed file by hand.
Q&A
Q: I don't see "Export to accounting" in the notifications menu.
A: Check four things:
- There are invoices with the status To transfer.
- You have permission to edit invoices.
- You are on the access list, if Define access is used.
- Transfer isn't set to Continuously.
The number can take up to 15 minutes to update.
Q: Visma Global rejects the voucher type.
A: Change Voucher type number in the integration to a voucher type that exists in Visma Global.
Q: The VAT code is wrong in Visma Global.
A: Fill in Accounting VAT code on the bookkeeping accounts in Project Flow with the VAT code from Visma Global, as a number. Without it, Project Flow only sends 1 (with VAT) or 0 (without VAT).
Q: Are new customers created in Visma Global?
A: The file has the customer's number, name and address on each line. Whether Visma Global creates the customer from that depends on your import settings in Visma Global. Organization number, e-mail and country aren't in the file.
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