Space Invoices Business Premise API

The BusinessPremise API from Space Invoices — 2 operation(s) for businesspremise.

GitHub OpenAPI

Operations 3

POST /v1/BusinessPremises/{id}/electronicDevices Creates a new instance in electronicDevices of this model #
DELETE /v1/BusinessPremises/{id} Delete a model instance by {{id}} from the data source #
PATCH /v1/BusinessPremises/{id} Patch attributes for a model instance and persist it into the data source #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spaceinvoices-com:spaceinvoices-com-businesspremise-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spaceinvoices-com-businesspremise-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: space-invoices-api Business Premise API
  version: 2.0.0
  description: ''
  contact:
    name: Space Invoices Inc
servers:
- url: https://api.spaceinvoices.com
security:
- accessTokenHeader: []
  accessTokenQuery: []
tags:
- name: BusinessPremise
paths:
  /v1/BusinessPremises/{id}/electronicDevices:
    post:
      tags:
      - BusinessPremise
      summary: Creates a new instance in electronicDevices of this model
      operationId: BusinessPremise.prototype.__create__electronicDevices
      parameters:
      - name: id
        in: path
        description: BusinessPremise id
        required: true
        schema:
          type: string
          format: JSON
      requestBody:
        $ref: '#/components/requestBodies/_new_ElectronicDevice'
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElectronicDevice'
            application/xml:
              schema:
                $ref: '#/components/schemas/ElectronicDevice'
            text/xml:
              schema:
                $ref: '#/components/schemas/ElectronicDevice'
            application/javascript:
              schema:
                $ref: '#/components/schemas/ElectronicDevice'
            text/javascript:
              schema:
                $ref: '#/components/schemas/ElectronicDevice'
      deprecated: false
  /v1/BusinessPremises/{id}:
    delete:
      tags:
      - BusinessPremise
      summary: Delete a model instance by {{id}} from the data source
      operationId: BusinessPremise.deleteById
      parameters:
      - name: id
        in: path
        description: Model id
        required: true
        schema:
          type: string
          format: JSON
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            application/javascript:
              schema:
                type: object
            text/javascript:
              schema:
                type: object
      deprecated: false
    patch:
      tags:
      - BusinessPremise
      summary: Patch attributes for a model instance and persist it into the data source
      operationId: BusinessPremise.prototype.patchAttributes
      parameters:
      - name: id
        in: path
        description: BusinessPremise id
        required: true
        schema:
          type: string
          format: JSON
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BusinessPremise'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/BusinessPremise'
          application/xml:
            schema:
              $ref: '#/components/schemas/BusinessPremise'
          text/xml:
            schema:
              $ref: '#/components/schemas/BusinessPremise'
        description: An object of model property name/value pairs
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BusinessPremise'
            application/xml:
              schema:
                $ref: '#/components/schemas/BusinessPremise'
            text/xml:
              schema:
                $ref: '#/components/schemas/BusinessPremise'
            application/javascript:
              schema:
                $ref: '#/components/schemas/BusinessPremise'
            text/javascript:
              schema:
                $ref: '#/components/schemas/BusinessPremise'
      deprecated: false
components:
  requestBodies:
    _new_ElectronicDevice:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/_new_ElectronicDevice'
        application/x-www-form-urlencoded:
          schema:
            $ref: '#/components/schemas/_new_ElectronicDevice'
        application/xml:
          schema:
            $ref: '#/components/schemas/_new_ElectronicDevice'
        text/xml:
          schema:
            $ref: '#/components/schemas/_new_ElectronicDevice'
  schemas:
    ObjectID:
      type: string
      pattern: ^[a-fA-F\d]{24}$
    BusinessPremise:
      properties:
        type:
          type: string
        taxNumber:
          description: Tax number of responsible person on premise
          type: string
        businessPremiseId:
          type: string
        premiseType:
          type: string
        cadastralNumber:
          type: number
          format: double
        buildingNumber:
          type: number
          format: double
        buildingSectionNumber:
          type: number
          format: double
        street:
          type: string
        houseNumber:
          type: string
        houseNumberAdditional:
          type: string
        community:
          type: string
        city:
          type: string
        postalCode:
          type: string
        numbers:
          type: object
        provider:
          default: furs
          description: The fiscalization provider the premise belongs to
          type: string
        environment:
          default: production
          type: string
        id:
          $ref: '#/components/schemas/ObjectID'
        organizationId:
          $ref: '#/components/schemas/ObjectID'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        custom:
          default: {}
          description: Custom field for freeform data input
          type: object
        deletedAt:
          type: string
          format: date-time
        _isDeleted:
          default: false
          type: boolean
        deletedId:
          type: string
      required:
      - businessPremiseId
      additionalProperties: false
    ElectronicDevice:
      properties:
        electronicDeviceId:
          type: string
        numbers:
          type: object
        provider:
          default: furs
          type: string
        environment:
          default: production
          type: string
        id:
          $ref: '#/components/schemas/ObjectID'
        businessPremiseId:
          $ref: '#/components/schemas/ObjectID'
        organizationId:
          $ref: '#/components/schemas/ObjectID'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        custom:
          default: {}
          description: Custom field for freeform data input
          type: object
      required:
      - electronicDeviceId
      additionalProperties: false
    _new_ElectronicDevice:
      properties:
        electronicDeviceId:
          type: string
        numbers:
          type: object
        provider:
          default: furs
          type: string
        environment:
          default: production
          type: string
        businessPremiseId:
          $ref: '#/components/schemas/ObjectID'
        organizationId:
          $ref: '#/components/schemas/ObjectID'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        custom:
          default: {}
          description: Custom field for freeform data input
          type: object
      required:
      - electronicDeviceId
      additionalProperties: false
  securitySchemes:
    accessTokenHeader:
      type: apiKey
      in: header
      name: Authorization
    accessTokenQuery:
      type: apiKey
      in: query
      name: access_token