Divvy · Schema
BillApprovalPolicyRequestDto
Create a bill approval policy
CompanyPaymentsSpend ManagementCorporate CardsExpense ManagementFintechBills
Properties
| Name | Type | Description |
|---|---|---|
| policyName | string | Bill approval policy name |
| rules | array | Bill approval policy rules. You can set multiple rules for a policy. **Note**: Policy rules are applied in the specified order. |
| approvers | array | List of approvers. For each approver, set the BILL-generated ID of the user. The value begins with `006`. **Note**: BILL requests approvals in the specified order. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/divvy/json-schema/divvy-bill-approval-policy-request-dto-schema.json",
"title": "BillApprovalPolicyRequestDto",
"description": "Create a bill approval policy",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/divvy-bill-approvals-api-openapi.yml#/components/schemas/BillApprovalPolicyRequestDto",
"required": [
"approvers",
"policyName",
"rules"
],
"type": "object",
"properties": {
"policyName": {
"type": "string",
"description": "Bill approval policy name"
},
"rules": {
"type": "array",
"description": "Bill approval policy rules. You can set multiple rules for a policy.\n\n**Note**: Policy rules are applied in the specified order.",
"items": {
"$ref": "#/$defs/BillApprovalPolicyCreateRuleDto"
}
},
"approvers": {
"type": "array",
"description": "List of approvers. For each approver, set the BILL-generated ID of the user. The value begins with `006`.\n\n**Note**: BILL requests approvals in the specified order.",
"items": {
"type": "string"
}
}
},
"$defs": {
"BillApprovalPolicyCreateRuleDto": {
"type": "object",
"properties": {
"key": {
"allOf": [
{
"$ref": "#/$defs/RuleKeyCreateDto"
},
{
"description": "Rule key.\n\n**Note**: Currently, only `BILL_AMOUNT` is supported with the API."
}
]
},
"op": {
"allOf": [
{
"$ref": "#/$defs/RuleOperatorCreateDto"
},
{
"description": "Rule operator.\n* `lt`: Less than\n* `gte`: Greater than or equal to\n* `in`: Any value in a list\n"
}
]
},
"values": {
"type": "array",
"description": "Rule values",
"items": {
"type": "string"
}
}
},
"description": "Rules for a bill approval policy."
},
"RuleKeyCreateDto": {
"type": "string",
"description": "Keys for approval rules.",
"enum": [
"BILL_AMOUNT",
"BILL_LINE_ITEM_AMOUNT",
"CHART_OF_ACCOUNT_ID",
"VENDOR_ID"
]
},
"RuleOperatorCreateDto": {
"type": "string",
"description": "Operators for approval rules.",
"enum": [
"lt",
"gte",
"in"
]
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/divvy-bill-approval-policy-request-dto"
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.