Agave · JSON Structure

Unified Api Invoice Structure

An accounts payable invoice.

Type: object Properties: 8
AccountingConstructionIntegration

Invoice is a JSON Structure definition published by Agave, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id project_id vendor_id invoice_number amount status invoice_date due_date

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/agave/refs/heads/main/json-structure/unified-api-invoice-structure.json",
  "name": "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": "double",
      "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": "date",
      "description": "Invoice date.",
      "example": "2025-03-01"
    },
    "due_date": {
      "type": "date",
      "description": "Invoice due date.",
      "example": "2025-03-31"
    }
  }
}