POS

A Point of Sale represents a physical device for selling tickets at a venue.

Endpoints

The POS object

Attributes

_id
Required
string

The ID of the POS

active
Required
boolean

Whether the POS is active or not

name
Required
string

The name of the POS

posNo
Required
string

The number of the POS

printingType
Required
string

The printing type of the POS. DIRECT = direct printing. EXTERNAL = extenral printing.

EXTERNALDIRECT

Optional Attributes

Collapse all
Was this section helpful?
YesNo
Example
{
"_id": "string",
"sellerId": "string",
"active": true,
"name": "string",
"posNo": "string",
"printingType": "EXTERNAL",
"restrictions": {
"restrictXReportAccess": true,
"restrictZReportAccess": true,
"restrictDashboardAccess": true,
"restrictInstantCancellation": true,
"code": "string",
"restrictEventAccess": true,
"restrictPurchaseIntents": true,
"allowedEvents": [
"string"
]
},
"signature": {
"fiskaly": {
"tssId": "string",
"clientId": "string",
"state": "UNINITIALIZED"
}
},
"state": "disabled",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Create a POS

Payload

name
Required
string
printingType
Required
string

Optional Attributes

Collapse all
posNo
Optional
string
Responses
201
Created
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
post
/api/pos
{
"name": "string",
"posNo": "string",
"printingType": "string"
}
Response
application/json
{
"_id": "string",
"sellerId": "string",
"active": true,
"name": "string",
"posNo": "string",
"printingType": "EXTERNAL",
"restrictions": {
"restrictXReportAccess": true,
"restrictZReportAccess": true,
"restrictDashboardAccess": true,
"restrictInstantCancellation": true,
"code": "string",
"restrictEventAccess": true,
"restrictPurchaseIntents": true,
"allowedEvents": [
"string"
]
},
"signature": {
"fiskaly": {
"tssId": "string",
"clientId": "string",
"state": "UNINITIALIZED"
}
},
"state": "disabled",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Update POS

Payload

name
Required
string
posNo
Required
string
active
Required
boolean
printingType
Required
string

Optional Attributes

Collapse all
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found

Was this section helpful?

YesNo
put
/api/pos/{id}
{
"name": "string",
"posNo": "string",
"active": true,
"printingType": "string",
"restrictions": {
"restrictXReportAccess": true,
"restrictZReportAccess": true,
"code": "string",
"restrictDashboardAccess": true,
"restrictInstantCancellation": true,
"restrictEventAccess": true,
"restrictPurchaseIntents": true,
"allowedEvents": [
"string"
]
}
}
Response
application/json
{
"_id": "string",
"sellerId": "string",
"active": true,
"name": "string",
"posNo": "string",
"printingType": "EXTERNAL",
"restrictions": {
"restrictXReportAccess": true,
"restrictZReportAccess": true,
"restrictDashboardAccess": true,
"restrictInstantCancellation": true,
"code": "string",
"restrictEventAccess": true,
"restrictPurchaseIntents": true,
"allowedEvents": [
"string"
]
},
"signature": {
"fiskaly": {
"tssId": "string",
"clientId": "string",
"state": "UNINITIALIZED"
}
},
"state": "disabled",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Get POS

Query

No supported query parameters
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found

Was this section helpful?

YesNo
get
/api/pos/{id}
Response
application/json
{
"_id": "string",
"sellerId": "string",
"active": true,
"name": "string",
"posNo": "string",
"printingType": "EXTERNAL",
"restrictions": {
"restrictXReportAccess": true,
"restrictZReportAccess": true,
"restrictDashboardAccess": true,
"restrictInstantCancellation": true,
"code": "string",
"restrictEventAccess": true,
"restrictPurchaseIntents": true,
"allowedEvents": [
"string"
]
},
"signature": {
"fiskaly": {
"tssId": "string",
"clientId": "string",
"state": "UNINITIALIZED"
}
},
"state": "disabled",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Get all POS

Query

top
Optional
number float
skip
Optional
number float
Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
get
/api/pos
Response
application/json
[
{
"_id": "string",
"sellerId": "string",
"active": true,
"name": "string",
"posNo": "string",
"printingType": "EXTERNAL",
"restrictions": {
"restrictXReportAccess": true,
"restrictZReportAccess": true,
"restrictDashboardAccess": true,
"restrictInstantCancellation": true,
"code": "string",
"restrictEventAccess": true,
"restrictPurchaseIntents": true,
"allowedEvents": [
"string"
]
},
"signature": {
"fiskaly": {
"tssId": "string",
"clientId": "string",
"state": "UNINITIALIZED"
}
},
"state": "disabled",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}
]

Disable POS

This process cannot be undone. Once the POS has been disabled, it can no longer be activated again. After disabling the POS cannot be used and users of this POS cannot sign in anymore.

Query

No supported query parameters
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found

Was this section helpful?

YesNo
post
/api/pos/{id}/disable
Response
application/json
{
"_id": "string",
"sellerId": "string",
"active": true,
"name": "string",
"posNo": "string",
"printingType": "EXTERNAL",
"restrictions": {
"restrictXReportAccess": true,
"restrictZReportAccess": true,
"restrictDashboardAccess": true,
"restrictInstantCancellation": true,
"code": "string",
"restrictEventAccess": true,
"restrictPurchaseIntents": true,
"allowedEvents": [
"string"
]
},
"signature": {
"fiskaly": {
"tssId": "string",
"clientId": "string",
"state": "UNINITIALIZED"
}
},
"state": "disabled",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Get POS sessions

Query

No supported query parameters
Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
get
/api/pos/{id}/sessions
Response
application/json
[
{
"_id": "string",
"sessionNo": "string",
"posId": "string",
"opened": "2030-01-23T23:00:00.123Z",
"closed": "2030-01-23T23:00:00.123Z",
"cashAtOpen": 10.5,
"totalAmount": 10.5,
"includedTax": 10.5,
"totalByPaymentMethod": {
"creditcard": 10.5,
"ec": 10.5,
"cash": 10.5
},
"taxInfo": {
"detailsPerRate": [
{
"taxRate": 10.5,
"includedTax": 10.5,
"reducedTax": 10.5
}
]
},
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}
]

Get POS journal logs

Query

top
Optional
number float

A limit on the number of objects to be returned. Can range between 1 and 1000.

skip
Optional
number float

The number of objects to skip for the requested result

type
Optional
string

Type of logs to filter

SALECANCELLATIONSESSION_CREATEDSESSION_CLOSED
referenceId
Optional
string

ID of the referenced object

Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found

Was this section helpful?

YesNo
get
/api/pos/{id}/logs
Response
application/json
{
"rows": [
{
"_id": "string",
"posId": "string",
"referenceId": "string",
"type": "SALE",
"typeDescriptor": "cash",
"fiscalization": {
"_id": "string",
"type": "RECEIPT",
"transactionId": "string",
"transactionNumber": 10.5,
"timeStart": 10.5,
"timeEnd": 10.5,
"certificateSerial": "string",
"timestampFormat": "string",
"signatureValue": "string",
"signatureCount": 10.5,
"signatureAlgorithm": "string",
"signaturePublicKey": "string",
"clientSerialNumber": "string",
"revision": 10.5,
"tssId": "string",
"clientId": "string",
"qrCodeData": "string"
},
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}
],
"total": 1
}

Export POS journal logs

Query

start
Required
string date-time
end
Required
string date-time
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found

Was this section helpful?

YesNo
get
/api/pos/{id}/export/journallogs
Response
application/json

Export POS cancellations

Query

start
Required
string date-time
end
Required
string date-time
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found

Was this section helpful?

YesNo
get
/api/pos/{id}/export/cancellations
Response
application/json

Export POS orders

Query

start
Required
string date-time
end
Required
string date-time
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found

Was this section helpful?

YesNo
get
/api/pos/{id}/export/orders
Response
application/json

Export POS order items

Query

start
Required
string date-time
end
Required
string date-time
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found

Was this section helpful?

YesNo
get
/api/pos/{id}/export/orderitems
Response
application/json

Export POS order discounts

Query

start
Required
string date-time
end
Required
string date-time
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found

Was this section helpful?

YesNo
get
/api/pos/{id}/export/orderdiscounts
Response
application/json