Skip to content

Business Management (1.0.0)

Full-featured B2B API for business operations.

Base URL: https://api.alteg.io/api

⚠️ Version Status

V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.

Authentication

Requires both partner and user authorization:

Authorization: Bearer <partner_token>, User <user_token>
Download OpenAPI description
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/

Authentication B2B

User authentication and session management for B2B integrations

Operations

Locations

Manage business locations (salons, clinics, etc.)

Operations

Services

Service catalog management including categories and team member assignments

Operations

Team Members

Staff management including positions and scheduling

Operations

Clients

Client database management with comments, files, and visit history

Operations

Users & Permissions

User account management and role-based access control

Operations

Appointments

Booking records and visit management

Operations

Events

Group events and class management

Operations

Schedule & Resources

Timetables, schedules, and resource allocation

Operations

Products

Product catalog and categories

Operations

Inventory

Stock management, storage operations, and tech cards

Operations

Sales

Sales transactions and document management

Operations

Payments

Payment processing, accounts, and KKM transactions

Operations

Notifications

SMS and email notifications to clients

Operations

Online Booking Settings

Configure online booking behavior and forms

Operations

Analytics & Reports

Business analytics, charts, and Z-reports

Operations

Tags

Label management for categorizing entities (deprecated, use v2)

Operations

Deposits

Client deposit accounts and operations

Operations

Loyalty Cards

Loyalty card types, issuance, and manual transactions

Operations

Subscriptions & Certificates

Membership subscriptions and gift certificates

Operations

Loyalty Programs

Discount programs, referral programs, and loyalty transactions

Operations

Salary

Staff salary calculations, payroll, and schemes

Operations

Notification Settings

Configure notification types and user preferences

Custom Fields

Custom field definitions for various entities

Operations

Chain Management

Multi-location chain operations and clients

Operations

Chain Loyalty Programs

Chain-level loyalty programs and transactions

Operations

Fiscalization

Tax system integration and KKM callbacks

Operations

Get fiscal transactions

Request

Filters

ParameterDescription
pagePage number
editable_lengthNumber of clients per page
typeOperation type
statusOperation status
start_datePeriod start date
end_datePeriod end date

Types of all transactions with location account

MeaningDescription
0Sales operation – Active for documents of type Visit
1Sale return operation – Active for documents of type Visit
2Correction operation
4Shift opening operation – Opens a new POS shift
5Shift closing operation – Closes the current POS shift
9Get POS status – Retrieves the current status of the POS device
11Get POS team status – Retrieves the status of all POS devices connected to the team
12Correction operation
13Print X-report – Prints a non-fiscal summary report of the current shift
6Cash deposit – Registers a cash-in transaction in the POS
7Cash withdrawal – Registers a cash-out transaction in the POS

Statuses of All POS Operations

MeaningDescription
0Connection error with POS – Unable to establish a connection with the POS device
1Success – Operation completed successfully
2Sent for printing – The request has been sent to the POS and is waiting for print completion
3Runtime error – An error occurred while processing the operation on the POS device
4Status check error – Failed to retrieve the current status of the POS
5Waiting for POS readiness – Operation is pending until the POS device becomes ready

Document Types

MeaningDescription
1Sale of products
2Provision of services
3Arrival of products
4Products write-off
5Transfer of products
6Inventory
7Visit
8Consumables write-off
9Deposit replenishment
Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Query
pagenumber

Page number

Example: page=1
editable_lengthnumber

Number of customers per page

Example: editable_length=25
typenumber

Type of transaction

Example: type=20
statusnumber

Operation status

Example: status=6
start_datenumber

Period start date

Example: start_date=20251201
end_datenumber

Period end date

Example: end_date=20251231
Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer access_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/kkm_transactions/{location_id}?page=1&editable_length=25&type=20&status=6&start_date=20251201&end_date=20251231' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array of objects with data

Example: [{"id":1059,"print_date":"2026-09-21T23:00:00.000-05:00","printed_count":1,"sum":10,"type":{"id":1,"title":"Sales return operation"},"status":{"id":3,"title":"Runtime error"},"document":{"id":2045,"type":7,"type_title":"Visit"},"cashier":{"id":746310,"name":"Jack Smith"}}]
metaobject

Metadata (contains the number of transactions found)

Example: {"count":1}
Response
application/json
{ "success": true, "data": [ {} ], "meta": { "count": 1 } }

Print fiscal receipt

Request

Types of all transactions with location account

MeaningDescription
0Sale operation (active for documents with types "Visit" and "Client account replenishment")
1Sale return operation (active for documents with types "Visit" and "Client account replenishment")
2Correction operation
4Shift opening operation – Opens a new POS shift
5Shift closing operation – Closes the current POS shift
9Get POS status – Retrieves the current status of the POS device
11Get POS team status – Retrieves the status of all POS devices connected to the team
12Correction operation
13Print X-report – Prints a non-fiscal summary report of the current shift
6Cash deposit – Registers a cash-in transaction in the POS
7Cash withdrawal – Registers a cash-out transaction in the POS

Document Types

MeaningDescription
1Sale of products
2Provision of services
3Arrival of products
4Products write-off
5Transfer of products
6Inventory
7Visit
8Consumables write-off
9Client account replenishment
Security
BearerPartnerUser
Path
location_idnumberrequired

Location ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example: application/vnd.api.v2+json
Body*/*
document_idnumberrequired

Document ID

typenumberrequired

type of operation with location account (see table of types of all operations)

is_pos_enabledboolean

enable POS terminal (default false)

curl -i -X POST \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/kkm_transactions/{location_id}/print_document_bill' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: */*' \
  -d '[object Object]'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataobject

Array of objects with data

Example: {"kkm_type":0,"kkm_transactions":[{"id":1954,"print_date":"2026-09-21T23:00:00.000-05:00","printed_count":0,"sum":0,"type":{"id":0,"title":"Sale operation"},"status":{"id":2,"title":"Sent for printing"},"document":{"id":164,"type":9,"type_title":"Deposit replenishment"},"cashier":{"id":1138453,"name":"Jack Smith"}}],"status":2,"bill_json":[{}]}
metaArray of objects

Metadata (empty array)

Example: []
Response
application/json
{ "success": true, "data": { "kkm_type": 0, "kkm_transactions": [], "status": 2, "bill_json": [] }, "meta": [] }

List request example

Request

A list of tax systems and VAT available for a country can be obtained by requesting the country ID for which the list is to be obtained. The country ID can be obtained from list of countries.

The list is an array of tax systems with a nested VAT array for each tax system.

The taxation system has the following structure:

FieldTypeDescription
titlestringName of taxation system
slugstringCode name for the taxation system
vatsArray of objects(Vat[])List of available VAT for the taxation system

VAT has the following structure:

FieldTypeDescription
titlestringTitle VAT
slugstringCode name VAT
Security
BearerPartnerUser
Path
country_idnumberrequired

Country ID

Example: 1
Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example: application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token

curl -i -X GET \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/integration/kkm/references/tax_system/1 \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example: true
dataArray of objects

Array of objects with data

Example: [{"title":"General DOS","slug":"ru_osn","vats":[{"title":"0%","slug":"ru_vat_0"},{"title":"10%","slug":"ru_vat_10"},{"title":"20%","slug":"ru_vat_20"},{"title":"is not a subject to a tax","slug":"ru_vat_none"}]},{"title":"Simplified simplified tax system (Income)","slug":"ru_usn","vats":[{"title":"is not a subject to a tax","slug":"ru_vat_none"}]},{"title":"Simplified simplified tax system (Income minus Expense)","slug":"ru_usnr","vats":[{"title":"is not a subject to a tax","slug":"ru_vat_none"}]},{"title":"Single tax on imputed income UTII","slug":"ru_envd","vats":[{"title":"is not a subject to a tax","slug":"ru_vat_none"}]},{"title":"Unified agricultural tax UST","slug":"ru_esn","vats":[{"title":"is not a subject to a tax","slug":"ru_vat_none"}]},{"title":"Patent taxation system","slug":"ru_psn","vats":[{"title":"is not a subject to a tax","slug":"ru_vat_none"}]}]
metaobject

Metadata (contains the number of taxation systems found)

Example: {"count":6}
Response
application/json
{ "success": true, "data": [ {}, {}, {}, {}, {}, {} ], "meta": { "count": 6 } }

Utilities

License info, phone validation, images, and tips

Operations