Regla (export)

Modified on Thu, 5 Nov at 12:01 PM

How the export works

With the Regla export, Project Flow creates a CSV file with your finalized invoices and credit notes as journal lines, which you import into Regla, the Icelandic accounting system. It is a file export, not a live connection.

  • One line per revenue account. Each invoice gives one line for each bookkeeping account used on it, with the amount including VAT and the VAT part.
  • Counter-account 7600. The other side of each line is always account 7600.
  • Only invoices. Customers and projects aren't exported, and nothing comes back from Regla.



Set up the export

Step 1: Add the integration

  1. Go to Setup → Settings → Integrations and switch to the tab Export to file. You need administrator access.
  2. Click + Create integration and choose Regla.
  3. Fill in the fields below, tick Enabled and save.

Project Flow plan. The export isn't available on the Start plan. If it has a monthly cost, the form shows it.

There are no Regla settings of their own, only how and when the file is sent:

FieldDescription
Default invoice issue date limitWhich 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 toDownload folder (default), Email, FTP / FTPS (also SFTP) or HTTP / HTTPS.
Transfer filesOnly for FTP and HTTP. Manually (default), or Continuously (after each invoice finalization).
Define accessOnly for manual transfer. Limit who may run the export, by access role or coworker.


Step 2: Prepare Project Flow

  • Rounding account is required. Project Flow needs a bookkeeping account for rounding (the default account for the line type Rounding). Without it, the export fails with "Cannot export data because the rounding account is missing." The rounding itself isn't in the file: Regla handles rounding.
  • Account numbers on your bookkeeping accounts must exist in Regla, and so must account 7600.
  • VAT: the VAT part on each line is calculated with the VAT percentage the bookkeeping account has when you export. No VAT code is sent.
  • Every invoice needs a project and a customer. The line text is the project, and the customer's ID number (kennitala) is on each line.
  • No semicolons in project names or customer references, as they move the columns in the file.



Run the export

  1. When there are invoices to export, Export to accounting (N) 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 a To date if your date limit allows it.
  3. Click Export. You get a link to the file. With Download folder, it is downloaded right away.
  • What is included: finalized invoices and credit notes that haven't been exported yet, up to the date you choose, in invoice-number order.
  • After the export: the invoices get the export status Has been transferred.
  • Export again: in the invoice overview, open the cog menu, choose Edit export status, 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.



The file

  • A .csv file named {company}-{id}-to-{date}-at-{time}-regla.csv.
  • Separated by semicolons, with a header row. Values aren't in quotes.
  • Encoding ISO-8859-1. Windows line breaks.
  • Dates as DD.MM.YYYY. Amounts with 2 decimals and a comma as decimal separator, without thousands separator.
  • Amounts are in your company currency, and always positive.
#ColumnContent
1DagsetningInvoice date
2Fylgiskjalsnr.Empty
3Lykill debet7600, or the account number for negative amounts
4Lykill kreditThe account number, or 7600 for negative amounts
5FjárhæðAmount on the account, including VAT
6Þar af VSKThe VAT part of the amount
7FærslutextiThe project: "#{project number} {project name}"
8KennitalaThe customer's organization number (kennitala)
9–12Vídd 1 (Deild), Vídd 2–4Empty
13Reiknr.Invoice number
14TilvísunThe invoice's customer reference
15Dags. ReikEmpty

Example:

Dagsetning;Fylgiskjalsnr.;Lykill debet;Lykill kredit;Fjárhæð;Þar af VSK;Færslutexti;Kennitala;Vídd 1 (Deild);Vídd 2;Vídd 3;Vídd 4;Reiknr.;Tilvísun;Dags. Reik
26.08.2026;;7600;1150;9125,00;1825,00;#P1001 Website;5501692829;;;;;56;Order 4411;

  • Debit and credit follow the sign of each account's amount: positive amounts have 7600 as debit, negative amounts (for example on credit notes) have it as credit.
  • Not in the file: customer number, due date, KID, currency, department, VAT code, invoice lines and rounding.



Q&A

Q: The export fails with "Cannot export data because the rounding account is missing."

A: Set up a bookkeeping account for rounding in Project Flow, and export again. It is required even though rounding isn't in the file.

Q: Can I use another counter-account than 7600?

A: No. Account 7600 is fixed in the export.

Q: The VAT on a line is wrong.

A: The VAT part is calculated with the bookkeeping account's current VAT percentage. Check the VAT on the account, especially if it has changed since the invoice was made.

Q: The export fails with "Failed to export data due to an unexpected error."

A: Check that all the invoices have a project and a customer. If that isn't it, contact Project Flow support with the invoice numbers.

Q: "There are no invoices to export in the specified period."

A: All finalized invoices up to the date are already exported. Choose a later date, or set invoices back to To transfer with Edit export status.

Q: I need to export an invoice again.

A: Set its export status back to To transfer with Edit export status, 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