# Validierungsregeln

![](/files/-M3Mjp7s9d7xzpzGb2MJ)

Die Rechnung wird als ungültig markiert, sobald Luna bemerkt, dass die Validierungsregeln nicht eingehalten wurden.

Ist ihre Praxis beispielsweise eine Aktiengesellschaft und kein Einzelunternehmen, ist der Rechnungssteller die AG. Der verantwortliche und der ausführende Arzt dürfen aber keine juristische Person (AG) sein.

![Beispiel einer Rechnung mit ungültigen Leistungspositionen](/files/-M3Mjp7ti4WHzFXnDXMV)

Setzen Sie bei einer Rechnung versehentlich die AG als verantwortlicher Arzt ein, kann die Rechnung nicht validiert werden. Dementsprechend ist die Rechnung als ungültig hinterlegt und kann so nicht versendet werden.

![](/files/-M3pqb-Ixr5Nfpoi734c)


---

# 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.hexabit.ch/luna/manual/settings/abrechnen/accounting-rules-for-validation.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.
