duck-creek · Schema

Invoice

Properties

Name Type Description
invoiceId string
accountId string
invoiceDate string
dueDate string
amount number
status string
View JSON Schema on GitHub

JSON Schema

duck-creek-invoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Invoice",
  "title": "Invoice",
  "type": "object",
  "properties": {
    "invoiceId": {
      "type": "string"
    },
    "accountId": {
      "type": "string"
    },
    "invoiceDate": {
      "type": "string",
      "format": "date"
    },
    "dueDate": {
      "type": "string",
      "format": "date"
    },
    "amount": {
      "type": "number"
    },
    "status": {
      "type": "string",
      "enum": [
        "DUE",
        "PAID",
        "OVERDUE",
        "VOID"
      ]
    }
  }
}