Communication with the ABRA Flexi system is based on XML (or its JSON variant). However, the structure of the XML is variable and its content depends on the selected variant, the type of organization (CZ vs. SK, tax records vs. double-entry bookkeeping, …), and also on access rights. That's why the system includes a description of the current XML structure (so-called self-documentation). Every XML includes a description of the data in its first record. You can also get a list of items (the so-called properties).
To simplify the work, we have also prepared a machine-readable description of the structure in XSD format. We have split the format into export (i.e., what comes out of the system) and import (non-editable items are omitted). It should hold true that the export schema is a superset of the import schema.
⚠️ XSD files do not fully reflect the capabilities of the ABRA Flexi API, and it is possible that the system will generate XML that does not conform to this structure. Do not rely on them as the sole means of validation.
Building the URL
To obtain the XML schema for a specific record type, you need to build the URL as follows:
/c/<identifikátor firmy>/<evidence>/schema-export.xsd
/c/<identifikátor firmy>/<evidence>/schema-import.xsd
The response has the content type text/xsd. The schema is generated for a specific company, so it reflects its legislation, organization type, and the access rights of the logged-in user.
Schema for address book
