Space Invoices · Schema

InvoicePartial

(tsType: Partial, schemaOptions: { partial: true })

FintechSoftware-as-a-ServiceInvoicingCompliancePlatform

Properties

Name Type Description
createdAt string
updatedAt string
custom object Custom field for free input data
l10n object Object for storing localized values of strings
_isDeleted boolean
deletedAt string
number string
date string
reference string Reference for payment identification
total number
totalConverted number
totalDiscount number
totalWithTax number
totalWithTaxConverted number
decimalPlaces number
note string
taxClause string Document tax clause used to replace [tax clause] smart code when visualising document. Automatically populated on document save/update if not provided.
omitTaxes boolean If taxes should be omited when issuing document. Automatically populated on document if set using omit_tax_ default.
footer string
signature string
type string
sentSnailMail boolean
currencyId string Document 3 letter currency id based on ISO 4217 standard.
_documentTaxes array
_documentReverseTaxes array
hasUnit boolean Indicates if document has any items with unit specified. Used for display.
uniqueId string Optional user defined random unique value for each unique document used to prevent saving same document twice in case of connection drop. If a match happens the system returns the found document inste
equalization number Cent equalization amount
issuedAt string Date document was issued, can be different than createdAt if created as draft
dateYear number
shareableId string
_documentIssuer object
_documentClient object
_documentItems array
incoming boolean
id string
draft boolean
dateService string
dateServiceTo string
dateDue string
canceled boolean
totalPaid number
totalDue number
paidInFull boolean
chargesDisabled boolean Indicates if payment processing via Pay now button is disabled for this document
stripeConnectPaymentIntent object
organizationId string
accountId string
clientId string
_fatturaPa object
View JSON Schema on GitHub

JSON Schema

spaceinvoices-com-invoice-partial-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/spaceinvoices-com/json-schema/spaceinvoices-com-invoice-partial-schema.json",
  "title": "InvoicePartial",
  "description": "(tsType: Partial<Invoice>, schemaOptions: { partial: true })",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spaceinvoices-com-openapi.json#/components/schemas/InvoicePartial",
  "type": "object",
  "properties": {
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "custom": {
      "type": "object",
      "description": "Custom field for free input data"
    },
    "l10n": {
      "type": "object",
      "description": "Object for storing localized values of strings"
    },
    "_isDeleted": {
      "type": "boolean"
    },
    "deletedAt": {
      "type": "string",
      "format": "date-time"
    },
    "number": {
      "type": "string"
    },
    "date": {
      "type": "string",
      "format": "date-time"
    },
    "reference": {
      "type": "string",
      "description": "Reference for payment identification"
    },
    "total": {
      "type": "number"
    },
    "totalConverted": {
      "type": "number"
    },
    "totalDiscount": {
      "type": "number"
    },
    "totalWithTax": {
      "type": "number"
    },
    "totalWithTaxConverted": {
      "type": "number"
    },
    "decimalPlaces": {
      "type": "number",
      "minimum": 0,
      "maximum": 9
    },
    "note": {
      "type": "string"
    },
    "taxClause": {
      "type": "string",
      "description": "Document tax clause used to replace [tax clause] smart code when visualising document. Automatically populated on document save/update if not provided."
    },
    "omitTaxes": {
      "type": "boolean",
      "description": "If taxes should be omited when issuing document. Automatically populated on document if set using omit_tax_ default."
    },
    "footer": {
      "type": "string"
    },
    "signature": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "sentSnailMail": {
      "type": "boolean"
    },
    "currencyId": {
      "type": "string",
      "description": "Document 3 letter currency id based on ISO 4217 standard."
    },
    "_documentTaxes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DocumentTax"
      }
    },
    "_documentReverseTaxes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DocumentTax"
      }
    },
    "hasUnit": {
      "type": "boolean",
      "description": "Indicates if document has any items with unit specified. Used for display."
    },
    "uniqueId": {
      "type": "string",
      "description": "Optional user defined random unique value for each unique document used to prevent saving same document twice in case of connection drop. If a match happens the system returns the found document instead of a new one."
    },
    "equalization": {
      "type": "number",
      "description": "Cent equalization amount"
    },
    "issuedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Date document was issued, can be different than createdAt if created as draft"
    },
    "dateYear": {
      "type": "number"
    },
    "shareableId": {
      "type": "string"
    },
    "_documentIssuer": {
      "type": "object"
    },
    "_documentClient": {
      "type": "object"
    },
    "_documentItems": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DocumentItem"
      }
    },
    "incoming": {
      "type": "boolean"
    },
    "id": {
      "type": "string"
    },
    "draft": {
      "type": "boolean"
    },
    "dateService": {
      "type": "string",
      "format": "date-time"
    },
    "dateServiceTo": {
      "type": "string",
      "format": "date-time"
    },
    "dateDue": {
      "type": "string",
      "format": "date-time"
    },
    "canceled": {
      "type": "boolean"
    },
    "totalPaid": {
      "type": "number"
    },
    "totalDue": {
      "type": "number"
    },
    "paidInFull": {
      "type": "boolean"
    },
    "chargesDisabled": {
      "type": "boolean",
      "description": "Indicates if payment processing via Pay now button is disabled for this document"
    },
    "stripeConnectPaymentIntent": {
      "type": "object"
    },
    "organizationId": {
      "type": "string"
    },
    "accountId": {
      "type": "string"
    },
    "clientId": {
      "type": "string"
    },
    "_fatturaPa": {
      "type": "object"
    }
  },
  "additionalProperties": false,
  "x-typescript-type": "Partial<Invoice>",
  "$defs": {
    "Component": {
      "properties": {
        "id": {
          "type": "string"
        },
        "amount": {
          "description": "How many of this component go into one parent composed item.",
          "type": "number",
          "format": "double"
        },
        "itemId": {
          "$ref": "#/$defs/ObjectID"
        },
        "custom": {
          "default": {},
          "description": "Custom field for freeform data input",
          "type": "object"
        }
      },
      "required": [
        "id",
        "amount"
      ],
      "additionalProperties": false
    },
    "Data": {
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "description": "Name identifier of data",
          "type": "string"
        },
        "value": {
          "$ref": "#/$defs/x-any"
        },
        "options": {
          "description": "Different data options.\nIe. should the value be persistem to the document `onPDF: boolean`.\nThis includes displaying on PDF.\nNote that only two values will be displayed per PDF on Client.\nAdd Document data to export using `export: boolean`",
          "type": "object"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "additionalProperties": false
    },
    "DocumentItem": {
      "properties": {
        "id": {
          "type": "string"
        },
        "discount": {
          "type": "number",
          "format": "double"
        },
        "discountIsAmount": {
          "default": false,
          "type": "boolean"
        },
        "quantity": {
          "type": "number",
          "format": "double"
        },
        "total": {
          "type": "number",
          "format": "double"
        },
        "totalWithTax": {
          "type": "number",
          "format": "double"
        },
        "totalTax": {
          "type": "number",
          "format": "double"
        },
        "totalDiscount": {
          "type": "number",
          "format": "double"
        },
        "isSeparator": {
          "default": false,
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "default": "",
          "type": "string"
        },
        "price": {
          "type": "number",
          "format": "double"
        },
        "priceGross": {
          "type": "number",
          "format": "double"
        },
        "classification": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        },
        "SKU": {
          "type": "string"
        },
        "EAN": {
          "type": "string"
        },
        "trackInventory": {
          "type": "boolean"
        },
        "onBehalf": {
          "description": "tax number of company selling this item/service on behalf of",
          "type": "string"
        },
        "taxExemptionCode": {
          "description": "Has to be specified in some countries if the tax is 0 or not present",
          "type": "string"
        },
        "taxExemptionReason": {
          "description": "Has to be specified in some countries if the tax is 0 or not present",
          "type": "string"
        },
        "kpd": {
          "description": "KPD classification code (Croatian CPA) - format XX.XX.XX",
          "type": "string"
        },
        "itemId": {
          "$ref": "#/$defs/ObjectID"
        },
        "_taxExemption": {
          "$ref": "#/$defs/TaxExemption"
        },
        "custom": {
          "default": {},
          "description": "Custom field for freeform data input",
          "type": "object"
        },
        "l10n": {
          "description": "Object for storing localized values of strings",
          "type": "object"
        },
        "_documentItemTaxes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DocumentItemTax"
          }
        },
        "_components": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Component"
          }
        },
        "_data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Data"
          }
        }
      },
      "required": [
        "id"
      ],
      "additionalProperties": false
    },
    "DocumentItemTax": {
      "properties": {
        "id": {
          "type": "string"
        },
        "rate": {
          "type": "number",
          "format": "double"
        },
        "reverseCharged": {
          "default": false,
          "type": "boolean"
        },
        "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"
        },
        "taxId": {
          "$ref": "#/$defs/ObjectID"
        }
      },
      "required": [
        "id",
        "rate",
        "reverseCharged",
        "recoverable",
        "compound"
      ],
      "additionalProperties": false
    },
    "DocumentTax": {
      "title": "DocumentTax",
      "type": "object",
      "properties": {
        "taxId": {
          "type": "string"
        },
        "tax": {
          "type": "number"
        },
        "base": {
          "type": "number"
        },
        "baseConverted": {
          "type": "number"
        },
        "abbreviation": {
          "type": "string"
        },
        "totalTax": {
          "type": "number"
        },
        "totalTaxConverted": {
          "type": "number"
        }
      },
      "required": [
        "tax",
        "base",
        "totalTax",
        "totalTaxConverted"
      ],
      "additionalProperties": false
    },
    "ObjectID": {
      "type": "string",
      "pattern": "^[a-fA-F\\d]{24}$"
    },
    "TaxExemption": {
      "properties": {
        "code": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "x-any": {
      "properties": {}
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/spaceinvoices-com-invoice-partial"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.