---
title: Connecting to DK (XML File Export)
keywords: DK, XML file export, DK accounting, accounting integration, invoicing, firm settings, salesperson number, national ID, accountant email, invoice footer, work report, invoice files, file export, XML billing, billing exchange, manual import
summary: Explains how to select the DK (XML file export) invoicing integration in Manor firm settings, configure its settings (salesperson number, use dash in national ID, accountant email, invoice footer text, project/contact display), and how invoices are exported as an XML file for manual import into DK accounting software — including the Invoice files workflow and what the accountant receives.
url: /management/firm
---

# Connecting to DK (XML File Export)

## What is DK (XML File Export)?

DK (XML file export) is one of the invoicing integrations available in Manor firm settings. Unlike the direct **DK** integration, it does not connect to DK over an API. Instead, it groups issued invoices into an **invoice file** and generates an **XML file** that you (or your accountant) import manually into DK accounting software.

Use this integration when you prefer a file-based handover to DK — for example when your accountant imports the invoices, or when you want to review the file before it reaches DK.

> **Note:** Manor offers two separate DK integrations. This article covers **DK (XML file export)**. For the direct electronic integration, see [Connecting to DK](connecting-to-dk.md).

## Accessing DK (XML File Export)

To select the integration:

1. Navigate to **Management** → **Firms** from the main menu.

2. Select your firm to open its settings page.

3. Find the **Invoicing setup** section and click **Edit**.

4. In the **Invoicing integration** dropdown, select **DK (XML file export)**.

![Invoicing setup dialog with the Invoicing integration dropdown open, showing Manor invoicing, DK (XML file export), DK, Regla, Payday and Business Central invoicing](../screenshots/connecting-to-dk-invoicing-integration-dropdown.png)

5. Click **Save**.

Once saved, a new **DK (XML file export)** settings group appears on the firm settings page, where you configure the options described below. (You can also see the integration's status on the **Administration → Integrations** page, under **DK XML Invoicing**.)

## DK (XML file export) Settings

The **DK (XML file export)** settings group contains the following fields.

### Salesperson number

Required by DK for making invoices. Common values include "1", "01" or "001". The value you enter here is written to the salesperson field on each exported invoice, so it should match a salesperson number that exists in your DK account. You can find the correct number in your DK account settings.

### Use dash in national ID

Choose whether national IDs in the DK clients list are listed with a dash, for example `000000-0000`. Select **Yes** if your DK account formats national IDs with a dash, or **No** if it does not.

### Accountant email

If an accountant email address is entered here, invoice files are **automatically sent to this address** when they are created, and the matching **work reports are attached** to the email as well. If there is more than one address, separate them with a comma or a semicolon, for example `a@x.is, b@x.is`.

If you leave this field empty, invoice files are not emailed — you create and download them yourself.

### Invoice footer text

This text appears at the bottom of all invoices. It is written to the footer of each invoice in the exported file.

### Show project name and number on invoices

Select **Yes** to include the project name and number on the exported invoices, or **No** to leave them off.

### Show contacts on invoices

Select **Yes** to include contact information on the exported invoices, or **No** to leave it off.

## How Invoices Are Exported

The DK (XML file export) integration does **not** send invoices to DK when you issue them. Issuing an invoice in Manor simply saves it; the invoice then waits until you include it in an invoice file.

### Creating an invoice

Create and issue the invoice in Manor in the usual way — see [Invoices](invoices.md) for the full walkthrough. Because nothing is transmitted at this point, the primary button on the invoice form creates the invoice in Manor only.

### Creating an invoice file

To export invoices, you gather them into an invoice file:

1. Go to **Billing → Invoices**.

2. Click the **Invoice files** button (it shows a badge with the number of new invoices that are not yet in a file).

   > If your firm does not use a file-based invoicing integration, this button is not shown.

3. Click **New invoice file** and select the invoices to include. Only invoices belonging to the same firm can go into one file.

4. Confirm. If an **Accountant email** is configured, the button is labelled **Send invoice file**, and the file is emailed to the accountant straight away. Otherwise the button is labelled **New invoice file** and the file is created for you to handle.

The **Invoice files** list shows each file with its **File number**, creation date, the invoices it contains, the firm and any comment.

### Downloading and sending the file

Open an invoice file to see its actions:

- **XML file** — downloads the generated XML file. This is the file you import into DK accounting software.
- **Work reports** — downloads the matching work reports as a PDF (shown when the invoices in the file have a project).
- **Resend invoice file to …** — shown when an accountant email is configured; re-sends the email with the XML file and work reports.
- **Delete invoice file** — deletes the file and releases its invoices, so they can be put into a new file.

If an accountant email is configured, the accountant receives an email with the **work report PDF** and the **XML file** attached, ready to import into DK.

### Importing into DK

Download the XML file (**XML file** button) and import it into your DK accounting system, then verify the amounts and details there.

> **Credit invoices:** invoices exported through the file-based DK XML flow do not support crediting from Manor, because they do not receive an invoice number in Manor. Handle credits directly in DK.

## Best Practices

**Set the salesperson number**

Make sure the salesperson number matches a salesperson that exists in your DK account, otherwise the import may fail or the invoices may be assigned incorrectly.

**Match national ID formatting**

Set **Use dash in national ID** to match how your DK account lists national IDs, so client records line up on import.

**Review before importing**

Always review the exported XML file (and, if relevant, the work reports) before importing it into DK.

**Organise your files**

Keep exported files organised by date or client so they are easy to find and reconcile later.

**Test the import first**

Create a test invoice, put it in an invoice file, and import the XML into DK to confirm the setup before processing real invoices.

## Related articles

- [Connecting to DK](connecting-to-dk.md) — the direct electronic DK integration and its payment-status synchronisation.
- [Invoices](invoices.md) — the full invoice workflow (balances, form, preview, issuing and delivery).
- [Invoice Delivery](invoice-delivery.md) — how delivery attempts and failures are tracked.
- [Invoice Setup](invoice-setup.md) — invoicing integration, numbering, delivery and default invoice terms.
- [Billing](billing-page.md) — overview of the whole Billing section.
