Skip to content

API Reference

API Reference

Welcome to the Space Invoices API reference. This documentation covers all available endpoints.

Base URL

https://eu.spaceinvoices.com

Authentication

All API requests require authentication using a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Context Headers

Most API endpoints require a context header to specify which entity (organization) you’re operating on:

  • x-entity-id — Used for most endpoints (invoices, customers, items, etc.). Specifies which entity’s data you’re accessing. Optional if your API key is scoped to a single entity.
  • x-account-id — Used only for account-level operations like creating, listing, and managing entities. Optional if your user belongs to a single account.

Each endpoint’s documentation shows which header it requires.

Resources