Skip to main content

Automatic name abbreviations in Iteras

Updated yesterday

You may notice that Iteras, on invoices sent via Betalingsservice or on addressing files, does not always display exactly what is written in the name fields, but instead writes an abbreviation.

This is because both Post Danmark and Betalingsservice have requirements for the maximum length of individual lines. For example, Post Danmark states that the first name + last name may be no more than 36 characters. If it exceeds that, it must be abbreviated. Similarly, Nets allows only 35 characters in length. The allowed field length varies depending on which field is in question.

The automatic abbreviation is necessarily a somewhat unpoetic affair, as it is performed by a machine. Specifically, the machine works like this:

The name is first split into words, so for example, “Peter Børge Frandsen” becomes “Peter”, “Børge”, “Frandsen.” Then it checks whether “Peter Børge Frandsen” exceeds the maximum allowed length. If the name is longer than allowed, the first word is abbreviated, resulting in “P. Børge Frandsen”. The length is checked again, and if it is still too long, the next word is also abbreviated, resulting in “P.B. Frandsen”.

Did this answer your question?