Procurify · Schema

AccountCodeCreateRequest

Spend ManagementProcurementPurchase OrdersAccounts PayableVendor ManagementBudget TrackingProcure-to-PayERP Integration

Properties

Name Type Description
code string
description string
parent integer
account_type object
departments array
View JSON Schema on GitHub

JSON Schema

accountcodecreaterequest.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "AccountCodeCreateRequest",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50
    },
    "description": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "parent": {
      "type": "integer",
      "nullable": true
    },
    "account_type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccountTypeEnum"
        }
      ],
      "minimum": -2147483648,
      "maximum": 2147483647
    },
    "departments": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    }
  },
  "required": [
    "code",
    "description"
  ]
}