Space Invoices Tax API
The Tax API from Space Invoices — 5 operation(s) for tax.
Operations 7
POST
/v1/Taxes/{id}/replace
Replace attributes for a model instance and persist it into the data source
#
The Tax API from Space Invoices — 5 operation(s) for tax.
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-tax-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 Tax API
version: 2.0.0
description: ''
contact:
name: Space Invoices Inc
servers:
- url: https://api.spaceinvoices.com
security:
- accessTokenHeader: []
accessTokenQuery: []
tags:
- name: Tax
paths:
/v1/Taxes/{id}/taxRates/{fk}:
delete:
tags:
- Tax
summary: Delete a related item by id for taxRates
operationId: Tax.prototype.__destroyById__taxRates
parameters:
- name: id
in: path
description: Tax id
required: true
schema:
type: string
format: JSON
- name: fk
in: path
description: Foreign key for taxRates
required: true
schema:
type: string
format: JSON
responses:
'204':
description: Request was successful
deprecated: false
/v1/Taxes/{id}/taxRates:
post:
tags:
- Tax
summary: Creates a new instance in taxRates of this model
operationId: Tax.prototype.__create__taxRates
parameters:
- name: id
in: path
description: Tax id
required: true
schema:
type: string
format: JSON
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TaxRate'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/TaxRate'
application/xml:
schema:
$ref: '#/components/schemas/TaxRate'
text/xml:
schema:
$ref: '#/components/schemas/TaxRate'
responses:
'200':
description: Request was successful
content:
application/json:
schema:
$ref: '#/components/schemas/TaxRate'
application/xml:
schema:
$ref: '#/components/schemas/TaxRate'
text/xml:
schema:
$ref: '#/components/schemas/TaxRate'
application/javascript:
schema:
$ref: '#/components/schemas/TaxRate'
text/javascript:
schema:
$ref: '#/components/schemas/TaxRate'
deprecated: false
/v1/Taxes/{id}:
get:
tags:
- Tax
summary: Find a model instance by {{id}} from the data source
operationId: Tax.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/Tax'
application/xml:
schema:
$ref: '#/components/schemas/Tax'
text/xml:
schema:
$ref: '#/components/schemas/Tax'
application/javascript:
schema:
$ref: '#/components/schemas/Tax'
text/javascript:
schema:
$ref: '#/components/schemas/Tax'
deprecated: false
put:
tags:
- Tax
summary: Replace attributes for a model instance and persist it into the data source
operationId: Tax.replaceById__put_Taxes_{id}
parameters:
- name: id
in: path
description: Model id
required: true
schema:
type: string
format: JSON
requestBody:
$ref: '#/components/requestBodies/Tax'
responses:
'200':
description: Request was successful
content:
application/json:
schema:
$ref: '#/components/schemas/Tax'
application/xml:
schema:
$ref: '#/components/schemas/Tax'
text/xml:
schema:
$ref: '#/components/schemas/Tax'
application/javascript:
schema:
$ref: '#/components/schemas/Tax'
text/javascript:
schema:
$ref: '#/components/schemas/Tax'
deprecated: false
delete:
tags:
- Tax
summary: Delete a model instance by {{id}} from the data source
operationId: Tax.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
/v1/Taxes/{id}/replace:
post:
tags:
- Tax
summary: Replace attributes for a model instance and persist it into the data source
operationId: Tax.replaceById__post_Taxes_{id}_replace
parameters:
- name: id
in: path
description: Model id
required: true
schema:
type: string
format: JSON
requestBody:
$ref: '#/components/requestBodies/Tax'
responses:
'200':
description: Request was successful
content:
application/json:
schema:
$ref: '#/components/schemas/Tax'
application/xml:
schema:
$ref: '#/components/schemas/Tax'
text/xml:
schema:
$ref: '#/components/schemas/Tax'
application/javascript:
schema:
$ref: '#/components/schemas/Tax'
text/javascript:
schema:
$ref: '#/components/schemas/Tax'
deprecated: false
/v1/Taxes/clause-type:
post:
tags:
- Tax
summary: Tax remote tax clause type
operationId: Tax.remoteTaxClauseType
requestBody:
content:
application/json:
schema:
description: Body resembling a document.
type: object
application/x-www-form-urlencoded:
schema:
description: Body resembling a document.
type: object
application/xml:
schema:
description: Body resembling a document.
type: object
text/xml:
schema:
description: Body resembling a document.
type: object
description: Body resembling a document.
required: true
responses:
'200':
description: Request was successful
content:
application/json:
schema:
type: object
properties:
taxClauseType:
type: string
issuerCountry:
type: object
clientCountry:
type: object
application/xml:
schema:
type: object
properties:
taxClauseType:
type: string
issuerCountry:
type: object
clientCountry:
type: object
text/xml:
schema:
type: object
properties:
taxClauseType:
type: string
issuerCountry:
type: object
clientCountry:
type: object
application/javascript:
schema:
type: object
properties:
taxClauseType:
type: string
issuerCountry:
type: object
clientCountry:
type: object
text/javascript:
schema:
type: object
properties:
taxClauseType:
type: string
issuerCountry:
type: object
clientCountry:
type: object
deprecated: false
x-summary-source: derived
components:
schemas:
ObjectID:
type: string
pattern: ^[a-fA-F\d]{24}$
Tax:
properties:
classification:
type: string
country:
description: 'Country the tax belongs to
Defaults to organization country'
type: string
countryAlpha2Code:
type: string
accountingCode:
description: Tax account number for accounting export
type: string
name:
type: string
abbreviation:
type: string
recoverable:
default: true
type: boolean
compound:
default: false
type: boolean
taxNumber:
description: Tax number associated with this tax.
type: string
taxExemptionReason:
description: Tax number associated with this tax.
type: string
taxExemptionCode:
description: Tax exemption code associated with this tax.
type: string
id:
$ref: '#/components/schemas/ObjectID'
_taxRates:
type: array
items:
$ref: '#/components/schemas/TaxRate'
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
deletedAt:
type: string
format: date-time
_isDeleted:
default: false
type: boolean
deletedId:
type: string
custom:
default: {}
description: Custom field for freeform data input
type: object
organizationId:
$ref: '#/components/schemas/ObjectID'
required:
- recoverable
- compound
additionalProperties: false
TaxRate:
properties:
id:
type: string
dateValidFrom:
type: string
format: date-time
rate:
type: number
format: double
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
custom:
default: {}
description: Custom field for freeform data input
type: object
required:
- id
- dateValidFrom
- rate
additionalProperties: false
requestBodies:
Tax:
content:
application/json:
schema:
$ref: '#/components/schemas/Tax'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Tax'
application/xml:
schema:
$ref: '#/components/schemas/Tax'
text/xml:
schema:
$ref: '#/components/schemas/Tax'
description: Model instance data
securitySchemes:
accessTokenHeader:
type: apiKey
in: header
name: Authorization
accessTokenQuery:
type: apiKey
in: query
name: access_token