Skip to main content

ABRA Flexi XML

Communication via ABRA Flexi XML

Written by Lenka Haringerová

The foundation of communication with ABRA Flexi is ABRA Flexi XML. It can be in either XML or JSON format. In both cases, the structure is identical. The only difference is in the way attributes are stored in JSON — they are stored as a record with an at sign: @rowCount.

Important features of ABRA Flexi XML include incremental updates, required attributes, record identifiers, and variable types.

Case Sensitivity

Case matters in tag and attribute names. Tag names for registers are always in lowercase, with individual words separated by hyphens (e.g., faktura-vydana, faktura-prijata, typ-dokladu). Tag names for individual properties are in camelCase format (e.g., typDokl, vytvaretKorPol, typPolozkyK).

Example:

<winstrom version="1.0">
<faktura-prijata>
<typDokl>code:FAKTURA</typDokl>
<vytvaretKorPol>false</vytvaretKorPol>
</faktura-prijata>
</winstrom>

Supported Attributes

For an overview of the attributes supported by a given register, refer either to the sample XML (the first record is always commented) or to the documentation for the specific register. All attributes have internal relationships, so it is not necessary to specify all attributes — the remaining ones are either calculated automatically, inherited from the document type, or determined by another relationship (e.g., selecting a company on an invoice will also populate the company registration number, address, etc.).

Did this answer your question?