> For the complete documentation index, see [llms.txt](https://docs.milientsoftware.com/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.milientsoftware.com/help/moment-by-topic/integrations/file-exports/file-export-accounting-system/dynamics-c5.md).

# Dynamics C5

Moment has added support for export of invoices to Microsoft Dynamics C5.

## Export configuration

Configuration of export is to be done following the standard [configuration](/help/moment-by-topic/integrations/file-exports.md#accounting-export).

Dynamics C5 requires two additional fields to be configured:

* Customers code
* Invoices

These fields are used to define the code that will be used first on the lines in. See more information in the Files section.

![](/files/-MfhFNb81n6SKB8HvhbI)

## File

The files provided are CSV files using ; (semi-colon) as separator. The file contains both customers and invoices. The first column/field on each row defines the type of row.

### Customers

| Field          | Description                               |
| -------------- | ----------------------------------------- |
| Line type code | Customers code - defined in configuration |
| Account number | Customer number                           |
| Name           |                                           |
| Name2          |                                           |
| Address        |                                           |
| ZipCode/Place  |                                           |
| Country        | ISO-2 code                                |
| Group          | Hardcoded = 1                             |
| Payment        | Hardcoded = 30dg                          |
| Attention      |                                           |
| Mobile         |                                           |
| Email          |                                           |
| EAN            |                                           |
| VAT            | Hardcoded = 2                             |
| Approved       | Hardcoded = 1                             |
| Currency       | Hardcoded = DKK                           |
| Language       | Hardcoded = Standard                      |
| VAT Type       | Hardcoded = DK:CVR                        |
| VAT Number     |                                           |

### Invoices

| Field            | Description                                                           |
| ---------------- | --------------------------------------------------------------------- |
| Line type code   | Invoices - defined in configuration                                   |
| Invoice date     |                                                                       |
| Invoice number   |                                                                       |
| Line type code   | Set to "F" on credit rows, set to "D" on debit rows                   |
| Account          | Invoice line account on credit rows, customer number on debit rows    |
| Balance          |                                                                       |
| Credit amount    |                                                                       |
| Debit amount     |                                                                       |
| Tax code         | Set to 2 for credit rows, not defined on debit rows.                  |
| Description      | Contains invoice number and project number in double quotation marks. |
| Invoice          |                                                                       |
| Plus sag         |                                                                       |
| Plus medarbeider |                                                                       |
| Plus art         |                                                                       |

#### Format

* Date format: YYYY-MM-DD


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.milientsoftware.com/help/moment-by-topic/integrations/file-exports/file-export-accounting-system/dynamics-c5.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
