Space Invoices Client API
The Client API from Space Invoices — 4 operation(s) for client.
The Client API from Space Invoices — 4 operation(s) for client.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/spaceinvoices-com:spaceinvoices-com-client-api"
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.
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: 3.2.0
info:
title: space-invoices-api Client API
version: 2.0.0
description: ''
contact:
name: Space Invoices Inc
servers:
- url: https://api.spaceinvoices.com
security:
- accessTokenHeader: []
accessTokenQuery: []
tags:
- name: Client
paths:
/v1/Clients/{id}:
get:
tags:
- Client
summary: Find a model instance by {{id}} from the data source
operationId: Client.findById
parameters:
- name: id
in: path
description: Model id
required: true
schema:
type: string
format: JSON
- name: filter
in: query
description: Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
required: false
schema:
type: string
format: JSON
responses:
'200':
description: Request was successful
content:
application/json:
schema:
$ref: '#/components/schemas/Client'
application/xml:
schema:
$ref: '#/components/schemas/Client'
text/xml:
schema:
$ref: '#/components/schemas/Client'
application/javascript:
schema:
$ref: '#/components/schemas/Client'
text/javascript:
schema:
$ref: '#/components/schemas/Client'
deprecated: false
put:
tags:
- Client
summary: Replace attributes for a model instance and persist it into the data source
operationId: Client.replaceById__put_Clients_{id}
parameters:
- name: id
in: path
description: Model id
required: true
schema:
type: string
format: JSON
requestBody:
$ref: '#/components/requestBodies/Client'
responses:
'200':
description: Request was successful
content:
application/json:
schema:
$ref: '#/components/schemas/Client'
application/xml:
schema:
$ref: '#/components/schemas/Client'
text/xml:
schema:
$ref: '#/components/schemas/Client'
application/javascript:
schema:
$ref: '#/components/schemas/Client'
text/javascript:
schema:
$ref: '#/components/schemas/Client'
deprecated: false
delete:
tags:
- Client
summary: Delete a model instance by {{id}} from the data source
operationId: Client.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:
- Client
summary: Patch attributes for a model instance and persist it into the data source
operationId: Client.prototype.patchAttributes
parameters:
- name: id
in: path
description: Client id
required: true
schema:
type: string
format: JSON
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Client'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Client'
application/xml:
schema:
$ref: '#/components/schemas/Client'
text/xml:
schema:
$ref: '#/components/schemas/Client'
description: An object of model property name/value pairs
responses:
'200':
description: Request was successful
content:
application/json:
schema:
$ref: '#/components/schemas/Client'
application/xml:
schema:
$ref: '#/components/schemas/Client'
text/xml:
schema:
$ref: '#/components/schemas/Client'
application/javascript:
schema:
$ref: '#/components/schemas/Client'
text/javascript:
schema:
$ref: '#/components/schemas/Client'
deprecated: false
/v1/Clients/{id}/replace:
post:
tags:
- Client
summary: Replace attributes for a model instance and persist it into the data source
operationId: Client.replaceById__post_Clients_{id}_replace
parameters:
- name: id
in: path
description: Model id
required: true
schema:
type: string
format: JSON
requestBody:
$ref: '#/components/requestBodies/Client'
responses:
'200':
description: Request was successful
content:
application/json:
schema:
$ref: '#/components/schemas/Client'
application/xml:
schema:
$ref: '#/components/schemas/Client'
text/xml:
schema:
$ref: '#/components/schemas/Client'
application/javascript:
schema:
$ref: '#/components/schemas/Client'
text/javascript:
schema:
$ref: '#/components/schemas/Client'
deprecated: false
/v1/Clients/{id}/account-statement:
get:
tags:
- Client
summary: Generate a PDF account statement (konto kartica) for the client
operationId: Client.accountStatement
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: dateFrom
in: query
description: Start date for the statement period
required: false
schema:
type: string
format: date-time
- name: dateTo
in: query
description: End date for the statement period
required: false
schema:
type: string
format: date-time
- name: l
in: query
description: Language
required: false
schema:
type: string
responses:
'200':
description: Request was successful
content:
application/json:
schema:
description: Account statement PDF
type: string
format: binary
application/xml:
schema:
description: Account statement PDF
type: string
format: binary
text/xml:
schema:
description: Account statement PDF
type: string
format: binary
application/javascript:
schema:
description: Account statement PDF
type: string
format: binary
text/javascript:
schema:
description: Account statement PDF
type: string
format: binary
deprecated: false
/v1/Clients/{id}/send-reminder:
post:
tags:
- Client
summary: Client remote send overdue reminder
operationId: Client.remoteSendOverdueReminder
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
email:
type: string
l:
type: string
eslog:
description: Attach batch eSlog XML with all overdue invoices
type: boolean
responses:
'200':
description: Request was successful
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
application/xml:
schema:
type: object
properties:
success:
type: boolean
text/xml:
schema:
type: object
properties:
success:
type: boolean
application/javascript:
schema:
type: object
properties:
success:
type: boolean
text/javascript:
schema:
type: object
properties:
success:
type: boolean
deprecated: false
x-summary-source: derived
components:
requestBodies:
Client:
content:
application/json:
schema:
$ref: '#/components/schemas/Client'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Client'
application/xml:
schema:
$ref: '#/components/schemas/Client'
text/xml:
schema:
$ref: '#/components/schemas/Client'
description: Model instance data
schemas:
x-any:
properties: {}
ObjectID:
type: string
pattern: ^[a-fA-F\d]{24}$
Data:
properties:
id:
type: string
name:
description: Name identifier of data
type: string
value:
$ref: '#/components/schemas/x-any'
options:
description: 'Different data options.
Ie. should the value be persistem to the document `onPDF: boolean`.
This includes displaying on PDF.
Note that only two values will be displayed per PDF on Client.
Add Document data to export using `export: boolean`'
type: object
required:
- id
- name
additionalProperties: false
Client:
properties:
contact:
type: string
note:
type: string
isEndCustomer:
default: false
type: boolean
type:
description: Type of client, customer, supplier or both.
type: string
companyId:
description: Reference to companies model for internal analysis.
type: string
name:
type: string
address:
type: string
address2:
type: string
city:
type: string
zip:
type: string
state:
type: string
country:
type: string
countryAlpha2Code:
type: string
taxNumber:
type: string
taxSubject:
type: boolean
companyNumber:
type: string
IBAN:
type: string
bank:
type: string
SWIFT:
type: string
website:
type: string
email:
type: string
phone:
type: string
businessType:
type: string
fiscalRegionCode:
type: string
startingCapital:
type: number
format: double
id:
$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
organizationId:
$ref: '#/components/schemas/ObjectID'
unitId:
$ref: '#/components/schemas/ObjectID'
unitIds:
type: array
items:
$ref: '#/components/schemas/ObjectID'
_data:
type: array
items:
$ref: '#/components/schemas/Data'
required:
- name
additionalProperties: false
securitySchemes:
accessTokenHeader:
type: apiKey
in: header
name: Authorization
accessTokenQuery:
type: apiKey
in: query
name: access_token