Switch theme
Export for analysis
An analysis tool (BI, reporting, a data warehouse) pulls every document of the venue — from the POS, delivery platforms, the QR menu and the API — for a period of up to one month. The key needs the orders:export scope (Export all documents), off by default.
Request
http
GET /api/v1/external/orders?from=2026-10-01&to=2026-10-31fromandtoare local days, both included.tois at most one month afterfrom; a longer period is refused with422 PERIOD_TOO_LONG, anddetails.max_togives the latest allowed day.- The period is when the document reached Konty (
created_at). A document issued on an offline terminal arrives when the terminal reconnects: it belongs to the period it arrived in, andissuing_datekeeps when it was issued. Pull every period once and you get every document exactly once. - Pull a period a few minutes after it ends: a document being saved at that moment becomes visible seconds later.
Pages
A response holds at most limit documents (1–1000, default 1000), oldest id first. Ask for the next page with after = meta.next_cursor until it is null. A document that arrives while you page is added at the end and never shifts a page you have read.
What is included
Receipts, refunds and other correctives, unpaid invoices and the summaries that pay them, advance documents, credit notes, e-invoices and documents charged to a hotel room. Not included: proformas, training documents (including those issued in the POS training mode), copies and incoming documents. A table's rounds are listed where each is a fiscal document — in Montenegro an unpaid invoice, settled later by a summary. In Serbia they are not documents and are not listed: the table's receipt carries their items.
A refund or storno is a new document, in the period it arrives in. The original stays in its period, but its canceled_at and updated_at change — re-pull the period to see them. A credit note's items are what the note changed.
The export uses the key's own rate limit and does not depend on the key's register or user: to stop it, disable the key.
Each document carries its number, status, source (pos, api:…, a delivery platform, qr), dates (issuing_date, created_at, updated_at, registered_at), register, cashier, shift, table, totals, payments, fiscal identity, client (id, name and identification number — PIB or JMBG, as stored) and items (name as printed, quantity, price, discount, tax label and rate, totals). Refunds carry negative quantities and totals.
shift is the shift the document was issued in: its name (null for an unnamed shift), started_at and closed_at (null while the shift is open).
table is sent for hospitality venues only: the table the document was issued on, with its sector (table names repeat across sectors), or null when the document was not issued on a table. Documents of retail venues do not have this field.
Counting without duplicates
refers_to and referred_by link documents, with the kind of link (type):
corrective— a refund or storno refers to the document it corrects;summary— a summary refers to the unpaid invoices it pays.
Count items from receipts, unpaid invoices and refunds; money received from the documents that carry payments. A summary's items are the items of the invoices it pays, so they are not counted again.