Codat · Schema

Commerce: Company profile

In the Codat system, company profile includes standard commercial details about a linked company, such as their address, phone number, and company registration.

Unified APIAccountingIntegration

Properties

Name Type Description
companyName string The name of the company
commercePlatformRef string Identifier or reference for the company in the commerce software
companyLegalName string The full legal name of the company
addresses array Addresses associated with the company
phoneNumbers array Phone numbers associated with the company
webLinks array Weblinks associated with the company
registrationNumber string The registration number of the company
baseCurrency object
accountBalances array The available and current cash balances for the company's accounts
sourceUrls object URL addresses for the originating system. For example, potential use cases include 'deeplinking' to the originating system
View JSON Schema on GitHub

JSON Schema

codat-commercecompanyinfo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CommerceCompanyInfo",
  "title": "Commerce: Company profile",
  "description": "In the Codat system, company profile includes standard commercial details about \na linked company, such as their address, phone number, and company registration.\n",
  "type": "object",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "companyName": {
          "type": "string",
          "description": "The name of the company",
          "example": "Codat"
        },
        "commercePlatformRef": {
          "type": "string",
          "description": "Identifier or reference for the company in the commerce software"
        },
        "companyLegalName": {
          "type": "string",
          "description": "The full legal name of the company",
          "example": "Codat Limited"
        },
        "addresses": {
          "type": "array",
          "description": "Addresses associated with the company",
          "items": {
            "$ref": "#/components/schemas/CommerceAddress"
          }
        },
        "phoneNumbers": {
          "type": "array",
          "description": "Phone numbers associated with the company",
          "items": {
            "$ref": "#/components/schemas/PhoneNumber"
          }
        },
        "webLinks": {
          "description": "Weblinks associated with the company",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/WebLink"
          }
        },
        "registrationNumber": {
          "description": "The registration number of the company",
          "type": "string",
          "examples": [
            10480375
          ]
        },
        "baseCurrency": {
          "$ref": "#/components/schemas/SourceAccount/properties/currency"
        },
        "accountBalances": {
          "description": "The available and current cash balances for the company's accounts",
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/CommerceCompanyInfo/definitions/accountBalance"
          }
        },
        "sourceUrls": {
          "description": "URL addresses for the originating system. For example, potential use cases include 'deeplinking' to the originating system",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "example": {
            "url1": "https://connect.sandbox.com/v2/customers",
            "url2": "https://connect.sandbox.com/v2/disputes"
          }
        }
      }
    },
    {
      "$ref": "#/components/schemas/CommerceOrder/allOf/2"
    },
    {
      "$ref": "#/components/schemas/CommerceOrder/allOf/3"
    }
  ],
  "definitions": {
    "accountBalance": {
      "title": "Account Balance",
      "type": "object",
      "x-internal": true,
      "properties": {
        "available": {
          "description": "The account's current balance",
          "type": "number",
          "format": "decimal"
        },
        "pending": {
          "description": "Funds that are not yet available in the balance",
          "type": "number",
          "format": "decimal"
        },
        "reserved": {
          "description": "Funds reserved as holdings",
          "format": "decimal"
        },
        "currency": {
          "description": "The currency of the account",
          "allOf": [
            {
              "$ref": "#/components/schemas/SourceAccount/properties/currency"
            }
          ]
        }
      }
    }
  }
}

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/codat-commercecompanyinfo"
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.