FINA Premises
FINA Premises
Manage business premises for FINA fiscalization
The FINA Premise object
Attributes
{
"id": "fina_premise_507f1f77bcf86cd799439011",
"entity_id": "ent_507f1f77bcf86cd799439011",
"business_premise_name": "PP1",
"type": "premise",
"real_estate": null,
"movable_premise": null,
"is_active": true,
"registered_at": "2025-01-01T00:00:00.000Z",
"closed_at": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Create business premise
/fiscalization/fina/premisesAdd a business premise for FINA fiscalization. The premise must be registered on ePorezna first. Only the premise ID label is stored.
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
Body parameters
Business premise name (OznPosPr), alphanumeric, 1-20 chars. Must match the name registered on ePorezna.
curl -X POST "https://eu.spaceinvoices.com/fiscalization/fina/premises" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID" \
-H "Content-Type: application/json" \
-d '{
"business_premise_name": "PP1"
}'Returns
Business premise name
{
"success": true,
"message": "Business premise created successfully",
"business_premise_name": "PP1"
}List business premises
/fiscalization/fina/premisesList all business premises for the entity
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
curl "https://eu.spaceinvoices.com/fiscalization/fina/premises" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID"[]Get business premise
/fiscalization/fina/premises/{id}Get a single business premise by ID
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
Path parameters
Premise ID
curl "https://eu.spaceinvoices.com/fiscalization/fina/premises/{id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID"Returns
{
"id": "fina_premise_507f1f77bcf86cd799439011",
"entity_id": "ent_507f1f77bcf86cd799439011",
"business_premise_name": "PP1",
"type": "premise",
"real_estate": null,
"movable_premise": null,
"is_active": true,
"registered_at": "2025-01-01T00:00:00.000Z",
"closed_at": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Delete business premise
/fiscalization/fina/premises/{id}Deactivate a business premise and all its devices.
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
Path parameters
Premise ID
curl -X DELETE "https://eu.spaceinvoices.com/fiscalization/fina/premises/{id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "x-entity-id: YOUR_ENTITY_ID"Returns
Business premise name
{
"success": true,
"message": "Business premise deactivated successfully",
"business_premise_name": "PP1"
}