# Datavalidering och format

## Telefonnummer

I GKS4 ska telefonnummer anges enligt internationell standard [**E.164**](https://www.itu.int/rec/T-REC-E.164/).

Detta säkerställer att nummer fungerar korrekt i integrationer och externa system.

### Grundregel

Ett telefonnummer ska skrivas:

> **+ \[**[**landskod**](https://en.wikipedia.org/wiki/List_of_telephone_country_codes)**] \[telefonnummer utan första nollan]**

* Börja alltid med **+**
* Följt av **landskod**
* Därefter telefonnumret **utan första nollan**
* Endast siffror får användas

### Exempel på korrekta telefonnummer

| Ursprungligt format | Korrekt format |
| ------------------- | -------------- |
| 070-123 45 67       | +46701234567   |
| 08-123 456          | +468123456     |
| 0044 20 1234 5678   | +442012345678  |
| +1 (555) 123-4567   | +15551234567   |

### Otillåtna tecken

Följande får **inte** förekomma:

* Mellanslag
* Bindestreck (-)
* Parenteser ()
* Punkter
* Bokstäver

Exempel på felaktiga format:

* 070-123 45 67
* (08) 123 456
* +46 (0)70 123 45 67


---

# 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://docs4.simutek.se/api/datavalidering-och-format.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.
