FURS Premises
FURS Premises
Register and manage business premises (physical locations or movable units) for FURS fiscalization
The FURS Premise object
Attributes
{
"id": "premise_507f1f77bcf86cd799439011",
"business_premise_name": "Main Office",
"entity_id": "ent_507f1f77bcf86cd799439011",
"real_estate": {
"cadastral_number": "1234",
"building_number": "5",
"building_section": "1",
"street": "Dunajska cesta",
"house_number": "22",
"house_number_additional": "A",
"community": "Ljubljana",
"city": "Ljubljana",
"postal_code": "1000"
},
"movable_premise": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Register real estate premise
/fiscalization/furs/premises/real-estateRegister a real estate (physical location) business premise with FURS (Slovenia). Required before fiscalizing invoices from this location.
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/identifier (e.g., 'P1', 'TRGOVINA1')
import SpaceInvoices from '@spaceinvoices/js-sdk';
const sdk = new SpaceInvoices('YOUR_API_KEY');
const response = await sdk.fursPremises.registerFursRealEstatePremise({
business_premise_name: "STORE1",
starting_number: 100,
real_estate: {
cadastral_number: "1234",
building_number: "567",
building_section: "1",
street: "Dunajska cesta",
house_number: "22",
house_number_additional: "A",
community: "Ljubljana",
city: "Ljubljana",
postal_code: "1000"
}
});
console.log(response);Returns
Registered business premise name
{
"success": true,
"message": "Business premise registered successfully",
"business_premise_name": "STORE1",
"environment": "production"
}Register movable premise
/fiscalization/furs/premises/movableRegister a movable business premise (vehicle, market stall, vending machine) with FURS (Slovenia). Required before fiscalizing invoices from this premise.
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/identifier (e.g., 'VEHICLE1', 'STALL2')
import SpaceInvoices from '@spaceinvoices/js-sdk';
const sdk = new SpaceInvoices('YOUR_API_KEY');
const response = await sdk.fursPremises.registerFursMovablePremise({
business_premise_name: "TRUCK1",
starting_number: 100,
movable_premise: {
premise_type: "A"
}
});
console.log(response);Returns
Registered business premise name
{
"success": true,
"message": "Business premise registered successfully",
"business_premise_name": "TRUCK1",
"environment": "production"
}List all business premises
/fiscalization/furs/premisesRetrieve all registered business premises for the entity. Each premise represents a physical location or movable unit where invoices are issued.
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
import SpaceInvoices from '@spaceinvoices/js-sdk';
const sdk = new SpaceInvoices('YOUR_API_KEY');
const response = await sdk.fursPremises.listFursBusinessPremises();
console.log(response);[]Get a business premise
/fiscalization/furs/premises/{id}Retrieve details of a specific business premise by ID, including its electronic 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
Business premise ID
import SpaceInvoices from '@spaceinvoices/js-sdk';
const sdk = new SpaceInvoices('YOUR_API_KEY');
const response = await sdk.fursPremises.getFursBusinessPremise("premise_507f1f77bcf86cd799439011");
console.log(response);Returns
{
"id": "premise_507f1f77bcf86cd799439011",
"business_premise_name": "Main Office",
"entity_id": "ent_507f1f77bcf86cd799439011",
"real_estate": {
"cadastral_number": "1234",
"building_number": "5",
"building_section": "1",
"street": "Dunajska cesta",
"house_number": "22",
"house_number_additional": "A",
"community": "Ljubljana",
"city": "Ljubljana",
"postal_code": "1000"
},
"movable_premise": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Update a business premise
/fiscalization/furs/premises/{id}Update mutable FURS business premise settings. The starting number can only be changed before invoices have been issued for the premise-level sequence.
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
Path parameters
Business premise ID
Body parameters
import SpaceInvoices from '@spaceinvoices/js-sdk';
const sdk = new SpaceInvoices('YOUR_API_KEY');
const response = await sdk.fursPremises.update("premise_507f1f77bcf86cd799439011", {
starting_number: 250
});
console.log(response);Returns
{
"id": "premise_507f1f77bcf86cd799439011",
"entity_id": "ent_507f1f77bcf86cd799439011",
"business_premise_name": "STORE1",
"type": "real_estate",
"real_estate": null,
"movable_premise": null,
"is_active": true,
"starting_number": 250,
"registered_at": "2025-01-01T00:00:00.000Z",
"closed_at": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-02T00:00:00.000Z"
}Close business premise
/fiscalization/furs/premises/{id}/closeClose a previously registered business premise with FURS. This should be done when a business location is permanently closed.
Header parameters
Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.
Path parameters
Business premise ID
import SpaceInvoices from '@spaceinvoices/js-sdk';
const sdk = new SpaceInvoices('YOUR_API_KEY');
const response = await sdk.fursPremises.closeFursBusinessPremise("premise_507f1f77bcf86cd799439011");
console.log(response);Returns
Registered business premise name
{
"success": true,
"message": "Business premise closed successfully",
"business_premise_name": "STORE1",
"environment": "production"
}