# Tripletex

## Validation failed - Kunden kan ikke motta EHF-dokumenter

All customers transferred from Moment is added as company customers in Tripletex. Check the setting  for electronic invoices: **Invoices > Settings > Electronic invoice/reminder/order**

![](/files/-MgFVvY12YUQATJSZ10j)

**Send invoice to company via** should be set to "Email". \
The customer can be defined to send using EHF on customer details or be set as private person if needed.

## Validation failed - Ugyldig mva-kode

Invoices exported from Moment is sent with the account number defined in Moment to Tripletex. These accounts must be set up correctly in Tripletex prior to invoices being exported. If the account has not been configured correctly it will result in this type of error.

![](/files/-MgFaQ3dlgt_OsHiR3Jj)

Make sure the **Number** and VAT rate (**VAT code**) is the same in Tripletex and Moment. Also make sure the Inactive checkbox is unchecked.

* Number = Account number
* VAT code = Vat percentage \
  (The VAT code selected has a defined percentage, this must be the same as in Moment)

![](/files/-MgFbBJqKz81ea5_5OGU)

**Account VAT code** is not required when using Tripletex integration.

### Cannot register payments in Moment and Tripletex

When using Tripletex, you might be prompted to start using Visma Autoinvoice to receive payments from customers. As a Moment customer you are free to do so, but the problem is that when only Autoinvoice is used in Tripletex, then you will not be able to receive payments from customers in Moment as well.&#x20;

In order to fix this, you need to set up the NETS integration in Tripletex in addition to Visma Autoinvoice. You can read more about this here:&#x20;

{% embed url="<https://www.tripletex.no/integrasjoner/nets/>" %}


---

# Agent Instructions: 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/known-issues/tripletex.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.
