OrdoGrid · Schema

MovementResult

InvoicingPeppolBelgiumSoftware-as-a-Servicebusiness-documents

Properties

Name Type Description
movement object
replayed boolean
settlement object
View JSON Schema on GitHub

JSON Schema

ordogrid-movement-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ordogrid/json-schema/ordogrid-movement-result-schema.json",
  "title": "MovementResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ordogrid-payments-api-openapi.yml#/components/schemas/MovementResult",
  "properties": {
    "movement": {
      "$ref": "#/$defs/FinancialMovement"
    },
    "replayed": {
      "type": "boolean"
    },
    "settlement": {
      "$ref": "#/$defs/Settlement"
    }
  },
  "type": "object",
  "$defs": {
    "FinancialMovement": {
      "properties": {
        "actor": {
          "type": [
            "string",
            "null"
          ]
        },
        "amount": {
          "description": "Exact decimal currency amount; no binary arithmetic. Precision follows capabilities.currencies.",
          "pattern": "^-?[0-9]+(?:\\.[0-9]+)?$",
          "type": "string"
        },
        "credit_note_id": {
          "type": "string"
        },
        "credit_note_ids": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "currency": {
          "enum": [
            "EUR",
            "USD",
            "GBP",
            "JPY"
          ],
          "type": "string"
        },
        "external_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": "string"
        },
        "integration_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "kind": {
          "enum": [
            "payment",
            "prepayment",
            "reversal",
            "credit",
            "refund",
            "refund_reversal"
          ],
          "type": "string"
        },
        "method": {
          "type": [
            "string",
            "null"
          ]
        },
        "object": {
          "const": "financial_movement"
        },
        "occurred_at": {
          "description": "Occurrence time, in UTC. A credit occurs at its credit note's issue date.",
          "format": "date-time",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
          "type": "string"
        },
        "recorded_at": {
          "description": "UTC, ISO 8601 with milliseconds and Z, e.g. 2026-10-22T10:00:00.123Z.",
          "format": "date-time",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
          "type": "string"
        },
        "reference": {
          "maxLength": 500,
          "type": [
            "string",
            "null"
          ]
        },
        "refund_allocations": {
          "items": {
            "properties": {
              "amount": {
                "description": "Exact decimal currency amount; no binary arithmetic. Precision follows capabilities.currencies.",
                "pattern": "^-?[0-9]+(?:\\.[0-9]+)?$",
                "type": "string"
              },
              "payment_id": {
                "type": "string"
              }
            },
            "required": [
              "payment_id",
              "amount"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "reverses": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "Settlement": {
      "description": "Payments include prepayments net of reversals; credits never include cash refunds. Outstanding=max(0,total-credits-payments+refunds); refund_due=max(0,payments-refunds-(total-credits)).",
      "properties": {
        "as_of": {
          "description": "UTC, ISO 8601 with milliseconds and Z, e.g. 2026-10-22T10:00:00.123Z.",
          "format": "date-time",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
          "type": "string"
        },
        "credits": {
          "description": "Exact decimal currency amount; no binary arithmetic. Precision follows capabilities.currencies.",
          "pattern": "^-?[0-9]+(?:\\.[0-9]+)?$",
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "document_total": {
          "description": "Exact decimal currency amount; no binary arithmetic. Precision follows capabilities.currencies.",
          "pattern": "^-?[0-9]+(?:\\.[0-9]+)?$",
          "type": "string"
        },
        "legacy_reconciliation_required": {
          "type": "boolean"
        },
        "outstanding": {
          "description": "Exact decimal currency amount; no binary arithmetic. Precision follows capabilities.currencies.",
          "pattern": "^-?[0-9]+(?:\\.[0-9]+)?$",
          "type": "string"
        },
        "payments": {
          "description": "Exact decimal currency amount; no binary arithmetic. Precision follows capabilities.currencies.",
          "pattern": "^-?[0-9]+(?:\\.[0-9]+)?$",
          "type": "string"
        },
        "prepayments": {
          "description": "Exact decimal currency amount; no binary arithmetic. Precision follows capabilities.currencies.",
          "pattern": "^-?[0-9]+(?:\\.[0-9]+)?$",
          "type": "string"
        },
        "refund_due": {
          "description": "Exact decimal currency amount; no binary arithmetic. Precision follows capabilities.currencies.",
          "pattern": "^-?[0-9]+(?:\\.[0-9]+)?$",
          "type": "string"
        },
        "refunds": {
          "description": "Exact decimal currency amount; no binary arithmetic. Precision follows capabilities.currencies.",
          "pattern": "^-?[0-9]+(?:\\.[0-9]+)?$",
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "status": {
          "enum": [
            "unpaid",
            "partial",
            "settled",
            "refund_due"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

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/ordogrid-movement-result"
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.