Divvy · Schema

BillReadResponseDto

Bills read response.

CompanyPaymentsSpend ManagementCorporate CardsExpense ManagementFintechBills

Properties

Name Type Description
id string BILL-generated ID of the bill. The value begins with `00n`.
archived boolean Set as `true` if the bill is archived
recordStatus object
vendorId string BILL-generated ID of the vendor. The value begins with `009`.
vendorName string Vendor name
fundingAmount number Bill total amount. This value is in USD.
amount number Bill total amount. For a bill in an international currency (not USD), this value is in the local currency.
paidAmount number Bill paid amount. This value is the sum of all cleared payments and any credit amount applied to the bill.
dueAmount number Bill due amount. The value is calculated by subtracting any applied credits (`creditAmount`), scheduled payment (`scheduledAmount`), and cleared payment from the bill `amount`.
scheduledAmount number Bill scheduled amount. The value is set as the vendor payment amount that is pending clearance.
creditAmount number Credit amount applied to the bill
exchangeRate number Exchange rate for the bill amount in an international currency (not USD). The BILL exchange rate changes periodically and a different rate may apply at the time of payment.
description string Bill description
dueDate string Bill due date. The value is in the `yyyy-MM-dd` format.
paymentTermId string
invoice object
billLineItems array Bill line item information
payFromChartOfAccountId string BILL-generated ID of the chart of accounts for the bill payment. The value begins with `0ca`.
paymentStatus object
approvalStatus object
createdBy string BILL-generated ID of the user that created the bill. The value begins with `006`.
createdTime string Created date and time
updatedTime string Updated date and time
classifications object
approvers array Bill approvers information
purchaseOrderNumber string Purchase order number linked with the bill
payments array Payments applied to the bill
View JSON Schema on GitHub

JSON Schema

divvy-bill-read-response-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divvy/json-schema/divvy-bill-read-response-dto-schema.json",
  "title": "BillReadResponseDto",
  "description": "Bills read response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/divvy-bills-api-openapi.yml#/components/schemas/BillReadResponseDto",
  "required": [
    "archived",
    "id",
    "vendorId",
    "vendorName"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "BILL-generated ID of the bill. The value begins with `00n`."
    },
    "archived": {
      "type": "boolean",
      "description": "Set as `true` if the bill is archived"
    },
    "recordStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/BillRecordStatus"
        },
        {
          "description": "Bill record status.\n\nWhen `recordStatus` is `ACTIVE`, `archived` is set as `false`. For any other `recordStatus` value, `archived` is set as `true`."
        }
      ]
    },
    "vendorId": {
      "type": "string",
      "description": "BILL-generated ID of the vendor. The value begins with `009`."
    },
    "vendorName": {
      "type": "string",
      "description": "Vendor name"
    },
    "fundingAmount": {
      "type": "number",
      "description": "Bill total amount. This value is in USD."
    },
    "amount": {
      "type": "number",
      "description": "Bill total amount. For a bill in an international currency (not USD), this value is in the local currency."
    },
    "paidAmount": {
      "type": "number",
      "description": "Bill paid amount. This value is the sum of all cleared payments and any credit amount applied to the bill."
    },
    "dueAmount": {
      "type": "number",
      "description": "Bill due amount. The value is calculated by subtracting any applied credits (`creditAmount`), scheduled payment (`scheduledAmount`), and cleared payment from the bill `amount`."
    },
    "scheduledAmount": {
      "type": "number",
      "description": "Bill scheduled amount. The value is set as the vendor payment amount that is pending clearance."
    },
    "creditAmount": {
      "type": "number",
      "description": "Credit amount applied to the bill"
    },
    "exchangeRate": {
      "type": "number",
      "description": "Exchange rate for the bill amount in an international currency (not USD).\n\nThe BILL exchange rate changes periodically and a different rate may apply at the time of payment."
    },
    "description": {
      "type": "string",
      "description": "Bill description"
    },
    "dueDate": {
      "type": "string",
      "description": "Bill due date. The value is in the `yyyy-MM-dd` format.",
      "format": "date"
    },
    "paymentTermId": {
      "type": "string"
    },
    "invoice": {
      "allOf": [
        {
          "$ref": "#/$defs/Invoice"
        },
        {
          "description": "Invoice information"
        }
      ]
    },
    "billLineItems": {
      "type": "array",
      "description": "Bill line item information",
      "items": {
        "$ref": "#/$defs/BillResponseLineItem"
      }
    },
    "payFromChartOfAccountId": {
      "type": "string",
      "description": "BILL-generated ID of the chart of accounts for the bill payment. The value begins with `0ca`."
    },
    "paymentStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/BillPaymentStatusDto"
        },
        {
          "description": "Bill payment status."
        }
      ]
    },
    "approvalStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/BillApprovalStatusResponse"
        },
        {
          "description": "Bill approval status."
        }
      ]
    },
    "createdBy": {
      "type": "string",
      "description": "BILL-generated ID of the user that created the bill. The value begins with `006`."
    },
    "createdTime": {
      "type": "string",
      "description": "Created date and time",
      "format": "date-time"
    },
    "updatedTime": {
      "type": "string",
      "description": "Updated date and time",
      "format": "date-time"
    },
    "classifications": {
      "allOf": [
        {
          "$ref": "#/$defs/BillClassificationsDto"
        },
        {
          "description": "General ledger classifications information for the bill"
        }
      ]
    },
    "approvers": {
      "type": "array",
      "description": "Bill approvers information",
      "items": {
        "$ref": "#/$defs/ApproverDto"
      }
    },
    "purchaseOrderNumber": {
      "type": "string",
      "description": "Purchase order number linked with the bill"
    },
    "payments": {
      "type": "array",
      "description": "Payments applied to the bill",
      "items": {
        "$ref": "#/$defs/BillPaymentDto"
      }
    }
  },
  "$defs": {
    "ApproverDto": {
      "required": [
        "userId"
      ],
      "type": "object",
      "properties": {
        "userId": {
          "type": "string",
          "description": "BILL-generated ID of the individual user or approval group.\n* **Individual user**: The value begins with `006`.\n* **Approval group**: The value begins with `agp`."
        },
        "status": {
          "allOf": [
            {
              "$ref": "#/$defs/ApproverStatusDto"
            },
            {
              "description": "Bill approver status."
            }
          ]
        },
        "approverOrder": {
          "type": "number",
          "description": "Bill approval order."
        },
        "statusChangedTime": {
          "type": "string",
          "description": "Status change date and time",
          "format": "date-time"
        }
      },
      "description": "Approver DTO."
    },
    "ApproverStatusDto": {
      "type": "string",
      "description": "Approver status DTO.",
      "enum": [
        "WAITING",
        "VIEWED",
        "REROUTED",
        "DENIED",
        "APPROVED",
        "UPCOMING",
        "STALE",
        "UNDEFINED"
      ]
    },
    "BillApprovalStatusResponse": {
      "type": "string",
      "description": "Approval status of a bill response.",
      "enum": [
        "UNASSIGNED",
        "ASSIGNED",
        "APPROVED",
        "APPROVING",
        "DENIED",
        "UNDEFINED"
      ]
    },
    "BillClassificationsDto": {
      "type": "object",
      "properties": {
        "chartOfAccountId": {
          "type": "string",
          "description": "BILL-generated ID of the chart of accounts. The value begins with `0ca`."
        },
        "accountingClassId": {
          "type": "string",
          "description": "BILL-generated ID of the accounting class. The value begins with `cls`."
        },
        "departmentId": {
          "type": "string",
          "description": "BILL-generated ID of the department. The value begins with `0de`."
        },
        "locationId": {
          "type": "string",
          "description": "BILL-generated ID of the location. The value begins with `loc`."
        },
        "itemId": {
          "type": "string",
          "description": "BILL-generated ID of the item. The value begins with `0ii`."
        }
      },
      "description": "DTO for Bill classifications."
    },
    "BillLineItemClassificationsDto": {
      "type": "object",
      "properties": {
        "chartOfAccountId": {
          "type": "string",
          "description": "BILL-generated ID of the chart of accounts. The value begins with `0ca`."
        },
        "accountingClassId": {
          "type": "string",
          "description": "BILL-generated ID of the accounting class. The value begins with `cls`."
        },
        "departmentId": {
          "type": "string",
          "description": "BILL-generated ID of the department. The value begins with `0de`."
        },
        "employeeId": {
          "type": "string",
          "description": "BILL-generated ID of the employee. The value begins with `emp`."
        },
        "jobId": {
          "type": "string",
          "description": "BILL-generated ID of the job. The value begins with `job`."
        },
        "locationId": {
          "type": "string",
          "description": "BILL-generated ID of the location. The value begins with `loc`."
        },
        "itemId": {
          "type": "string",
          "description": "BILL-generated ID of the item. The value begins with `0ii`."
        },
        "customerId": {
          "type": "string",
          "description": "BILL-generated ID of the customer. The value begins with `0cu`."
        }
      },
      "description": "DTO for Bill Line Item classifications."
    },
    "BillPaymentDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "BILL-generated ID of the payment. The value begins with `stp`."
        },
        "amount": {
          "type": "number",
          "description": "Payment amount applied to the bill"
        },
        "processDate": {
          "type": "string",
          "description": "Date the payment was processed. The value is in the `yyyy-MM-dd` format.",
          "format": "date"
        }
      },
      "description": "A single payment applied to a bill."
    },
    "BillPaymentStatusDto": {
      "type": "string",
      "description": "Payment Status of a bill.",
      "enum": [
        "PAID",
        "UNPAID",
        "PARTIALLY_PAID",
        "SCHEDULED",
        "IN_PROCESS",
        "UNDEFINED"
      ]
    },
    "BillRecordStatus": {
      "type": "string",
      "description": "Record status enum for bills.",
      "enum": [
        "ACTIVE",
        "INACTIVE",
        "DRAFT",
        "DRAFT_DELETED",
        "UNDEFINED"
      ]
    },
    "BillResponseLineItem": {
      "required": [
        "amount"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "BILL-generated ID of the bill line item. The value begins with `bli`."
        },
        "amount": {
          "type": "number",
          "description": "Bill line item amount. For a bill in an international currency (not USD), this value is in the local currency.\n\nIf you set `amount`, `quantity`, and `price`, BILL uses the `amount` value as the bill line item total amount."
        },
        "quantity": {
          "type": "number",
          "description": "Bill line item unit quantity"
        },
        "price": {
          "type": "number",
          "description": "Bill line item unit price. For a bill in an international currency (not USD), this value is in the local currency."
        },
        "description": {
          "type": "string",
          "description": "Bill line item description"
        },
        "classifications": {
          "allOf": [
            {
              "$ref": "#/$defs/BillLineItemClassificationsDto"
            },
            {
              "description": "General ledger classifications information for the bill line item"
            }
          ]
        }
      },
      "description": "Line items that define a bill's overall amount."
    },
    "Invoice": {
      "required": [
        "invoiceDate",
        "invoiceNumber"
      ],
      "type": "object",
      "properties": {
        "invoiceNumber": {
          "maxLength": 100,
          "minLength": 1,
          "type": "string",
          "description": "User-generated invoice number. This value can be your chosen number scheme or bill due date."
        },
        "invoiceDate": {
          "type": "string",
          "description": "Date when the invoice is sent. This value is in the `yyyy-MM-dd` format.",
          "format": "date"
        }
      },
      "description": "Invoice linked to a bill."
    }
  }
}

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/divvy-bill-read-response-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.