Codat · Schema

Accounting: Supplier

## Overview From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/lending-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/lending-api#/schemas/Bill).

Unified APIAccountingIntegration

Properties

Name Type Description
id string Identifier for the supplier, unique to the company in the accounting software.
supplierName string Name of the supplier as recorded in the accounting system, typically the company name.
contactName string Name of the main contact for the supplier.
emailAddress string Email address that the supplier may be contacted on.
phone string Phone number that the supplier may be contacted on.
addresses array An array of Addresses.
registrationNumber string Company number of the supplier. In the UK, this is typically the company registration number issued by Companies House.
taxNumber string Supplier's company tax number.
status object
defaultCurrency string Default currency the supplier's transactional data is recorded in.
metadata object
supplementalData object
View JSON Schema on GitHub

JSON Schema

codat-accountingsupplier-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccountingSupplier",
  "title": "Accounting: Supplier",
  "description": "## Overview\n\nFrom the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/lending-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/lending-api#/schemas/Bill).",
  "type": "object",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Identifier for the supplier, unique to the company in the accounting software."
        },
        "supplierName": {
          "type": "string",
          "nullable": true,
          "description": "Name of the supplier as recorded in the accounting system, typically the company name."
        },
        "contactName": {
          "type": "string",
          "nullable": true,
          "description": "Name of the main contact for the supplier."
        },
        "emailAddress": {
          "type": "string",
          "nullable": true,
          "description": "Email address that the supplier may be contacted on."
        },
        "phone": {
          "type": "string",
          "nullable": true,
          "description": "Phone number that the supplier may be contacted on.",
          "examples": [
            "+44 25691 154789",
            "(877) 492-8687",
            "01224 658 999"
          ]
        },
        "addresses": {
          "type": "array",
          "nullable": true,
          "description": "An array of Addresses.",
          "items": {
            "$ref": "#/components/schemas/AccountingAddress"
          }
        },
        "registrationNumber": {
          "type": "string",
          "nullable": true,
          "description": "Company number of the supplier. In the UK, this is typically the company registration number issued by Companies House."
        },
        "taxNumber": {
          "type": "string",
          "nullable": true,
          "description": "Supplier's company tax number."
        },
        "status": {
          "$ref": "#/components/schemas/AccountingSupplier/definitions/supplierStatus"
        },
        "defaultCurrency": {
          "type": "string",
          "nullable": true,
          "description": "Default currency the supplier's transactional data is recorded in."
        },
        "metadata": {
          "$ref": "#/components/schemas/Metadata"
        },
        "supplementalData": {
          "$ref": "#/components/schemas/SupplementalData"
        }
      }
    },
    {
      "$ref": "#/components/schemas/CommerceOrder/allOf/3"
    }
  ],
  "required": [
    "status"
  ],
  "definitions": {
    "supplierRef": {
      "title": "Supplier reference",
      "description": "Reference to the supplier the record relates to.",
      "type": "object",
      "properties": {
        "id": {
          "minLength": 1,
          "type": "string",
          "description": "The supplier's unique ID"
        },
        "supplierName": {
          "type": "string",
          "nullable": true,
          "description": "The supplier's name"
        }
      },
      "required": [
        "id"
      ]
    },
    "supplierStatus": {
      "description": "Status of the supplier.",
      "type": "string",
      "enum": [
        "Unknown",
        "Active",
        "Archived"
      ]
    }
  },
  "examples": [
    {
      "id": "C520FFD4-F6F6-4FC2-A6D2-5D7088B2B14F",
      "supplierName": "Kelly's Industrial Supplies",
      "contactName": "Kelly's Industrial Supplies",
      "emailAddress": "sales@kellysupplies.com",
      "phone": "07999 999999",
      "addresses": [
        {
          "type": "Billing",
          "line1": "Unit 51",
          "line2": "Bakersfield Industrial Estate",
          "city": "Bakersfield",
          "region": "California",
          "country": "USA",
          "postalcode": "93308"
        }
      ],
      "registrationNumber": "string",
      "taxNumber": "string",
      "status": "Unknown",
      "defaultCurrency": "string",
      "metadata": {
        "isDeleted": true
      },
      "supplementalData": {
        "content": {
          "property1": {
            "property1": null,
            "property2": null
          },
          "property2": {
            "property1": null,
            "property2": null
          }
        }
      },
      "modifiedDate": "2022-10-23T00:00:00Z",
      "sourceModifiedDate": "2022-10-23T00:00:00Z"
    }
  ]
}

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-accountingsupplier"
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.