Document text fields — for example popis or poznam — accept line breaks via the API and store them. This applies to both XML and JSON.
Writing
In XML, the line break is written directly into the element's text; in JSON, as the escape sequence \n:
XML: <popis>první řádek
druhý řádek</popis>
JSON: "popis": "první řádek\ndruhý řádek"
The stored value contains the character \n. The combination \r\n is converted to a single \n during XML processing — this is standard XML behavior, not a limitation of ABRA Flexi.
⚠️ For fields that are meant to be single-line — typically kod or nazev — a line break will be saved, but the application's data consistency check may then report an inconsistency, and the record becomes hard to locate. Do not send line breaks into such fields.
💡 If you need multi-line text, use the field designed for it — popis for a short document description and poznam for a longer note. Their maximum length is shown by /c/{firma}/{evidence}/properties.xml.
