ASAP · Schema

RegisterView

The purchases register of a period.

FreelanceBillingCRMProductivity

Properties

Name Type Description
by_category array Per category, categories without expenses left out.
by_rate array Per VAT rate, highest first.
expense_count integer Confirmed expenses in the period.
from string First day, `YYYY-MM-DD`.
to string Last day, `YYYY-MM-DD`.
total object Everything.
vat_regime stringnull The org's VAT regime (`subject`, `franchise_base`, `real`) when known.
View JSON Schema on GitHub

JSON Schema

asap-cool-register-view-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-register-view-schema.json",
  "title": "RegisterView",
  "description": "The purchases register of a period.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-expenses-api-openapi.yml#/components/schemas/RegisterView",
  "type": "object",
  "required": [
    "from",
    "to",
    "expense_count",
    "total",
    "by_category",
    "by_rate"
  ],
  "properties": {
    "by_category": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RegisterCategoryView"
      },
      "description": "Per category, categories without expenses left out."
    },
    "by_rate": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RegisterRateView"
      },
      "description": "Per VAT rate, highest first."
    },
    "expense_count": {
      "type": "integer",
      "format": "int64",
      "description": "Confirmed expenses in the period."
    },
    "from": {
      "type": "string",
      "description": "First day, `YYYY-MM-DD`."
    },
    "to": {
      "type": "string",
      "description": "Last day, `YYYY-MM-DD`."
    },
    "total": {
      "$ref": "#/$defs/RegisterAmounts",
      "description": "Everything."
    },
    "vat_regime": {
      "type": [
        "string",
        "null"
      ],
      "description": "The org's VAT regime (`subject`, `franchise_base`, `real`) when known."
    }
  },
  "$defs": {
    "CategoryView": {
      "type": "string",
      "description": "Advisory expense category.",
      "enum": [
        "software",
        "hardware",
        "telecom",
        "travel",
        "meals",
        "fees",
        "insurance",
        "marketing",
        "rent",
        "training",
        "other"
      ]
    },
    "RegisterAmounts": {
      "type": "object",
      "description": "Sums, in cents.",
      "required": [
        "ht",
        "vat",
        "ttc"
      ],
      "properties": {
        "ht": {
          "type": "integer",
          "format": "int64",
          "description": "Before VAT."
        },
        "ttc": {
          "type": "integer",
          "format": "int64",
          "description": "Total paid."
        },
        "vat": {
          "type": "integer",
          "format": "int64",
          "description": "VAT paid."
        },
        "vat_deductible": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64",
          "description": "Recoverable VAT; `null` when the org is in franchise en base."
        }
      }
    },
    "RegisterCategoryView": {
      "type": "object",
      "description": "Sums for one category.",
      "required": [
        "category",
        "amounts"
      ],
      "properties": {
        "amounts": {
          "$ref": "#/$defs/RegisterAmounts",
          "description": "Its sums."
        },
        "category": {
          "$ref": "#/$defs/CategoryView",
          "description": "The category."
        }
      }
    },
    "RegisterRateView": {
      "type": "object",
      "description": "Sums for one VAT rate.",
      "required": [
        "rate",
        "amounts"
      ],
      "properties": {
        "amounts": {
          "$ref": "#/$defs/RegisterAmounts",
          "description": "Its sums."
        },
        "rate": {
          "type": "string",
          "description": "Rate in percent (`\"20\"`, `\"5.5\"`)."
        }
      }
    }
  }
}

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/asap-cool-register-view"
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.