Apideck · Schema

LedgerAccountsFilter

IntegrationsUnified API

Properties

Name Type Description
name string Filter by ledger account name
updated_since string
classification string Filter by account classification.
View JSON Schema on GitHub

JSON Schema

apideck-ledgeraccountsfilter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LedgerAccountsFilter",
  "title": "LedgerAccountsFilter",
  "type": "object",
  "x-apideck-schema-id": "LedgerAccountsFilter",
  "example": {
    "updated_since": "2020-09-30T07:43:32.000Z",
    "classification": "asset",
    "name": "Sales"
  },
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "Filter by ledger account name",
      "example": "Sales"
    },
    "updated_since": {
      "type": "string",
      "title": "Updated since (timestamp)",
      "format": "date-time",
      "example": "2020-09-30T07:43:32.000Z"
    },
    "classification": {
      "type": "string",
      "title": "Classification",
      "description": "Filter by account classification.",
      "x-apideck-enum-id": "ledger-accounts.classification",
      "enum": [
        "asset",
        "equity",
        "expense",
        "liability",
        "revenue",
        "income",
        "other_income",
        "other_expense",
        "costs_of_sales",
        "other"
      ],
      "example": "asset"
    }
  },
  "additionalProperties": false
}