Offeris API
Integrate quotes, orders, invoices, stock levels, products, and contacts directly into your systems. REST-based, JSON responses, API key authentication.
The Offeris API lets you create and manage price quotes, received orders, issued invoices (including proformas generated from received orders), and received invoices; export stock levels; look up companies and contacts; and read your product catalogue.
There are two endpoint patterns:
- Legacy GET endpoints use the
/OOApath with anactionquery parameter (products, catalogue, reference data, company/contact lookup). - REST endpoints under
/v23/open-api/support full CRUD for quotes, orders and issued invoices, creating received invoices, stock export, and company/contact management.
Each Offeris customer has their own tenant subdomain. Most Slovak customers use sk001.offeris.com, Czech customers cz001.offeris.com. Larger customers have a dedicated subdomain (e.g. yourcompany.offeris.com). If unsure, check your Offeris login URL.
Authentication & permissions
Every request must include a valid API key passed as the key query parameter.
Generate an API key
In Offeris go to Settings → General settings → Communication with external systems → API keys. Create a key, set the associated user, and configure permissions per resource.
Include the key in requests
Append ?key=YOUR_API_KEY to every URL. For POST/PUT/DELETE the key is a URL query parameter.
GET https://sk001.offeris.com/OOA?action=PRODUCT_LIST&lang=sk&page=1&key=YOUR_API_KEY
POST https://sk001.offeris.com/v23/open-api/quotation?key=YOUR_API_KEY
Content-Type: application/json
{ ... body ... }
Permission model
Each API key has independent permissions per resource type. Permissions are a combination of Read, Write, and Delete. The user whose identity the key acts as is set when creating the key — the "Issued by" field on created documents comes from this user.
| Resource | Read | Write | Delete | Covers |
|---|---|---|---|---|
| quotation | ✓ | ✓ | ✓ | GET list, GET detail, POST, PUT state, DELETE |
| orderin | ✓ | ✓ | ✓ | GET list, GET detail, POST, PUT state, DELETE (soft) |
| invoice | ✓ | ✓ | ✓ | Issued invoices: GET list, GET detail, POST, POST from-orderin (+ orderin / Read), PUT, DELETE (soft). Off on existing keys. |
| invoicein | – | ✓ | – | POST only (list and detail not yet supported) |
| stock | ✓ | – | – | Stock export generate & read |
| PRODUCT | ✓ | – | – | Legacy product & catalogue endpoints |
| CATALOGUE | ✓ | – | – | Legacy catalogue endpoints |
| HEUREKA | ✓ | – | – | Heureka XML feed |
A request without the required permission is rejected with 403 Forbidden: GET endpoints need Read, POST and PUT need Write, DELETE needs Delete.
Company and contact lookup endpoints (GET_COMPANY, GET_CONTACT, COMPANY_LIST, CONTACT_LIST) do not require a specific permission — a valid key is sufficient.
Errors
The API uses standard HTTP status codes. Error responses include a JSON body where possible.
| HTTP status | Meaning |
|---|---|
| 400 Bad Request | Invalid or missing parameters. |
| 401 Unauthorized | API key missing or invalid. |
| 403 Forbidden | Key exists but lacks the required permission for this operation. |
| 404 Not Found | The requested resource does not exist. |
| 409 Conflict | The document already exists (received invoice duplicate check, issued invoice number or order link), or an issued invoice cannot be modified / deleted. |
| 500 Internal Server Error | Server-side error (e.g. stock export generation or invoice creation failed). |
Pagination
REST endpoints under /v23/open-api/ use Spring-style pagination with query parameters page (0-indexed), size, and sort. The response is a standard Page object.
GET /v23/open-api/quotation?key=...&page=0&size=20&sort=date,desc
{
"content": [ ... ],
"totalElements": 142,
"totalPages": 8,
"size": 20,
"number": 0
}
Legacy /OOA endpoints use fixed page sizes (500 for products, 100 for contacts) with a 1-indexed page parameter, except contacts which are 0-indexed.
Quotes
Full CRUD for price quotes. Requires quotation permission on the API key.
Returns a paginated list of quotes. Requires quotation / Read.
| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | required | Your API key. |
| page | integer | optional | Page index, 0-based. Default: 0. |
| size | integer | optional | Records per page. Default: 20. |
| sort | string | optional | Sort field and direction, e.g. date,desc or number,asc. |
GET https://sk001.offeris.com/v23/open-api/quotation?key=YOUR_API_KEY&page=0&size=20&sort=date,desc
Response: Page<QuotationOA> — see the QuotationOA object below for field reference.
Returns the full detail of a single quote. Requires quotation / Read.
GET https://sk001.offeris.com/v23/open-api/quotation/123?key=YOUR_API_KEY
Response: QuotationOA object.
Creates a new quote. Pass an existing id to update it. Requires quotation / Write.
The company is resolved by id → ICO → exact name. If found, only the fields you send are updated (empty or omitted fields are never cleared); if not found by ICO or name, a new company is created. A non-existent id returns 400. An existing contact is matched by ID, then email, and updated. Transport and payment are matched by name and created if not found. Item prices are required — only the purchase price is pulled from the product automatically. The quote total is the sum of line items.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | null to create; existing ID to update. |
| number | string | optional | Quote number. null to auto-generate. |
| description | string | optional | Description. |
| note | string | optional | Additional notes. |
| date | string | optional | Quote date, format YYYY-MM-DD. Ignored on create — Offeris sets the date itself. |
| dealer | object | optional | id + name. Matched by ID first, then name. |
| currency | object | optional | id + code (e.g. "€"). |
| language | object | optional | id + iso (e.g. "sk"). |
| state | object | optional | id + name. Use GET_ORDERIN_STATE for valid values. |
| company | object | optional | Company. Matched by id, then ICO, then exact name; created if not found. See company fields below. |
| contact | object | optional | Contact person. Matched by id then email. |
| transport | object | optional | id, name, price (double), vat (double). |
| paymentOA | object | optional | id + name. |
| items | array | optional | Line items. price, vat, amount required per item. |
Company fields
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | Internal company ID. Takes precedence over ICO and name. If no company with this ID exists, the API returns 400. |
| name | string | optional | Company name. If neither id nor ico is given, the company is looked up by exact name and created if not found — useful e.g. for foreign companies without an ICO. |
| ico | string | optional | Registration number (IČO). Used for matching if id is not provided; a new company is created if not found. |
| dic | string | optional | Tax ID (DIČ). |
| icdph | string | optional | VAT number (IČDPH), e.g. "SK1234567890". |
| billing | object | optional | city, street, zip, country (ISO code). |
| shipping | object | optional | Same structure as billing. |
Contact fields
| Field | Type | Description |
|---|---|---|
| id | integer | Internal contact ID. |
| firstname | string | First name. |
| middlename | string | Middle name. |
| surname | string | Last name. |
| titleBefore / titleAfter | string | Academic titles. |
| string | Email. Used for matching if id not provided. | |
| mobile | string | Mobile number. |
| billing / shipping | object | Address objects: city, street, zip, country (ISO). |
Line item fields
| Field | Type | Required | Description |
|---|---|---|---|
| id / productId | integer | optional | Product ID (either field accepted). Matched by orderNumber if neither is set. |
| orderNumber | string | optional | Product SKU. |
| name | string | optional | Item name. Defaults to product name. |
| model | string | optional | Model. |
| description | string | optional | Item description. |
| note | string | optional | Note. |
| delivery | string | optional | Delivery method name for this item. |
| price | double | required | Unit selling price, excl. VAT. |
| vat | double | required | VAT rate as percent (e.g. 20). |
| amount | double | required | Quantity. |
Example request
{
"id": null,
"number": null,
"description": "Quote for Acme",
"date": "2024-03-01",
"dealer": { "id": null, "name": "John Smith" },
"currency": { "id": "", "code": "€" },
"language": { "id": "", "iso": "sk" },
"state": { "id": "", "name": "Nevybavená" },
"company": {
"id": "", "name": "Acme s.r.o.", "ico": "12345678",
"dic": "1234567890", "icdph": "SK1234567890",
"billing": { "city": "Bratislava", "street": "Hlavná 1", "zip": "81101", "country": "SK" }
},
"contact": {
"id": "", "firstname": "Ján", "surname": "Novák",
"email": "jan.novak@acme.sk", "mobile": "0900123456"
},
"transport": { "id": "", "name": "Predvolený", "price": "5", "vat": "20" },
"paymentOA": { "id": "", "name": "Dobierka" },
"items": [
{ "orderNumber": "SKU-001", "name": "Product A", "price": 15.50, "vat": 20, "amount": 3 }
]
}
Response
Returns the created or updated QuotationOA object.
{
"id": 123,
"number": "Q-2024-001",
"description": "Quote for Acme",
"note": "Valid 30 days",
"date": "2024-02-29T23:00:00.000+00:00",
"dealer": { "id": 1, "name": "John Smith" },
"user": { "id": 12, "name": "Jane Doe" },
"hasDocs": true,
"currency": { "id": 1, "code": "€" },
"language": { "iso": "sk" },
"state": { "id": 1, "name": "Nevybavená" },
"company": { "id": 55, "name": "Acme s.r.o.", "ico": "12345678", ... },
"contact": { "id": 88, "firstname": "Ján", "surname": "Novák", "email": "jan.novak@acme.sk" },
"transport": { "name": "Predvolený", "price": 5, "vat": 20 },
"paymentOA": { "name": "Dobierka" },
"items": [
{ "orderNumber": "SKU-001", "name": "Product A", "price": 15.5, "vat": 20, "amount": 3 }
]
}
Response-only fields
| Field | Type | Description |
|---|---|---|
| user | object | null | The user who created the document (id + name). null if unknown. |
| hasDocs | boolean | true if at least one active file is attached to the document in Offeris (DMS). |
These fields are ignored on POST and PUT.
Updates the state of an existing quote. Requires quotation / Write. Use GET_ORDERIN_STATE to get available state IDs.
PUT https://sk001.offeris.com/v23/open-api/quotation/123/state/2?key=YOUR_API_KEY
Response: 204 No Content
Deletes a quote by ID. Requires quotation / Delete.
DELETE https://sk001.offeris.com/v23/open-api/quotation/123?key=YOUR_API_KEY
Response: 204 No Content
Received orders (orderin)
Full CRUD for received orders. The request and response structure mirrors quotes, with a few order-specific fields (customerNumber, promisedDeliveryFrom, promisedDeliveryTo, per-item delivered). Requires orderin permission on the API key.
Returns a paginated list of received orders. Requires orderin / Read.
| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | required | Your API key. |
| page | integer | optional | Page index, 0-based. Default: 0. |
| size | integer | optional | Records per page. Default: 20. |
| sort | string | optional | Sort field and direction, e.g. date,desc or number,asc. |
GET https://sk001.offeris.com/v23/open-api/orderin?key=YOUR_API_KEY&page=0&size=20&sort=date,desc
Response: Page<OrderinOA> — see the OrderinOA object below for field reference.
Returns the full detail of a single received order. Requires orderin / Read.
GET https://sk001.offeris.com/v23/open-api/orderin/123?key=YOUR_API_KEY
Response: OrderinOA object.
Creates a new received order. Pass an existing id to update it. Requires orderin / Write.
The company is resolved by id → ICO → exact name. If found, only the fields you send are updated (empty or omitted fields are never cleared); if not found by ICO or name, a new company is created. A non-existent id returns 400. An existing contact is matched by ID, then email, and updated. Transport and payment are matched by name and created if not found. Item prices are required — only the purchase price is pulled from the product automatically. The order total is the sum of line items.
Request body
Same structure as Create / update quote, plus the order-specific fields marked below. Company, contact and line item sub-objects are identical to the quote ones.
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | null to create; existing ID to update. |
| number | string | optional | Order number. null to auto-generate. |
| description | string | optional | Description. |
| note | string | optional | Additional notes. |
| date | string | optional | Order date, format YYYY-MM-DD. Ignored on create — Offeris sets the date itself. |
| customerNumber | string | optional | Customer's own order / PO number (e.g. "PO-99887"). Order-specific. |
| promisedDeliveryFrom | string | optional | Promised delivery start, format YYYY-MM-DD. Order-specific. |
| promisedDeliveryTo | string | optional | Promised delivery end, format YYYY-MM-DD. Order-specific. |
| dealer | object | optional | id + name. Matched by ID first, then name. |
| currency | object | optional | id + code (e.g. "€"). Matched by ID, then code. |
| language | object | optional | id + iso (e.g. "sk"). Matched by ID, then ISO code. |
| state | object | optional | id + name. Matched by ID, then name. Use GET_ORDERIN_STATE for valid values. |
| company | object | optional | Company. Matched by id, then ICO, then exact name; created if not found. See company fields. |
| contact | object | optional | Contact person. Matched by id then email. See contact fields. |
| transport | object | optional | id, name, price (double), vat (double). Matched by ID, then name; created if not found. |
| paymentOA | object | optional | id + name. Matched by ID, then name; created if not found. |
| items | array | optional | Line items. price, vat, amount required per item. See line item fields. |
Dates must be valid YYYY-MM-DD values — an unparseable date is rejected with 400 Bad Request. The per-item delivery field is free text (e.g. "2 týždne", "skladom"), not a date, and is truncated to 50 characters — the same limit as in the Offeris UI.
Example request
{
"id": null,
"number": null,
"description": "Order for Acme",
"note": "Deliver in one shipment",
"customerNumber": "PO-99887",
"promisedDeliveryFrom": "2025-08-01",
"promisedDeliveryTo": "2025-08-15",
"dealer": { "id": null, "name": "John Smith" },
"currency": { "id": "", "code": "€" },
"language": { "id": "", "iso": "sk" },
"state": { "id": "", "name": "Nevybavená" },
"company": {
"id": "", "name": "Acme s.r.o.", "ico": "12345678",
"dic": "1234567890", "icdph": "SK1234567890",
"billing": { "city": "Bratislava", "street": "Hlavná 1", "zip": "81101", "country": "SK" },
"shipping": { "city": "Bratislava", "street": "Hlavná 1", "zip": "81101", "country": "SK" }
},
"contact": {
"id": "", "firstname": "Ján", "surname": "Novák",
"email": "jan.novak@acme.sk", "mobile": "0900123456"
},
"transport": { "id": "", "name": "Predvolený", "price": "5", "vat": "20" },
"paymentOA": { "id": "", "name": "Dobierka" },
"items": [
{ "orderNumber": "SKU-001", "name": "Product A", "delivery": "2 týždne", "price": 15.50, "vat": 20, "amount": 3 }
]
}
Response
Returns the created or updated OrderinOA object.
{
"id": 123,
"number": "OB-2025-001",
"customerNumber": "PO-99887",
"description": "Order for Acme",
"note": "Deliver in one shipment",
"date": "2025-07-19T22:00:00.000+00:00",
"promisedDeliveryFrom": "2025-07-31T22:00:00.000+00:00",
"promisedDeliveryTo": "2025-08-14T22:00:00.000+00:00",
"dealer": { "id": 1, "name": "John Smith" },
"user": { "id": 12, "name": "Jane Doe" },
"hasDocs": true,
"currency": { "id": 1, "code": "€" },
"language": { "iso": "sk" },
"state": { "id": 1, "name": "Nevybavená" },
"company": {
"id": 55, "name": "Acme s.r.o.", "ico": "12345678",
"dic": "1234567890", "icdph": "SK1234567890",
"billing": { "city": "Bratislava", "street": "Hlavná 1", "zip": "81101", "country": "SK" },
"shipping": { "city": "Bratislava", "street": "Hlavná 1", "zip": "81101", "country": "SK" }
},
"contact": { "id": 88, "firstname": "Ján", "surname": "Novák", "email": "jan.novak@acme.sk", "mobile": "0900123456" },
"transport": { "name": "Predvolený", "price": 5, "vat": 20 },
"paymentOA": { "name": "Dobierka" },
"items": [
{ "id": 901, "productId": 41, "orderNumber": "P001", "name": "Product A",
"delivery": "2 týždne", "price": 10.0, "vat": 20, "amount": 2, "delivered": true },
{ "id": 902, "productId": 42, "orderNumber": "P002", "name": "Product B",
"delivery": "skladom", "price": 5.5, "vat": 10, "amount": 1, "delivered": false }
]
}
Fields specific to received orders
Compared to QuotationOA, the order object carries these extra fields:
| Field | Location | Type | Description |
|---|---|---|---|
| customerNumber | header | string | Customer's own order / PO number. |
| promisedDeliveryFrom | header | date | Promised delivery start. Same format as date in responses. |
| promisedDeliveryTo | header | date | Promised delivery end. Same format as date in responses. |
| delivered | line item | boolean | null | Read-only. true once the full ordered quantity has been dispatched — i.e. the linked stock issues and issued delivery notes reach the ordered amount. Reservations are not counted. null for rows without a quantity (sections, text rows). |
Like quotes, the order response also carries the response-only fields user and hasDocs, which are ignored on POST and PUT.
Updates the state of an existing received order to the state with ID {idState}. Requires orderin / Write. Use GET_ORDERIN_STATE to get available state IDs.
PUT https://sk001.offeris.com/v23/open-api/orderin/123/state/2?key=YOUR_API_KEY
Response: 204 No Content
Deletes a received order by ID. Requires orderin / Delete.
This is a soft delete — the order is marked inactive and disappears from Offeris, but the record is not physically removed from the database.
DELETE https://sk001.offeris.com/v23/open-api/orderin/123?key=YOUR_API_KEY
Response: 204 No Content
Issued invoices (invoice)
List, read, create, update and delete issued invoices — regular invoices (INVOICE) and proforma / advance invoices (PROFORMA) — and generate them from received orders. Requires invoice permission (Issued invoices on the API key).
The invoice permission is off on existing API keys. A key that could so far only access e.g. orders gets 403 on invoices until the permission is enabled.
Scope
- The API sees only active regular and proforma invoices of the API key's instance and mandant. Credit notes, recurring and template invoices are not visible (detail / PUT / DELETE return 404).
- A tax document for a received payment is stored as a regular invoice, so the API returns it as
INVOICE— but it cannot be updated or deleted (409, see PUT / DELETE restrictions). - Invoices are issued by the API key's technical user (the "Issued by" field). On create (POST, POST /from-orderin) the API key's mandant must be the same as this user's mandant, otherwise the API returns 400 — the invoice would be created in another mandant and would not be visible through the key.
type:"INVOICE"= regular invoice (default when missing or empty),"PROFORMA"= proforma invoice. Any other value returns 400.
Returns a paginated list of regular and proforma invoices. Requires invoice / Read.
| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | required | Your API key. |
| type | string | optional | INVOICE or PROFORMA. Omit to get both. |
| page | integer | optional | Page index, 0-based. Default: 0. |
| size | integer | optional | Records per page. Default: 20. |
| sort | string | optional | Sort field and direction, e.g. date,desc or number,asc. |
GET https://sk001.offeris.com/v23/open-api/invoice?key=YOUR_API_KEY&type=PROFORMA&page=0&size=20&sort=date,desc
Response: Page<InvoiceOA> — see the InvoiceOA object below for field reference.
Returns the full detail of a single invoice. Requires invoice / Read.
GET https://sk001.offeris.com/v23/open-api/invoice/1234?key=YOUR_API_KEY
Response: InvoiceOA object.
Creates a new regular or proforma invoice. Requires invoice / Write. POST always creates a new invoice — a filled id (> 0) returns 400; use PUT /{id} to update.
The header is created the same way as a new invoice in Offeris: number from the number series, variable symbol, due date, payment method and other company / mandant defaults. Fields sent in the request then override these defaults and line items are saved. Totals price / priceInclVat are calculated the same way as the summary in the invoice detail in Offeris. Items and prices are not copied from a linked order — use POST /from-orderin for that.
Company, contact, currency, language, payment and transport are resolved and created the same way as in received orders: company by id → ICO → exact name, contact by email; unknown payment methods and transports are created. An unknown currency returns 404, a non-existent company.id 400. Item prices are required — nothing is pulled from the product. An item is linked to a product by productId (non-existent → 404), otherwise by orderNumber; if no product is found, the item is saved without a product.
Always send a company and line items. When the invoice list is opened in the Offeris UI, the latest invoice of the logged-in user without a company, contact and items is deleted automatically — so an empty invoice created through the API may be deleted by the UI. Do not log in to Offeris as the API key's technical user.
Invoice number and variable symbol
numberomitted or empty: the number is assigned from the number series as in Offeris. The series is selected byprefixId(ID of an issued-invoice number series of the mandant; another mandant's series, a received-invoice series or a credit note series → 400), otherwise the mandant's default series. The series tab selected in the technical user's invoice list is not used.prefixIdapplies only totype: "INVOICE". Proforma invoices always use the mandant's proforma series —prefixIdis still validated but ignored.numbergiven: stored exactly as sent. The API only checks uniqueness among active invoices of the same type in the mandant (duplicate → 409 with the existing invoice's ID). Format and continuity with the number series are not checked — a custom number is the client's responsibility.prefixIdis ignored.- The uniqueness check also includes credit notes of the same type. If the number collides with a credit note, the 409 contains the credit note's ID, which is not visible via GET (404).
variableSymbolgiven: stored as sent; otherwise generated as in Offeris.- For mandants that derive the invoice number from the variable symbol, a client-provided number or variable symbol is not recalculated and their consistency is not checked — again the client's responsibility.
Dates
- Request dates use the format
YYYY-MM-DD; responses return a UTC timestamp (e.g."2026-11-18T23:00:00.000+00:00"for 19 Nov 2026 in Slovak time). date— issue date, default today.dateOfTaxableSupply— date of taxable supply, default =date.dueDate— if omitted, it is calculated from today (today + default due period of the company / mandant), not fromdate. Always senddueDatefor back-dated invoices.
Link to a received order (orderin)
- Optional field
orderin:{ "id": ... }or{ "number": "..." }. Only active orders of the API key's instance and mandant are searched. - Order not found → 404; several orders with the same number → 409 with their IDs (send the
idinstead);idandnumberpointing to different orders → 400. Nothing is created on error. - The invoice is linked to the order the same way as in Offeris (a regular invoice as the order's invoice, a proforma as its proforma invoice). If linking fails, the invoice is deleted again and the API returns 500.
Duplicate protection on retry
- If an order is given and an active invoice of the same type already exists for it, the API returns 409 with the existing invoice's ID and creates nothing. To deliberately create another invoice for the same order, send
"allowDuplicate": true. allowDuplicatebypasses only the order check. If an existingnumberis also sent, the API still returns 409 for the number.- A POST with neither an order nor a
numberhas no retry protection — every call creates a new invoice with a new number. If the client retries after a timeout, it should send its ownnumberor an order link. - Truly concurrent requests (not a retry after a response / timeout) are not covered.
Server-side errors
- A failure during creation (numbering, saving an item, linking the order, price recalculation) returns 500.
- If saving an item or linking the order fails after the header was created, the incomplete invoice is deleted again, so a retry does not get 409.
- If the 500 occurs while assigning the number after the header was inserted, or during price recalculation (after items and the order link were saved), the invoice may remain created (in the latter case also linked to the order). Check the invoice list (GET /) before retrying.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | Must be null or omitted on POST. |
| type | string | optional | "INVOICE" (default) or "PROFORMA". |
| number | string | optional | Invoice number. null / empty = assigned from the number series; otherwise stored as sent (must be unique within the type and mandant). |
| prefixId | integer | optional | ID of the mandant's issued-invoice number series. Used only when number is not given and only for INVOICE. null = default series. |
| variableSymbol | string | optional | Variable symbol. null / empty = generated as in Offeris. |
| constantSymbol | string | optional | Constant symbol code (e.g. "0308", see Offeris settings). An unknown code is ignored. |
| specificSymbol | string | optional | Specific symbol. |
| customerNumber | string | optional | Customer's order / PO number. |
| description | string | optional | Invoice description. |
| note | string | optional | Note. |
| date | string | optional | Issue date, YYYY-MM-DD. Default today. |
| dueDate | string | optional | Due date, YYYY-MM-DD. Default today + default due period — always send it for back-dated invoices. |
| dateOfTaxableSupply | string | optional | Date of taxable supply, YYYY-MM-DD. Default = date. |
| currency | object | optional | id, code (code or ISO code, e.g. "€"), rate (used only if positive). Matched by ID, then code; unknown → 404. |
| language | object | optional | id + iso (e.g. "sk"). Matched by ID, then ISO code. The id is not validated — a non-existent ID is stored without error; sending iso is safer. |
| company | object | optional | Customer company. Same fields and behaviour as in received orders (upsert). See company fields. |
| contact | object | optional | Contact person, matched by email (upsert). If a company is given, the contact is assigned to it. See contact fields. |
| payment | object | optional | id + name. Matched by ID, then name; created if not found. The id is not validated — a non-existent ID is stored without error; sending name is safer. |
| transport | object | optional | id, name, price, vat. Matched by ID, then name; created if not found. Omitted price / vat = values from the transport list. |
| orderin | object | optional | Link to a received order: id or number. See Link to a received order above. |
| allowDuplicate | boolean | optional | true = create the invoice even if the order already has an active invoice of the same type. Default false. |
| items | array | optional | Line items. See below. A null entry returns 400. |
Line item fields
| Field | Type | Required | Description |
|---|---|---|---|
| productId | integer | optional | Product ID in Offeris. A non-existent ID returns 404. |
| orderNumber | string | optional | Product SKU — used to match the product when productId is not given. No match = item without a product. |
| name | string | optional | Item name. |
| description | string | optional | Item description. |
| note | string | optional | Internal note on the item. |
| unit | string | optional | Unit of measure (e.g. "ks"). |
| price | decimal | required | Unit price excl. VAT. |
| vat | decimal | required | VAT rate as percent (e.g. 20). |
| amount | decimal | required | Quantity. |
Example request
{
"id": null,
"type": "INVOICE",
"number": null,
"prefixId": null,
"variableSymbol": null,
"constantSymbol": "0308",
"specificSymbol": "",
"customerNumber": "PO-99887",
"description": "Invoice for goods",
"note": "Thank you for your purchase",
"date": "2026-11-19",
"dueDate": "2026-12-03",
"dateOfTaxableSupply": "2026-11-19",
"currency": { "id": null, "code": "€", "rate": null },
"language": { "id": null, "iso": "sk" },
"company": {
"id": null, "name": "Acme s.r.o.", "ico": "12345678",
"dic": "1234567890", "icdph": "SK1234567890",
"billing": { "city": "Bratislava", "street": "Hlavná 1", "zip": "81101", "country": "SK" },
"shipping": { "city": "Bratislava", "street": "Hlavná 1", "zip": "81101", "country": "SK" }
},
"contact": { "id": null, "firstname": "Ján", "surname": "Novák", "email": "jan.novak@acme.sk" },
"payment": { "id": null, "name": "Prevodom" },
"transport": { "id": null, "name": "Kuriér", "price": 5, "vat": 20 },
"orderin": { "id": null, "number": "OBJ2026001" },
"allowDuplicate": false,
"items": [
{ "productId": null, "orderNumber": "SKU-001", "name": "Product A", "description": "Description",
"note": "Internal note", "unit": "ks", "price": 10, "vat": 20, "amount": 2 }
]
}
Response
Returns the created InvoiceOA object (same shape as GET /{id}).
{
"id": 1234,
"type": "INVOICE",
"number": "FA2026001",
"variableSymbol": "2026001",
"prefixId": null,
"constantSymbol": "0308",
"specificSymbol": null,
"customerNumber": "PO-99887",
"description": "Invoice for goods",
"note": "Thank you for your purchase",
"date": "2026-11-18T23:00:00.000+00:00",
"dueDate": "2026-12-02T23:00:00.000+00:00",
"dateOfTaxableSupply": "2026-11-18T23:00:00.000+00:00",
"currency": { "id": 1, "code": "€", "rate": 1 },
"language": { "id": 1, "iso": "sk" },
"company": { "id": 55, "name": "Acme s.r.o.", "ico": "12345678", ... },
"contact": { "id": 88, "firstname": "Ján", "surname": "Novák", "email": "jan.novak@acme.sk", ... },
"payment": { "id": 2, "name": "Prevodom" },
"transport": { "id": 3, "name": "Kuriér", "price": 5, "vat": 20 },
"orderin": { "id": 777, "number": "OBJ2026001" },
"items": [
{ "id": 901, "productId": 41, "orderNumber": "P001", "name": "Product A", "description": null,
"note": null, "unit": "ks", "price": 10.0, "vat": 20, "amount": 2 }
],
"price": 25.00,
"priceInclVat": 30.00,
"datePaid": null,
"locked": false,
"allowDuplicate": null
}
Response-only fields
| Field | Type | Description |
|---|---|---|
| id | integer | Invoice ID. |
| orderin | object | null | Linked received order { "id", "number" } (if several, the first by ID); null if not linked. |
| price | decimal | Total excl. VAT — same as the summary in the invoice detail. |
| priceInclVat | decimal | Total incl. VAT — same as the summary in the invoice detail. |
| datePaid | date | null | Payment date; null = unpaid. |
| locked | boolean | true if the invoice is locked. |
prefixId and allowDuplicate are input-only and always null in responses.
Same as the Generate invoice / proforma invoice button in the received order detail in Offeris: the invoice is generated from the whole order (all items, discounts, transport, company, contact and links). Requires invoice / Write and orderin / Read.
- Selecting individual items is not possible. A partial advance is possible only as a single-item proforma (see below).
- The order is found by
orderinIdororderinNumberas in POST (404 / 409 / 400); neither given → 400. Order without items → 400. - A regular invoice (
INVOICE) is linked to all proforma invoices of the order (paid or not) and payments from paid proformas are transferred to it — as in Offeris. A regular invoice generated after a paid proforma therefore cannot be updated or deleted via the API (409) right from the start. - No stock issue is created (even for mandants where Offeris offers it when generating). Create it in Offeris if needed.
- Number series:
prefixId, otherwise the mandant's default series (as in POST); applies only toINVOICE, proformas always use the proforma series. orderinStateId(optional): the order is moved to this state; non-existent state → 404.null= state unchanged.- Duplicate protection is the same as POST with an order: 409 with the existing invoice's ID of the same type; bypass with
"allowDuplicate": true. Concurrent requests are not covered.
A generator failure returns 500. The generator is not transactional — an error during generation may leave a partially created invoice. Check the invoice list (GET /) before retrying. A retry is caught as a duplicate (409) only if the error occurred after the order was linked to the invoice; on an earlier error an unlinked partial invoice remains and the retry creates a second one.
Single-item proforma (percent / price)
Same as Generate proforma invoice – single item in the received order detail in Offeris. Only for type: "PROFORMA".
- Send either
percent(share of the order's final price excl. VAT, greater than 0 and at most 100) orprice(amount excl. VAT, greater than 0) — not both. Withoutpercentandpricea proforma with the whole order is created. - Item amount:
pricerounded to 2 decimal places, orpercent× the order's final price excl. VAT (same as the summary in the order detail), rounded to 2 decimal places (HALF_UP). Zero order total → 400. itemName(optional, max. 250 characters): item name; empty = default name as in Offeris ("Advance according to received order" + order number, in the technical user's language).vat(optional): VAT rate in percent; must exist among the mandant's VAT rates (the same ones offered by the dialog in Offeris), otherwise 400. Withoutvat, the VAT rate of the order's first item is used (as the dialog default in Offeris); if the first item has none, the mandant's default VAT rate; if the mandant has no such rate, the default VAT rate.- For orders with mixed VAT rates a single item has only one rate, so the proforma incl. VAT is not exactly the given percentage of the order price incl. VAT — the same as in Offeris.
itemNameandvatwithoutpercent/price→ 400;percent,price,itemNameorvatwithINVOICE→ 400.- The single item replaces all order items and the order's discounts / surcharges (discount, transport, custom surcharges) are zeroed on the proforma — as in Offeris.
- A regular invoice (
INVOICE) generated via from-orderin afterwards still contains all order items and deducts paid proformas (see above). - A second proforma for the same order (e.g. another instalment) requires
"allowDuplicate": true, otherwise 409.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| orderinId | integer | optional* | Received order ID. *orderinId or orderinNumber is required. |
| orderinNumber | string | optional* | Received order number. If both are given, they must point to the same order. |
| type | string | optional | "INVOICE" (default) or "PROFORMA". |
| orderinStateId | integer | optional | New state of the order (received order state ID). Use GET_ORDERIN_STATE for valid values. |
| prefixId | integer | optional | Issued-invoice number series of the mandant; null = default. Only for INVOICE. |
| allowDuplicate | boolean | optional | true = generate even if the order already has an active invoice of the same type. |
| percent | decimal | optional | Only PROFORMA: single-item proforma for this percentage of the order price excl. VAT (0 < percent ≤ 100). |
| price | decimal | optional | Only PROFORMA: single-item proforma for this amount excl. VAT (> 0). Not together with percent. |
| itemName | string | optional | Only with percent / price: item name (max. 250 characters); null = default name. |
| vat | decimal | optional | Only with percent / price: VAT rate in percent from the mandant's rates; null = rate of the order's first item. |
Example request — regular invoice
{
"orderinId": null,
"orderinNumber": "OBJ2026001",
"type": "INVOICE",
"orderinStateId": null,
"prefixId": null,
"allowDuplicate": false
}
Example request — 30 % proforma
{
"orderinNumber": "OBJ2026001",
"type": "PROFORMA",
"percent": 30,
"itemName": "Advance 30 % for order OBJ2026001",
"vat": 20
}
Response
Returns the generated InvoiceOA object.
Updates the invoice header. Requires invoice / Write. Only fields present in the body are changed — an omitted field or null = no change. Subject to PUT / DELETE restrictions.
- Only these fields can be changed:
number,variableSymbol,constantSymbol,specificSymbol,customerNumber,description,note,date,dueDate,dateOfTaxableSupply. Other fields (items, company, contact, currency, language, payment, transport, order,prefixId, …) are ignored. To change items or the company, delete the invoice and create it again (if the restrictions allow it). typecannot be changed: a type different from the invoice's returns 400.number: empty = no change (the number cannot be cleared). A new number must be unique (otherwise 409 with the ID). When the number changes, the invoice's registration number is recalculated too (if it was empty or derived from the old number), but the variable symbol is not changed — sendvariableSymbolas well if it should match the new number.variableSymbol: empty = no change.constantSymbol: code from the list (unknown code = no change); empty string""clears the constant symbol.specificSymbol,customerNumber,description,note: empty string""clears the value.date/dueDate/dateOfTaxableSupply:YYYY-MM-DD; nothing is recalculated (changingdatedoes not changedateOfTaxableSupplyordueDate).idin the body is not needed; if given, it must match{id}in the path, otherwise 400.- A non-existent, deleted, credit note or other mandant's invoice returns 404.
PUT https://sk001.offeris.com/v23/open-api/invoice/1234?key=YOUR_API_KEY
Content-Type: application/json
{
"description": "Invoice for goods - updated",
"dueDate": "2026-12-31"
}
Response: the current InvoiceOA after the update.
Deletes an invoice the same way as deleting it in the invoice list in Offeris. Requires invoice / Delete. Subject to PUT / DELETE restrictions.
This is a soft delete — the invoice is marked inactive and disappears from Offeris, but the record is not physically removed from the database.
DELETE https://sk001.offeris.com/v23/open-api/invoice/1234?key=YOUR_API_KEY
Response: 200 OK without a body.
PUT / DELETE restrictions
An invoice is an accounting document. PUT and DELETE return 409 Conflict with a reason if the invoice:
- is locked (
it is locked.), - has been sent — sent flag, or e-invoice in state sent / delivered (
it has been sent.), - is paid fully or partially — payment date or an active payment, including one transferred from a proforma (
it is paid (fully or partially).), - is settled with a proforma / tax document — a proforma settled in a regular invoice or tax document, or a regular invoice / tax document created from a proforma (
it is settled with an advance / tax document (linked invoice id N).), - has an active credit note (
it has a credit note (id N).).
Errors
| Error | Endpoint | When / message |
|---|---|---|
| 401 | all | Unknown API key — Unknown api key |
| 403 | GET | Key lacks invoice / Read — You are not allowed to read on this resource. |
| 403 | POST, PUT, from-orderin | Key lacks invoice / Write — You are not allowed to write on this resource. |
| 403 | DELETE | Key lacks invoice / Delete — You are not allowed to delete on this resource. |
| 403 | from-orderin | Key lacks orderin / Read — You are not allowed to read orders (orderin) on this resource. |
| 400 | GET list, POST, PUT, from-orderin | type other than INVOICE / PROFORMA — Invalid invoice type 'X'. Allowed values: INVOICE, PROFORMA. |
| 400 | POST | id filled — POST creates a new invoice and does not accept id (X). To update use PUT /open-api/invoice/X. |
| 400 | POST, from-orderin | Technical user's mandant ≠ API key's mandant — Cannot create new invoice. / Cannot generate invoice from orderin. The technical user of the API key belongs to a different mandant than the API key. |
| 400 | POST, from-orderin | prefixId is not an issued-invoice series of the mandant — Invoice number series with prefixId X not found in the mandant of the API key. |
| 400 | POST | null entry in items — Invoice item N is empty. |
| 400 | POST | company.id does not exist — Company with id X not found |
| 400 | POST | transport.id does not exist — Transport with id X not found. |
| 400 | POST | New transport (by transport.name) could not be created — Cannot create new transport. |
| 400 | POST, from-orderin | Order id and number point to different orders — Orderin id X and number Y do not refer to the same order. |
| 400 | from-orderin | Neither orderinId nor orderinNumber — Orderin is required. Send orderinId or orderinNumber. |
| 400 | from-orderin | Order has no items — Orderin with id X has no items. |
| 400 | from-orderin | Generator returned no invoice — Cannot generate invoice from orderin with id X. |
| 400 | from-orderin | percent / price / itemName / vat with INVOICE — percent, price, itemName and vat can only be used with type PROFORMA. |
| 400 | from-orderin | Both percent and price — Send either percent or price, not both. |
| 400 | from-orderin | percent ≤ 0 or > 100 — percent must be greater than 0 and at most 100. |
| 400 | from-orderin | price ≤ 0 — price must be greater than 0. |
| 400 | from-orderin | itemName / vat without percent / price — itemName and vat can only be used together with percent or price. |
| 400 | from-orderin | vat is not a VAT rate of the mandant — VAT rate X not found. |
| 400 | from-orderin | itemName longer than 250 characters — itemName must be at most 250 characters. |
| 400 | from-orderin | Percentage of a zero order total (item amount ≤ 0) — Orderin with id X has zero total price. |
| 400 | PUT | id in body ≠ id in path — Id in request body (X) does not match id in path (Y). |
| 400 | PUT | Type change — Invoice type cannot be changed (invoice with id X is INVOICE). |
| 400 | all with body | Invalid JSON or date (JSON parser error). |
| 404 | GET detail, PUT, DELETE | Invoice does not exist, is deleted, is a credit note / other type or belongs to another mandant — Invoice with id X not found. |
| 404 | POST | Given currency does not exist — Currency with id X not found. / Currency with code X not found. |
| 404 | POST | productId does not exist — Product with id X not found |
| 404 | POST, from-orderin | Order does not exist (also another mandant's) — Orderin with id X not found. / Orderin with number X not found. |
| 404 | from-orderin | orderinStateId does not exist — Orderin state with id X not found. |
| 409 | POST, PUT | Number already exists (also a credit note of the same type) — Invoice with number X already exists (id N). |
| 409 | POST, from-orderin | Several orders with the same number — Orderin number X matches orders (ids 1, 2). Use orderin id instead. |
| 409 | POST, from-orderin | The order already has an active invoice of the same type — Orderin with id X already has an active INVOICE linked (id N). To create another one send "allowDuplicate": true. |
| 409 | PUT, DELETE | Locked / sent / paid / settled / with credit note — Invoice with id X cannot be modified or deleted via API: ... (see restrictions) |
| 500 | POST, from-orderin, PUT, DELETE | Server-side error (creation, item, order link, price recalculation, generator, delete) — e.g. Cannot create invoice item N; the incomplete invoice with id X was deleted. |
Order of checks on POST: permission → id → type → mandant → prefixId → number → currency / items (products) → order and duplicate → creating company, contact, payment, transport → invoice. An error up to the "order and duplicate" step creates nothing; company, contact, payment and transport are created only after it.
Received invoices (invoicein)
Received invoices have a different structure from quotes and orders — they include payment banking details, per-VAT-rate price breakdown, and support for attachments. Requires invoicein permission.
Only POST is available for received invoices. Listing and reading invoice detail are not supported yet.
Creates a new received invoice. Requires invoicein / Write. The "Issued by" user is taken from the API key configuration.
The company is resolved by id → ICO → exact name. If found, only the fields you send are updated (empty or omitted fields are never cleared); if not found by ICO or name, a new company is created. A non-existent id returns 400. Payment methods are matched by name and created if not found. If the company's bank account cannot be matched by IBAN or account number, a new bank account record is created.
Duplicate check
Optional — enable it on the API key with Duplicate check for received invoices. When enabled and an active received invoice with the same number from the same company already exists, the API does not create it again and returns 409 Conflict. The error message contains the ID of the existing invoice. Without the check, the same invoice can be created repeatedly.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | Set to null for a new invoice. |
| number | string | optional | Supplier's invoice number. Together with the company it is used for the duplicate check, if enabled. |
| evidenceNumber | string | optional | Our internal evidence number. Generated automatically if omitted. |
| description | string | optional | Description (the "Description" field in Offeris). |
| note | string | optional | Internal notes (the "Internal notes" field in Offeris). |
| date | string | optional | Issue date, YYYY-MM-DD. |
| dueDate | string | optional | Due date, YYYY-MM-DD. |
| dateOfTaxableSupply | string | optional | Date of taxable supply, YYYY-MM-DD. |
| variableSymbol | string | optional | Variable symbol. |
| constantSymbol | string | optional | Constant symbol. |
| specificSymbol | string | optional | Specific symbol. |
| salesOrderNumber | string | optional | Reference to an issued order number. |
| currency | object | optional | id, code (e.g. "CZK"), rate (exchange rate; fetched from NBS/CNB if omitted). Matched by ID, then code. |
| company | object | optional | Supplier company. Same fields as in quotes (id, name, ico, dic, icdph, billing, shipping) plus a bankAccount object (see below). |
| payment | object | optional | id + name. Matched by ID, then name; created if not found. |
| documentType | string | optional | Document type name. Created if not found. |
| vatType | object | optional | VAT type: code (e.g. "01D") + name. Matched by code or name; created if not found. |
| prices | array | optional | Invoice price broken down per VAT rate. Up to 3 entries. See below. |
| items | array | optional | Line items. See below. |
| attachmentsUrls | string[] | optional | URLs of files to attach to the invoice (e.g. a scanned PDF). See Attachments. |
| aliceDocumentId | string | optional | Document ID in the Alice (Redque) service. The PDF is downloaded and attached to the invoice as {number}.pdf. Works only if the Alice integration is enabled on the API key. |
Bank account fields (inside company)
| Field | Type | Description |
|---|---|---|
| iban | string | IBAN. Used for matching existing bank accounts. |
| number | string | Account number. Used for matching if the IBAN does not match. |
| bankName | string | Bank name. |
| bicSwift | string | BIC / SWIFT code. |
| note | string | Note on the bank account. |
Prices array fields (per VAT rate)
| Field | Type | Description |
|---|---|---|
| price | decimal | Price excl. VAT. |
| priceInclVat | decimal | Price incl. VAT. |
| vat | decimal | VAT amount. Calculated automatically if omitted. |
| vatRate | decimal | VAT rate as percent (e.g. 20). |
Line item fields
| Field | Type | Required | Description |
|---|---|---|---|
| productId | integer | optional | Product ID. If not given, the product is matched by orderNumber. A non-existent ID returns 404. |
| orderNumber | string | optional | Product SKU. If no product is found, the item is saved as a free-text item. |
| name | string | optional | Item name. |
| note | string | optional | Note. |
| unit | string | optional | Unit of measure (e.g. "ks"). |
| price | decimal | required | Unit price excl. VAT. |
| vatRate | decimal | required | VAT rate as percent. |
| amount | decimal | required | Quantity. |
Attachments (attachmentsUrls)
- Offeris downloads the files itself and stores them with the invoice (DMS tab).
- Each URL must be publicly accessible without login and must return the file with HTTP 200 (also after redirects).
- Google Drive share links are supported (
drive.google.com/file/d/{ID}/view,open?id={ID},uc?id={ID}) if the file is shared as "Anyone with the link". Non-public files are not attached. Google Docs / Sheets documents (docs.google.com) are not supported. - The file name is taken from the
Content-Dispositionheader (e.g. the original file name on Google Drive), otherwise from the last segment of the URL path. - Downloading a single file has a 60-second timeout.
- If a file cannot be downloaded, the invoice is still created — without that attachment and without an error in the response.
- File size is limited only by the database server configuration.
Example request
{
"id": null,
"number": "FA001",
"evidenceNumber": null,
"description": "Office supplies",
"note": "Internal note",
"date": "2024-07-20",
"dueDate": "2024-08-03",
"dateOfTaxableSupply": "2024-07-20",
"variableSymbol": "123456789",
"constantSymbol": "0308",
"currency": { "id": "", "code": "CZK", "rate": 25.00 },
"company": {
"id": "", "name": "Supplier s.r.o.", "ico": "99999999",
"billing": { "city": "Praha", "street": "Náměstí 1", "zip": "11000", "country": "CZ" },
"bankAccount": {
"iban": "CZ6508000000192000145399",
"bankName": "Česká spořitelna",
"bicSwift": "GIBACZPX"
}
},
"payment": { "id": "", "name": "Prevodom" },
"documentType": "Faktúra",
"vatType": { "code": "01D", "name": "Základná sadzba DPH" },
"prices": [
{ "price": 100, "priceInclVat": 121, "vatRate": 21 }
],
"items": [
{ "productId": null, "orderNumber": "SKU-001", "name": "Item A", "unit": "ks", "price": 100, "vatRate": 21, "amount": 1 }
],
"attachmentsUrls": ["https://example.com/invoice.pdf"]
}
Response
Returns the created received invoice (InvoiceinOA).
| Error | When |
|---|---|
| 400 Bad Request | No company exists with the given company.id, or the invoice cannot be saved. |
| 403 Forbidden | The API key lacks invoicein / Write. |
| 404 Not Found | No product exists with the given items[].productId. |
| 409 Conflict | Only with the duplicate check enabled: an active received invoice with the same number from the same company already exists. The message contains the existing invoice's ID. |
Stock export
Stock data is served as a pre-generated JSON file. You first trigger generation, then retrieve the result. Requires stock / Read permission.
The export is a snapshot of stock levels for products and product types, taken at the moment it is generated. Call the POST endpoint whenever you need fresh data, then read it with GET.
Generates a fresh stock export of products and product types from current stock levels and stores it as a JSON file. No request body required.
POST https://sk001.offeris.com/v23/open-api/stock/export/generate?key=YOUR_API_KEY
| Response | Meaning |
|---|---|
| 200 OK | Export generated successfully. |
| 401 Unauthorized | Invalid API key. |
| 500 Internal Server Error | Export generation failed. |
Returns the previously generated stock export. If no export exists yet, generate one first using the POST endpoint above.
GET https://sk001.offeris.com/v23/open-api/stock/export?key=YOUR_API_KEY
Response
[
{
"id": 1,
"orderOur": "P123",
"recordactive": 1,
"stock": 10.5,
"productTypes": [
{
"id": 2,
"orderOur": "PT456",
"recordactive": 1,
"stock": 5.0
}
]
}
]
Response fields
| Field | Type | Description |
|---|---|---|
| id | integer | Product ID. |
| orderOur | string | Product order number (SKU). |
| recordactive | integer | 1 = active, 0 = inactive. |
| stock | decimal | Available stock quantity. |
| productTypes | array | Product variants, each with id, orderOur, recordactive, stock. |
Companies & contacts
Creates a new company or updates an existing one. Matched by ICO if id is not provided. Returns the saved company object.
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | optional | Internal company ID for update. |
| name | string | required* | Company name. Required if ico is not provided. |
| ico | string | required* | Registration number. Required if name is not provided. Used for matching. |
| dic | string | optional | Tax ID. |
| icdph | string | optional | VAT number. |
| billing | object | optional | city, street, zip, country (ISO). |
POST https://sk001.offeris.com/v23/open-api/company?key=YOUR_API_KEY
Content-Type: application/json
{
"name": "Acme s.r.o.", "ico": "12345678",
"dic": "1234567890", "icdph": "SK1234567890",
"billing": { "city": "Bratislava", "street": "Hlavná 1", "zip": "81101", "country": "SK" }
}
Response: the saved CompanyOA object with id, name, ico, dic, icdph, billing, shipping.
Creates a new contact or updates an existing one matched by email. Returns the saved contact object.
| Field | Type | Required | Description |
|---|---|---|---|
| string | required | Email address. Used to match existing contacts. | |
| firstname | string | optional | First name. |
| middlename | string | optional | Middle name. |
| surname | string | optional | Last name. |
| titleBefore / titleAfter | string | optional | Academic titles. |
| mobile | string | optional | Mobile number (also saved as phone). |
| billing | object | optional | city, street, zip, country (ISO). |
| shipping | object | optional | Same structure. |
POST https://sk001.offeris.com/v23/open-api/contact?key=YOUR_API_KEY
Content-Type: application/json
{
"firstname": "Ján", "surname": "Novák",
"email": "jan.novak@acme.sk", "mobile": "0900123456",
"billing": { "city": "Bratislava", "street": "Hlavná 1", "zip": "81101", "country": "SK" }
}
Response: the saved ContactOA object with id, name fields, email, mobile, billing, shipping.
Returns a company record. Provide at least one of ico, id, or email.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | required | GET_COMPANY |
| ico | string | optional | Registration number. |
| id | integer | optional | Internal company ID. |
| string | optional | Company email. | |
| key | string | required | Your API key. |
GET https://sk001.offeris.com/OOA?action=GET_COMPANY&ico=12345678&key=YOUR_API_KEY
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | required | COMPANY_LIST |
| name | string | optional | Filter by name (partial match). |
| page | integer | optional | Page number (1-indexed). |
| key | string | required | Your API key. |
GET https://sk001.offeris.com/OOA?action=COMPANY_LIST&name=Acme&page=1&key=YOUR_API_KEY
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | required | GET_CONTACT |
| string | required | Contact email. | |
| key | string | required | Your API key. |
GET https://sk001.offeris.com/OOA?action=GET_CONTACT&email=jan.novak@firma.sk&key=YOUR_API_KEY
{
"id": 101, "name": "Ján Novák", "email": "jan.novak@firma.sk",
"delivery_address": { "city": "Bratislava", "zip": "81101", "street": "Hlavná 1", "country_id": 1, "country_iso_code": "SK" },
"invoice_address": { "city": "Bratislava", "zip": "81101", "street": "Fakturačná 2", "country_id": 1, "country_iso_code": "SK" }
}Page numbering is 0-indexed. Requesting page=0 also returns records and pages totals. Use these to plan subsequent requests.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | required | CONTACT_LIST |
| page | integer | optional | Page index, 0-based. Default: 0. |
| key | string | required | Your API key. |
GET https://sk001.offeris.com/OOA?action=CONTACT_LIST&page=0&key=YOUR_API_KEY
{ "records": 235, "pages": 3, "items": [ { "id": 101, "name": "Ján Novák", ... } ] }Products & catalogue
Read-only. Requires PRODUCT or CATALOGUE read permission (legacy permission model).
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | required | PRODUCT |
| id | integer | required | Product ID. |
| lang | string | required | Language ISO code (e.g. sk). |
| key | string | required | Your API key. |
GET https://sk001.offeris.com/OOA?action=PRODUCT&id=123&lang=sk&key=YOUR_API_KEY
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | required | PRODUCT_LIST |
| lang | string | required | Language ISO code. |
| page | integer | optional | Page number (1-indexed). Default: 1. |
| key | string | required | Your API key. |
GET https://sk001.offeris.com/OOA?action=PRODUCT_LIST&lang=sk&page=1&key=YOUR_API_KEY
{ "data": [...], "page": 1, "pages": 5, "product_show": 500, "product_count": 2340 }Returns a flat list of categories. All descendants are always included. Omit id or pass 0 for root level.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | required | CATALOGUE_LIST |
| lang | string | required | Language ISO code. |
| id | integer | optional | Parent category ID. Default: root (0). |
| key | string | required | Your API key. |
GET https://sk001.offeris.com/OOA?action=CATALOGUE_LIST&lang=sk&id=0&key=YOUR_API_KEY
{ "data": [{ "id": "5", "name": "Electronics", "parent_id": "0" }, ...] }| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | required | CATALOGUE |
| id | integer | required | Catalogue category ID. |
| lang | string | required | Language ISO code. |
| detailedProducts | boolean | optional | true = full product details; default false. |
| key | string | required | Your API key. |
GET https://sk001.offeris.com/OOA?action=CATALOGUE&id=5&lang=sk&detailedProducts=true&key=YOUR_API_KEY
Reference data
Use these endpoints to look up valid IDs and names for languages, currencies, transport methods, and payment forms. All values are tenant-specific. A valid API key is sufficient — no specific permission required.
GET https://sk001.offeris.com/OOA?action=GET_LANGUAGES&key=YOUR_API_KEY
{ "data": [{ "id": "1", "name": "Slovenčina", "iso_code": "sk" }] }GET https://sk001.offeris.com/OOA?action=GET_CURRENCIES&key=YOUR_API_KEY
{ "data": [{ "id": "1", "iso_code": "€", "name": "Euro" }] }GET https://sk001.offeris.com/OOA?action=GET_COUNTRIES&key=YOUR_API_KEY
{ "data": [{ "id": "1", "iso_code": "SK", "name": "Slovakia" }] }Use returned name values in transport.name when creating quotes/orders.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | required | GET_TRANSPORTS |
| idLanguage | integer | optional | Language ID. Defaults to tenant default. |
| key | string | required | Your API key. |
GET https://sk001.offeris.com/OOA?action=GET_TRANSPORTS&key=YOUR_API_KEY
{ "data": [{ "id": "1", "name": "Predvolený", "price_absolute": "5.00", "vat": "20", "free_from_price": "none" }] }Use returned name values in paymentOA.name or payment.name.
GET https://sk001.offeris.com/OOA?action=GET_PAYMENT_FORMS&key=YOUR_API_KEY
{ "data": [{ "id": "1", "name": "Dobierka" }, { "id": "2", "name": "Prevodom" }] }GET https://sk001.offeris.com/OOA?action=GET_PRICE_LEVELS&key=YOUR_API_KEY
{ "data": [{ "id": 1, "name": "Retail" }, { "id": 2, "name": "Wholesale" }] }Returns available states for quotes and received orders. Requires ORDERIN / Read (legacy permission).
GET https://sk001.offeris.com/OOA?action=GET_ORDERIN_STATE&key=YOUR_API_KEY
{ "data": [{ "id": "1", "name": "Nevybavená" }, { "id": "2", "name": "Vybavená" }] }