Duett (Mamut) (export)

Modified on Thu, 5 Nov at 12:10 PM

How the export works

With the Duett (Mamut) export, Project Flow creates one file with your finalized invoices and credit notes, as vouchers, that you import into Duett. The file uses the Mamut format GBAT10. It is a file export, not a live connection.

  • Same file as the Mamut export. The content is exactly the same as from the Mamut export.
  • One file. Unlike the Duett export, which creates three files in Duett's own format (see the article Duett (export)).
  • Import in Duett. According to Duett, the Mamut format needs an add-on in Duett. Check with your accountant that you can import it.

Duett or Duett (Mamut)?

DuettDuett (Mamut)
FilesThree (postings, customer ledger, customers)One
VATSeparate VAT line on the VAT account; VAT code from the VAT %Gross amounts; VAT code from each account's Accounting VAT code
Customer accountYour choice (usually 1500)Always 1510
DepartmentNot exportedThe invoice's department
Field lengthsShort: invoice number 6, project 3 charactersFull numbers
Customer registerYes (VB_KUNDE.TXT)No, the customer is on each line



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 Duett (Mamut).
  3. Fill in the fields below, tick Enabled and save.

Project Flow plan. The export isn't available on the Start plan.


Step 2: Duett (Mamut) settings

Field (EN / NB)Description
Project number / RegnskapsprosjektWhether 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 taggruppeRequired for the tag group option. The code of the project's tag in this group is sent as project number. If the tag has no code, the project number is sent.
Voucher code for invoice / Bilagsart for fakturaerThe voucher type for invoices. Default 1.
Voucher code for credit notes / Bilagsart for kreditnotaerThe voucher type for credit notes. Default 3.


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.


Step 4: Prepare Project Flow and Duett

  • Account numbers: the account number on each bookkeeping account must exist in Duett. The customer line always uses account 1510.
  • VAT codes: fill in the VAT code used in Duett in Accounting VAT code (Regnskap MVA kode) on each bookkeeping account. If it is empty, the VAT code is empty in the file.
  • Departments: the invoice's department is sent, as Department number in external system or the department number. It must exist in Duett.
  • No semicolons in names. The file uses ; as separator, so a customer name or address with ; moves the columns.



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). 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

  • A .csv file in GBAT10 format, 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 -duett.csv.

Lines for each invoice:

  • One customer line on account 1510, VAT code 1, with the invoice total including VAT, the customer's number, name and address, KID, due date and bank account.
  • One line per bookkeeping account used on the invoice, with the amount including VAT as a negative amount and the account's Accounting VAT code.
  • A rounding line on the rounding account, if the invoice is rounded.

All lines are marked as gross amounts (T), so Duett calculates the VAT from the VAT code. Credit notes have the opposite signs and the voucher code for credit notes. The columns are described in detail in the article Mamut (export).



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. The export entry in the notifications menu isn't shown in this mode. If an upload fails, it is only shown in Company → Logs, with a link to download the file.



Q&A

Q: Duett can't read the file.

A: The Mamut format may need an add-on in Duett. Ask your accountant, or use the Duett export with Duett's own format.

Q: The VAT is wrong in Duett.

A: Check the Accounting VAT code on the bookkeeping accounts used on the invoice.

Q: Can I use another customer account than 1510?

A: No, not in this format. The Duett export lets you choose the ledger account.

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