medianfi-com · Schema

BusinessEventWire

A business event with its generated preview lines and any posted journal entries. jeGenerationSkipped/jeGenerationError explain a null journalEntryId — skipped means a known, named blocker (or metadata-only event); error means an unexpected posting failure.

FinanceBookkeepingArtificial IntelligenceStartupsAccounting

Properties

Name Type Description
idempotentReplay boolean True when a completed create operation was returned without creating or posting again. Posting failures/skips retain their own fields.
id string
customerId string The company id (wire name kept for accountant-app compatibility).
eventType string
status string
parameters object
journalEntryId stringnull
generatedEntries array
generatedJEs array
journalEntryState string Consolidated state of every journal entry owned by this event.
journalEntryStateCounts object
jeGenerationSkipped string Why journal-entry generation was skipped (named blocker, unresolved accounts, or metadata-only event).
jeGenerationError string Unexpected posting failure recorded by the residual safety net (also captured to Sentry).
journalSkippedOnPurpose boolean #3864: present only when the Stripe deferral schedule skipped this journal on purpose and owns its posting; retry-post answers 409 and no retry is offered.
payablesApItemId string #2529: the Payables (AP) item a posted vendor bill created or linked; its initial journal entry is this event's journal entry.
unresolvedAccounts array
createdAt string
createdBy stringnull
View JSON Schema on GitHub

JSON Schema

medianfi-com-business-event-wire-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/medianfi-com/json-schema/medianfi-com-business-event-wire-schema.json",
  "title": "BusinessEventWire",
  "description": "A business event with its generated preview lines and any posted journal entries. jeGenerationSkipped/jeGenerationError explain a null journalEntryId — skipped means a known, named blocker (or metadata-only event); error means an unexpected posting failure.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/medianfi-com-business-events-api-openapi.yml#/components/schemas/BusinessEventWire",
  "type": "object",
  "properties": {
    "idempotentReplay": {
      "type": "boolean",
      "description": "True when a completed create operation was returned without creating or posting again. Posting failures/skips retain their own fields."
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "customerId": {
      "type": "string",
      "format": "uuid",
      "description": "The company id (wire name kept for accountant-app compatibility)."
    },
    "eventType": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "parameters": {
      "type": "object",
      "additionalProperties": true
    },
    "journalEntryId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "generatedEntries": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "account": {
            "type": "string"
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "debit": {
            "type": "number"
          },
          "credit": {
            "type": "number"
          },
          "memo": {
            "type": "string"
          }
        }
      }
    },
    "generatedJEs": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "journalEntryState": {
      "type": "string",
      "enum": [
        "posted",
        "not_posted",
        "void",
        "deleted",
        "missing",
        "mixed"
      ],
      "description": "Consolidated state of every journal entry owned by this event."
    },
    "journalEntryStateCounts": {
      "type": "object",
      "required": [
        "posted",
        "void",
        "deleted",
        "missing"
      ],
      "properties": {
        "posted": {
          "type": "integer",
          "minimum": 0
        },
        "void": {
          "type": "integer",
          "minimum": 0
        },
        "deleted": {
          "type": "integer",
          "minimum": 0
        },
        "missing": {
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "jeGenerationSkipped": {
      "type": "string",
      "description": "Why journal-entry generation was skipped (named blocker, unresolved accounts, or metadata-only event)."
    },
    "jeGenerationError": {
      "type": "string",
      "description": "Unexpected posting failure recorded by the residual safety net (also captured to Sentry)."
    },
    "journalSkippedOnPurpose": {
      "type": "boolean",
      "enum": [
        true
      ],
      "description": "#3864: present only when the Stripe deferral schedule skipped this journal on purpose and owns its posting; retry-post answers 409 and no retry is offered."
    },
    "payablesApItemId": {
      "type": "string",
      "format": "uuid",
      "description": "#2529: the Payables (AP) item a posted vendor bill created or linked; its initial journal entry is this event's journal entry."
    },
    "unresolvedAccounts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "createdBy": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

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/medianfi-com-business-event-wire"
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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.