# XML (english)
## Character Encoding and XML Structure
The character encoding of the data is - as with the live interface `UTF-8`. The file starts with the XML header: ``
Then follows the array `<meldescheine />` with at least one registration form`
The sequence of the data can be in any order.
This results in the following structure: ```xmlFeld | Datentyp | Erklärung |
---|---|---|
`anreise` | date | Arrival date of the guest in the format `YYYY-MM-DD` |
`abreise` | date | Departue Date of the guest in the format `YYYY-MM-DD` |
`kategorie` | string | The ID of the tariff to be booked (can be viewed via API or via the web interface) |
An assignment of the fields of the posting system to the import interface can be stored in the system. Thus it is not absolutely necessary to make adjustments to the generation of the XML data set
#### Mandatory FieldsSind bestimmte Daten einer Gemeinde als Pflichtfeld definiert, so müssen diese ebenfalls in der XML-Datei übergeben werden.
## Tariff AssignmentsThe correct tariff allocation is essential for a correct booking of the guests. If existing XML files are to be taken over from a legacy system, it is **imperative** that they be adapted.
[](https://s3-eu-central-1.amazonaws.com/wiki.meldescheine.de/uploads/images/gallery/2020-10/image-1601979321078.png) The tariffs of the guests are transferred from the field kategorie. The value from the `id` field (see below) is used for this. In the example below, a guest with the Erwachsener (Adult)" tariff would have to be transferred as follows: `Tariff assignments can be requested from your contact person or - if you have been activated for this - can be seen in the "my profile" area on the web interface.
[](https://s3-eu-central-1.amazonaws.com/wiki.meldescheine.de/uploads/images/gallery/2020-10/image-1601978889220.png) ## Accompanying Persons ccompanying persons of a registration form can be posted via the tag `The field `kategorie` must also **always be** filled in for accompanying persons .
If arrival or departure ( `anreise`, `abreise`) is not specified for the accompanying persons, these will be taken over by the main guest.
### Example accompanying persons```
|