# Visma DI Systems

## Export configuration

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

Visma DI requires two fields additional settings to be defined/set.

* Export projects to accounting\
  If the export should also contain projects, select this checkbox
* Client ID for export to accounting system\
  Register the ID in the external system to be included in the file.

Upon setting these fields, click "Save changes" and the export is now ready to be used.

![](https://497021537-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsGm2gYUXX6xCfrrWgU%2F-Mfm3rYeZqKKcD4kL_UE%2F-Mfm5tqKJa4VBkRKM88f%2Fimage.png?alt=media\&token=a5a5805d-dec0-4294-bb73-117ed2db9e21)

## File

The file produced for Visma DI is an XML file that contains both customers and vouchers.

| Section             | Field                               | Description                                   |
| ------------------- | ----------------------------------- | --------------------------------------------- |
| Header              | ClientEntity/ClientID               | Client ID defined in configuration            |
| Header              | OriginSystemCode                    | Hardcoded = Other                             |
| Header              | OriginSoftware                      | Hardcoded = Moment                            |
| Customer            | CustomerAccountID                   | Customer number                               |
| Customer/Party      | Name/Name                           | Customer name                                 |
| Customer/Party      | PartyLegalEntity/OrganizationNumber | Organization number                           |
| Customer/Party      | PostalAddress/AddressLine1          | Customer address 1                            |
| Customer/Party      | PostalAddress/CityName              | Customer city                                 |
| Customer/Party      | PostalAddress/PostalZone            | Customer zip code                             |
| Customer/Party      | PostalAddress/CountryID             | Customer country ID, ISO-2                    |
| Transaction         | AccountingPeriod                    |                                               |
| Transaction         | BundleCategoryCode                  |                                               |
| Transaction         | BundleDescription                   |                                               |
| Transaction/Voucher | InvoiceID                           |                                               |
| Transaction/Voucher | VoucherCategoryCode                 |                                               |
| Transaction/Voucher | VoucherDate                         | Invoice date                                  |
| Transaction/Voucher | DueDate                             | Due date                                      |
| Transaction/Voucher | Account/AccountID                   | Account                                       |
| Transaction/Voucher | Tax/TaxCode                         | Tax code                                      |
| Transaction/Voucher | GrossAmount {currencyCode}          | <p>Amount</p><p>{currencyCode} ISO-3 code</p> |

### Format

* Date format: YYYY-MM-DD
* Decimal separator: . (period)
