Skip to main content

Supported Formats

What are the supported formats for the ABRA Flexi REST API

Written by Lenka Haringerová

The ABRA Flexi REST API can export and import data in various formats.

The input/output format type can be determined by the file extension (.xml, .json, …) or by HTTP request headers (Content-Type / Accept). Specifying the format as an extension is optional, and takes precedence over the Accept HTTP header when generating the output. Conversely, the input format is primarily determined by the Content-Type header. If Accept: */* is specified in the request, the HTML form is returned.

ABRA Flexi supports the following formats:

Name

Note

Extension

Content-Type

Import?

HTML

HTML page for displaying information on a web page.

.html

text/html

no

Machine-readable structure in XML format.

.xml

application/xml

yes

Machine-readable structure in JSON format.

.js
​.json
​

text/javascript
​application/json

yes

Tabular output in CSV format.

.csv
​.csv?encoding=iso-8859-2

text/csv

yes

Database output in DBF (dBase) format.

.dbf
​.dbf?encoding=iso-8859-2

application/dbf

yes

XLS

Tabular output in Excel format.

.xls

application/ms-excel

yes

XLSX

Tabular output in Excel format (Office Open XML).

.xlsx

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

yes

E-invoicing format – ISDOC.
Import parameters: typDokl – Invoice type (required), typUcOp – Posting template. Both are of type identifier.

.isdoc
​.isdocx
​.pdf
​?typDokl=code:FAKTURA
​&typUcOp=code:NÁKUP%20SLUŽBY

application/x-isdoc
​application/x-isdocx
​application/pdf

yes

Electronic Data Interchange (EDI) in INHOUSE format.

.edi

application/x-edi-inhouse

yes

Generates a print report. This is the same function available in the application. Export to PDF.

.pdf
​.pdf?report-name=vydejka

application/pdf

no

Address book output in vCard electronic business card format.

.vcf

text/vcard

no

Calendar output in iCalendar format. This allows exporting events, but also, for example, due dates for received or issued invoices.

.ical

text/calendar

no

Did this answer your question?