Space Invoices Document API

The Document API from Space Invoices — 31 operation(s) for document.

GitHub OpenAPI

Operations 37

GET /v1/Documents/{id}/recurrence Fetches hasOne relation recurrence #
POST /v1/Documents/{id}/recurrence Creates a new instance in recurrence of this model #
DELETE /v1/Documents/{id}/comments/{fk} Delete a related item by id for comments #
PUT /v1/Documents/{id}/comments/{fk} Update a related item by id for comments #
GET /v1/Documents/{id}/payments Queries payments of Document #
POST /v1/Documents/{id}/payments Creates a new instance in payments of this model #
GET /v1/Documents/{id}/payments/count Counts payments of Document #
POST /v1/Documents/{id}/comments Creates a new instance in comments of this model #
POST /v1/Documents/{id}/documentCategories Creates a new instance in documentCategories of this model #
GET /v1/Documents/{id} Find a model instance by {{id}} from the data source #
PUT /v1/Documents/{id} Replace attributes for a model instance and persist it into the data source #
DELETE /v1/Documents/{id} Delete a model instance by {{id}} from the data source #
PATCH /v1/Documents/{id} Patch attributes for a model instance and persist it into the data source #
POST /v1/Documents/{id}/replace Replace attributes for a model instance and persist it into the data source #
POST /v1/Documents/{id}/issue Issue an existing draft invoice using its persisted data #
POST /v1/Documents/{id}/send Document prototype remote send #
POST /v1/Documents/{id}/cancel Document prototype cancel #
POST /v1/Documents/{id}/uncancel Document prototype uncancel #
POST /v1/Documents/{id}/fiscally-verify Fiscally verify a document that previously failed verification #
GET /v1/Documents/{id}/e-slog Generates eslog xml and returns it #
GET /v1/Documents/{id}/pdf Retrieve PDF of document #
GET /v1/Documents/{id}/thermal Retrieve invoice thermal printer PDF #
POST /v1/Documents/{id}/mark-sent Mark document as sent via snail mail #
POST /v1/Documents/{id}/attachments/upload Uploads an attachment for a document #
GET /v1/Documents/{id}/attachments/{attachmentId}/download Download an attachment for a document #
POST /v1/Documents/parse-xml Takes an xml file and returns a json object prepared for saving a document #
POST /v1/Documents/parse-csv Takes a csv file and returns a json object prepared for saving a document #
GET /v1/Documents/cron/outgoing Document remote overdue outgoing cron #
GET /v1/Documents/cron/incoming Document remote overdue incoming cron #
POST /v1/Documents/{id}/share Generates and returns shareable document id that allows access to document… #
GET /v1/Documents/public/{id} Retrieve document using shareable id #
GET /v1/Documents/public/{id}/e-slog Generates eslog xml from shareableId and returns it #
GET /v1/Documents/public/{id}/pdf Retrieve PDF of document #
GET /v1/Documents/public/{id}/attachments/{attachmentId}/download Retrieve attachment of document by shareable id #
POST /v1/Documents/{id}/fina/einvoice/retry Retry sending a failed outgoing FINA e-invoice #
POST /v1/Documents/{id}/fina/einvoice/approve Approve an incoming FINA e-invoice #
POST /v1/Documents/{id}/fina/einvoice/reject Reject an incoming FINA e-invoice #

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-document-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-document-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: space-invoices-api Document API
  version: 2.0.0
  description: ''
  contact:
    name: Space Invoices Inc
servers:
- url: https://api.spaceinvoices.com
security:
- accessTokenHeader: []
  accessTokenQuery: []
tags:


# --- truncated at 32 KB (78 KB total) ---
# Full source: https://artifacts.apis.io/spaceinvoices-com/openapi/spaceinvoices-com-document-api-openapi.yml