Xestando Usage Invoices V 1 Controller API

The usage-invoices-v-1-controller API from Xestando — 2 operation(s) for usage-invoices-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 2

POST /v1/usage-invoices Create 1 #
GET /v1/usage-invoices/{operationId} Get 1 #

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-usage-invoices-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-usage-invoices-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 Usage Invoices V 1 Controller API
  version: v1
servers:
- description: Produccion
  url: https://api.xestando.com
security:
- oauth2: []
tags:
- name: usage-invoices-v-1-controller
paths:
  /v1/usage-invoices:
    post:
      operationId: create_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UsageInvoiceDraftV1'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageInvoiceV1'
          description: OK
      tags:
      - usage-invoices-v-1-controller
      summary: Create 1
      x-summary-source: derived
  /v1/usage-invoices/{operationId}:
    get:
      operationId: get_1
      parameters:
      - in: path
        name: operationId
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageInvoiceV1'
          description: OK
      tags:
      - usage-invoices-v-1-controller
      summary: Get 1
      x-summary-source: derived
components:
  schemas:
    UsageInvoiceDraftV1:
      type: object
      properties:
        clientRef:
          type: string
          format: uuid
        concept:
          type: string
          maxLength: 200
          minLength: 0
        currency:
          type: string
          maxLength: 3
          minLength: 0
        emisorId:
          type: string
        externalRef:
          type: string
          maxLength: 100
          minLength: 0
        lines:
          type: array
          items:
            $ref: '#/components/schemas/UsageLineV1'
        periodFrom:
          type: string
          format: date
        periodTo:
          type: string
          format: date
      required:
      - clientRef
    UsageInvoiceV1:
      type: object
      properties:
        clientRef:
          type: string
          format: uuid
        concept:
          type: string
        confirmationUrl:
          type: string
        currency:
          type: string
        error:
          type: string
        invoiceId:
          type: string
          format: uuid
        message:
          type: string
        operationId:
          type: string
          format: uuid
        paid:
          type: boolean
        paymentUrl:
          type: string
        periodFrom:
          type: string
          format: date
        periodTo:
          type: string
          format: date
        planId:
          type: string
          format: uuid
        reason:
          type: string
        status:
          type: string
        subtotalMinor:
          type: integer
          format: int64
        taxJurisdiction:
          type: string
        taxKind:
          type: string
        taxMinor:
          type: integer
          format: int64
        taxRate:
          type: number
          format: double
        totalMinor:
          type: integer
          format: int64
    UsageLineV1:
      type: object
      properties:
        description:
          type: string
          maxLength: 200
          minLength: 0
        quantity:
          type: number
          format: double
          exclusiveMinimum: 0
        unitPriceCents:
          type: integer
          format: int64
          minimum: 0
      required:
      - description
      - quantity
      - unitPriceCents
  securitySchemes:
    oauth2:
      bearerFormat: JWT
      description: Token emitido por https://oauth2.xestando.com
      scheme: bearer
      type: http
x-xestando-capabilities: /v1/capabilities