Procurify · Schema

RequisitionLineCreateRequest

Spend ManagementProcurementPurchase OrdersAccounts PayableVendor ManagementBudget TrackingProcure-to-PayERP Integration

Properties

Name Type Description
item_name string
vendor_name string
account_code string
unit_price string
quantity string
unit string
currency_code string
custom_fields array
View JSON Schema on GitHub

JSON Schema

requisitionlinecreaterequest.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "RequisitionLineCreateRequest",
  "type": "object",
  "properties": {
    "item_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "vendor_name": {
      "type": "string",
      "minLength": 1
    },
    "account_code": {
      "type": "string",
      "minLength": 1
    },
    "unit_price": {
      "type": "string",
      "format": "decimal",
      "pattern": "^-?\\d{0,13}(?:\\.\\d{0,8})?$"
    },
    "quantity": {
      "type": "string",
      "format": "decimal",
      "pattern": "^-?\\d{0,10}(?:\\.\\d{0,5})?$"
    },
    "unit": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30
    },
    "currency_code": {
      "type": "string",
      "minLength": 1
    },
    "custom_fields": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LineItemCustomFieldRequest"
      }
    }
  },
  "required": [
    "account_code",
    "currency_code",
    "custom_fields",
    "item_name",
    "quantity",
    "unit",
    "unit_price",
    "vendor_name"
  ]
}