Space Invoices Order API

The Order API from Space Invoices — 2 operation(s) for order.

GitHub OpenAPI

Operations 2

GET /v1/Orders/{id} Find a model instance by {{id}} from the data source #
POST /v1/Orders/{id}/documents/create Order prototype remote create document #

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-order-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-order-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: space-invoices-api Order API
  version: 2.0.0
  description: ''
  contact:
    name: Space Invoices Inc
servers:
- url: https://api.spaceinvoices.com
security:
- accessTokenHeader: []
  accessTokenQuery: []
tags:
- name: Order
paths:
  /v1/Orders/{id}:
    get:
      tags:
      - Order
      summary: Find a model instance by {{id}} from the data source
      operationId: Order.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/Order'
            application/xml:
              schema:
                $ref: '#/components/schemas/Order'
            text/xml:
              schema:
                $ref: '#/components/schemas/Order'
            application/javascript:
              schema:
                $ref: '#/components/schemas/Order'
            text/javascript:
              schema:
                $ref: '#/components/schemas/Order'
      deprecated: false
  /v1/Orders/{id}/documents/create:
    post:
      tags:
      - Order
      summary: Order prototype remote create document
      operationId: Order.prototype.remoteCreateDocument
      parameters:
      - name: id
        in: path
        description: Order id
        required: true
        schema:
          type: string
          format: JSON
      - name: type
        in: query
        description: Type of document to create
        required: true
        schema:
          type: string
      - name: send
        in: query
        description: Force set if document should be sent, if not provided integration setting is used.
        required: false
        schema:
          type: boolean
      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
      x-summary-source: derived
components:
  schemas:
    x-any:
      properties: {}
    Order:
      properties:
        status:
          type: string
        date:
          type: string
          format: date-time
        orderId:
          description: Store order id
          type: string
        number:
          description: Store order number
          type: string
        currencyId:
          type: string
        clientId:
          $ref: '#/components/schemas/ObjectID'
        paymentType:
          type: string
        paymentTag:
          type: string
        paid:
          default: true
          type: boolean
        paidAt:
          type: string
          format: date-time
        fulfilled:
          type: boolean
        fulfilledAt:
          type: string
          format: date-time
        cancelled:
          type: boolean
        cancelledAt:
          type: string
          format: date-time
        complete:
          type: boolean
        completedAt:
          type: string
          format: date-time
        refunded:
          type: boolean
        refundedAt:
          type: string
          format: date-time
        locale:
          description: Order specific locale
          type: string
        expectedTotalWithTax:
          type: number
          format: double
        payloads:
          description: Order original payloads (deprecated) - use orderPayloads relation
          type: array
          items:
            $ref: '#/components/schemas/x-any'
        taxClause:
          description: Custom tax clause passed from order
          type: string
        id:
          $ref: '#/components/schemas/ObjectID'
        _billingAddress:
          $ref: '#/components/schemas/DocumentClient'
        _shippingAddress:
          $ref: '#/components/schemas/DocumentClient'
        invoiceId:
          $ref: '#/components/schemas/ObjectID'
        estimateId:
          $ref: '#/components/schemas/ObjectID'
        organizationId:
          $ref: '#/components/schemas/ObjectID'
        shopifyId:
          $ref: '#/components/schemas/ObjectID'
        stripeId:
          $ref: '#/components/schemas/ObjectID'
        deletedAt:
          type: string
          format: date-time
        _isDeleted:
          default: false
          type: boolean
        deletedId:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        magento1Id:
          $ref: '#/components/schemas/ObjectID'
        woocommerceId:
          $ref: '#/components/schemas/ObjectID'
        customIntegrationId:
          $ref: '#/components/schemas/ObjectID'
        customId:
          $ref: '#/components/schemas/ObjectID'
        thrivecartId:
          $ref: '#/components/schemas/ObjectID'
        _items:
          type: array
          items:
            $ref: '#/components/schemas/OrderItem'
        _transactions:
          type: array
          items:
            $ref: '#/components/schemas/OrderTransaction'
        bokunId:
          $ref: '#/components/schemas/ObjectID'
        shopamineId:
          $ref: '#/components/schemas/ObjectID'
      required:
      - status
      - date
      - paymentType
      - paid
      additionalProperties: false
    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
    OrderTransaction:
      properties:
        id:
          type: string
        amount:
          type: number
          format: double
        gateway:
          type: string
        type:
          type: string
        status:
          type: string
        tag:
          description: Payment tag for sub categorization
          type: string
        date:
          type: string
          format: date-time
        note:
          type: string
        custom:
          default: {}
          description: Custom field for freeform data input
          type: object
      required:
      - id
      - amount
      - gateway
      - type
      - status
      - date
      additionalProperties: false
    OrderItemTax:
      properties:
        id:
          type: string
        rate:
          type: number
          format: double
        classification:
          description: Tax classification (e.g., 'standard', 'reduced', 'zero') - resolved to rate during Order→Document conversion
          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
      required:
      - id
      - recoverable
      - compound
      additionalProperties: false
    DocumentClient:
      properties:
        id:
          type: string
        isEndCustomer:
          default: false
          type: boolean
        throwEslogErrors:
          type: boolean
        saveClient:
          type: boolean
        ipAddress:
          type: string
        fatturaPaChannelId:
          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
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        custom:
          default: {}
          description: Custom field for freeform data input
          type: object
        _data:
          type: array
          items:
            $ref: '#/components/schemas/Data'
      required:
      - id
      - name
      additionalProperties: false
    OrderItem:
      properties:
        id:
          type: string
        name:
          type: string
        description:
          default: ''
          type: string
        price:
          type: number
          format: double
        priceGross:
          type: number
          format: double
        unit:
          type: string
        SKU:
          type: string
        onBehalf:
          description: tax number of company selling this item/service on behalf of
          type: string
        custom:
          default: {}
          description: Custom field for freeform data input
          type: object
        _taxes:
          type: array
          items:
            $ref: '#/components/schemas/OrderItemTax'
      required:
      - id
      - name
      additionalProperties: false
  securitySchemes:
    accessTokenHeader:
      type: apiKey
      in: header
      name: Authorization
    accessTokenQuery:
      type: apiKey
      in: query
      name: access_token