How the export works
With the Mamut export, Project Flow creates a file with your finalized invoices and credit notes, as vouchers, that you import into Mamut (Visma). The file uses Mamut's standard import format GBAT10, which many other accounting systems can also read. It is a file export, not a live connection.
- 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 Mamut: 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).
Duett (Mamut) creates exactly the same file, for Duett customers.
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 Mamut.
- Fill in the fields below, tick Enabled and save.
Project Flow plan. The export isn't available on the Start plan.
Step 2: Mamut settings
| Field (EN / NB) | Description |
|---|---|
| Project number / Regnskapsprosjekt | Whether and how the project is sent: don't export project number (default), export project number from project, or export project number from tag in tag group. |
| Project tag group / Prosjekt taggruppe | Only for the tag group option. The code of the project's tag in this group is sent as project number. Choose a group, otherwise the project column is empty. |
| Voucher code for invoice / Bilagsart for fakturaer | The voucher type for invoices. Default 1. |
| Voucher code for credit notes / Bilagsart for kreditnotaer | The voucher type for credit notes. Default 3. |
Project from project or tag? Every invoice must then have a project.
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. |
Step 4: Prepare Project Flow and Mamut
- Account numbers: the account number on each bookkeeping account must exist in Mamut. The customer line always uses account 1510.
- VAT codes: fill in the Mamut VAT code in Accounting VAT code (Regnskap MVA kode) on each bookkeeping account. Mamut uses it to calculate the VAT from the gross amount. If it is empty, the VAT code is empty in the file.
- In Mamut: the accounting year and period, and the departments and projects used, must exist before you import.
- No semicolons in names. The file uses
;as separator, so a customer name or address with;moves the columns.
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, in invoice-number order.
- 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
The export is a GBAT10 file:
- A
.csvfile, separated by semicolons, with no header row. - Encoding ISO-8859-1, Windows line breaks.
- Dates as
YYYYMMDD, amounts with 2 decimals and a period as decimal separator. - The file name ends with
-mamut.csv.
Lines for each invoice:
- One customer line on account 1510, with the invoice total including VAT.
- One line per bookkeeping account used on the invoice, with the amount including VAT as a negative amount. 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.
Credit notes have the same lines with the opposite signs, and the voucher code for credit notes.
VAT. All lines are marked as gross amounts (Gross = T), so Mamut calculates the VAT from the gross amount and the VAT code on each line.
| Column (from 0) | Content |
|---|---|
| 0 | GBAT10 |
| 1 Voucher no. | Invoice number |
| 2 Voucher date | Invoice date |
| 3 Voucher type | The voucher code for invoices (default 1) or credit notes (default 3) |
| 4 Period, 5 Accounting year | Month (1–12) and year of the invoice date |
| 6 Account | 1510 on the customer line; the account number on the other lines |
| 7 VAT code | 1 on the customer line; the account's Accounting VAT code on the other lines |
| 8 Balance, 27 GrossSum | The amount including VAT, in your company currency |
| 9 Customer no., 11 Contact | Customer number and name |
| 12–14 | Customer address, postal code and postal place |
| 15 Invoice no. | Invoice number |
| 16 KID, 17 Due date, 19 Bank account | From the invoice |
| 20, 21 Description | The customer name. For invoices in another currency, the customer line also shows the currency and the amount in that currency. |
| 22 Interest invoicing | 1 (no interest invoicing) |
| 23 Project | According to the Project number setting |
| 24 Department | The invoice's department: Department number in external system, or the department number |
| 26 Gross | T |
Empty columns: supplier no. (10), 18 and payment terms (25).
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: Mamut calculates the wrong VAT.
A: Check the Accounting VAT code on the bookkeeping accounts used on the invoice. It must be the VAT code in Mamut.
Q: Can I use another customer account than 1510?
A: No. The customer line always uses account 1510.
Q: The project column is empty.
A: Check the Project number setting. With the tag group option, a tag group must be chosen, and the project must have a tag in that group.
Q: The import fails on period or department.
A: The accounting year, period and departments must exist in Mamut before the import.
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