Xestando Expenses V 1 Controller API

The expenses-v-1-controller API from Xestando — 2 operation(s) for expenses-v-1-controller.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

GET /v1/expenses Search 2 #
POST /v1/expenses Create 3 #
DELETE /v1/expenses/{id} Delete #
GET /v1/expenses/{id} Get 5 #

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/xestando-com:xestando-com-expenses-v-1-controller-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

xestando-com-expenses-v-1-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Xestando
    url: https://xestando.com
  description: 'API de operaciones de negocio y cumplimiento para pymes españolas y europeas.


    Cada operacion declara un nivel de riesgo. Las de nivel L2 y L3 no se ejecutan en la llamada: devuelven 202 con una operacion pendiente que una persona tiene que aprobar en Xestando. El catalogo completo, con el nivel de cada una, esta en GET /v1/capabilities.


    Las escrituras admiten la cabecera Idempotency-Key: repetir la misma peticion con la misma clave devuelve la respuesta de la primera y no repite el efecto.'
  title: Xestando Business Expenses V 1 Controller API
  version: v1
servers:
- description: Produccion
  url: https://api.xestando.com
security:
- oauth2: []
tags:
- name: expenses-v-1-controller
paths:
  /v1/expenses:
    get:
      operationId: search_2
      parameters:
      - in: query
        name: from
        required: false
        schema:
          type: string
          format: date
      - in: query
        name: to
        required: false
        schema:
          type: string
          format: date
      - in: query
        name: page
        required: false
        schema:
          type: integer
          format: int32
          default: 0
      - in: query
        name: size
        required: false
        schema:
          type: integer
          format: int32
          default: 50
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiPageExpenseV1'
          description: OK
      tags:
      - expenses-v-1-controller
      summary: Search 2
      x-summary-source: derived
    post:
      operationId: create_3
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExpenseDraftV1'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpenseV1'
          description: OK
      tags:
      - expenses-v-1-controller
      summary: Create 3
      x-summary-source: derived
  /v1/expenses/{id}:
    delete:
      operationId: delete
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
      tags:
      - expenses-v-1-controller
      summary: Delete
      x-summary-source: derived
    get:
      operationId: get_5
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpenseV1'
          description: OK
      tags:
      - expenses-v-1-controller
      summary: Get 5
      x-summary-source: derived
components:
  schemas:
    ExpenseDraftV1:
      type: object
      properties:
        baseAmount:
          type: number
          format: double
        category:
          type: string
          maxLength: 60
          minLength: 0
        date:
          type: string
          format: date
        description:
          type: string
          maxLength: 200
          minLength: 0
        documentClass:
          type: string
          maxLength: 20
          minLength: 0
        documentNumber:
          type: string
          maxLength: 60
          minLength: 0
        lines:
          type: array
          items:
            $ref: '#/components/schemas/LineV1'
        supplier:
          $ref: '#/components/schemas/PartyDraftV1'
        taxAmount:
          type: number
          format: double
        taxRate:
          type: number
          format: double
        taxWithheld:
          type: number
          format: double
        total:
          type: number
          format: double
    ApiPageExpenseV1:
      type: object
      properties:
        hasMore:
          type: boolean
        items:
          type: array
          items:
            $ref: '#/components/schemas/ExpenseV1'
        page:
          type: integer
          format: int32
        size:
          type: integer
          format: int32
        total:
          type: integer
          format: int64
    LineV1:
      type: object
      properties:
        baseAmount:
          type: number
          format: double
        description:
          type: string
        quantity:
          type: number
          format: double
        taxAmount:
          type: number
          format: double
        taxRate:
          type: number
          format: double
        total:
          type: number
          format: double
        unitPrice:
          type: number
          format: double
    PartyV1:
      type: object
      properties:
        address:
          type: string
        countryCode:
          type: string
        email:
          type: string
        id:
          type: string
          format: uuid
        name:
          type: string
        phone:
          type: string
        postCode:
          type: string
        province:
          type: string
        role:
          type: string
        taxId:
          type: string
        town:
          type: string
        tradeName:
          type: string
    PartyDraftV1:
      type: object
      properties:
        address:
          type: string
          maxLength: 300
          minLength: 0
        countryCode:
          type: string
          maxLength: 3
          minLength: 0
        email:
          type: string
          maxLength: 200
          minLength: 0
        name:
          type: string
          maxLength: 200
          minLength: 0
        phone:
          type: string
          maxLength: 40
          minLength: 0
        postCode:
          type: string
          maxLength: 20
          minLength: 0
        province:
          type: string
          maxLength: 100
          minLength: 0
        taxId:
          type: string
          maxLength: 30
          minLength: 0
        town:
          type: string
          maxLength: 100
          minLength: 0
        tradeName:
          type: string
          maxLength: 200
          minLength: 0
      required:
      - name
    ExpenseV1:
      type: object
      properties:
        attachment:
          type: string
        baseAmount:
          type: number
          format: double
        category:
          type: string
        date:
          type: string
          format: date
        documentClass:
          type: string
        documentNumber:
          type: string
        id:
          type: string
          format: uuid
        lines:
          type: array
          items:
            $ref: '#/components/schemas/LineV1'
        supplier:
          $ref: '#/components/schemas/PartyV1'
        taxAmount:
          type: number
          format: double
        taxWithheld:
          type: number
          format: double
        total:
          type: number
          format: double
  securitySchemes:
    oauth2:
      bearerFormat: JWT
      description: Token emitido por https://oauth2.xestando.com
      scheme: bearer
      type: http
x-xestando-capabilities: /v1/capabilities