Agave · Schema

Invoice

An accounts payable invoice.

AccountingConstructionIntegration

Properties

Name Type Description
id string Invoice identifier.
project_id string Associated project identifier.
vendor_id string Vendor who issued the invoice.
invoice_number string Vendor invoice number.
amount number Invoice total amount in USD.
status string Invoice processing status.
invoice_date string Invoice date.
due_date string Invoice due date.
View JSON Schema on GitHub

JSON Schema

unified-api-invoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/agave/refs/heads/main/json-schema/unified-api-invoice-schema.json",
  "title": "Invoice",
  "description": "An accounts payable invoice.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Invoice identifier.",
      "example": "inv-667788"
    },
    "project_id": {
      "type": "string",
      "description": "Associated project identifier.",
      "example": "proj-500123"
    },
    "vendor_id": {
      "type": "string",
      "description": "Vendor who issued the invoice.",
      "example": "ven-334455"
    },
    "invoice_number": {
      "type": "string",
      "description": "Vendor invoice number.",
      "example": "INV-2025-1042"
    },
    "amount": {
      "type": "number",
      "description": "Invoice total amount in USD.",
      "example": 85000.0
    },
    "status": {
      "type": "string",
      "description": "Invoice processing status.",
      "enum": [
        "draft",
        "submitted",
        "approved",
        "paid",
        "rejected"
      ],
      "example": "approved"
    },
    "invoice_date": {
      "type": "string",
      "format": "date",
      "description": "Invoice date.",
      "example": "2025-03-01"
    },
    "due_date": {
      "type": "string",
      "format": "date",
      "description": "Invoice due date.",
      "example": "2025-03-31"
    }
  }
}