Data can be uploaded to ABRA Flexi using a standard HTTP client — for example, the cURL tool, which is included in Windows, macOS, and most Linux distributions. Below is an example of importing an invoice in ISDOC format.
Command
curl -u uzivatel:heslo -k -T faktura.isdoc \
-H "Content-Type: application/x-isdoc" \
"https://server:5434/c/{firma}/faktura-prijata?typDokl=code:FAKTURA"
Individual parameters:
Parameter | Meaning |
| ABRA Flexi login credentials in the format |
| Skips certificate verification. Needed only for a custom installation with an automatically generated certificate. |
| The file that is sent as the request body. Because of this, cURL uses the |
| Request header — here it specifies that the body is ISDOC. |
⚠️ The typDokl parameter is required for ISDOC import. Without it, the server will respond with 400 and the message Neplatna nebo chybejici hodnota povinneho parametru typDokl. Optionally, you can also add typUcOp (posting rule) and odpocetZaloh.
A successful import returns 201 and the response includes the internal number and code of the created document:
<winstrom version="1.0">
<success>true</success>
<stats><created>1</created> … </stats>
<results>
<result>
<id>2863</id>
<code>PF0011/2026</code>
<ref>/c/{firma}/faktura-prijata/2863</ref>
</result>
</results>
</winstrom>
💡 The format is determined by the Content-Type header, not the extension in the URL. You can send XML (application/xml), JSON (application/json), CSV, DBF, XLS/XLSX, or EDI in the same way — see the overview in the article Supported Formats.
