User authentication and session management for B2B integrations
- Example of a request in case of successful fiscalization or in case of an error
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
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.
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:
| Field | Type | Description |
|---|---|---|
| title | string | Name of taxation system |
| slug | string | Code name for the taxation system |
| vats | Array of objects(Vat[]) | List of available VAT for the taxation system |
VAT has the following structure:
| Field | Type | Description |
|---|---|---|
| title | string | Title VAT |
| slug | string | Code name VAT |
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/integration/kkm/references/tax_system/{country_id}
- Productionhttps://api.alteg.io/api/v1/integration/kkm/references/tax_system/{country_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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'OK
Array of objects with data
{ "success": true, "data": [ { … }, { … }, { … }, { … }, { … }, { … } ], "meta": { "count": 6 } }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/integration/kkm/callback
- Productionhttps://api.alteg.io/api/v1/integration/kkm/callback
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/integration/kkm/callback \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Conetnt-Type: string' \
-H 'Content-Type: application/json' \
-d '{}'Date and time the document was sent for printing (in ISO-8601 format)
Whether to print a paper check at the checkout during fiscalization
List of positions in the check
List of fees applied per check
The Essence of a Cashier
Link to update fiscal status
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/https://your-api.url
- Productionhttps://api.alteg.io/api/v1/https://your-api.url
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/https://your-api.url \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "d72fece5-6825-4895-9395-0133195612a4",
"date": "2026-09-21T23:00:00.000-05:00",
"document_id": 239083104,
"type": "sale",
"print_receipt": true,
"customer": {
"email": "customer@example.com",
"phone": "+13155550175"
},
"positions": [
{
"type": "service",
"title": "Consultation",
"price": 13.19,
"quantity": 1,
"discount_amount": 2.54,
"vat": "ru_vat_10",
"payment_method": "payment",
"barcode": "12345"
}
],
"payments": [
{
"type": "card",
"sum": 5.55
},
{
"type": "cash",
"sum": 4.55
},
{
"type": "prepaid",
"sum": 0.55
}
],
"tax": "ru_osn",
"cashier": {
"uid": "4895-9395-0133195612a4",
"name": "John Smith",
"position": "Cashier"
},
"pos": {
"enabled": true,
"slip_count": 2
},
"callback_url": "https://app.alteg.io/api/v1/integration/kkm/callback/",
"custom_text": "some custom text"
}'{ "id": "d72fece5-6825-4895-9395-0133195612a4", "status": "success", "code": 0, "message": "OK" }