{ "$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-request-schema.json", "title": "InvoiceRequest", "description": "Request payload for creating an invoice.", "type": "object", "properties": { "project_id": { "type": "string", "description": "Project to associate the invoice with.", "example": "proj-500123" }, "vendor_id": { "type": "string", "description": "Vendor identifier.", "example": "ven-334455" }, "invoice_number": { "type": "string", "description": "Vendor invoice number.", "example": "INV-2025-1042" }, "amount": { "type": "number", "description": "Invoice amount in USD.", "example": 85000.0 }, "invoice_date": { "type": "string", "format": "date", "description": "Invoice date.", "example": "2025-03-01" } }, "required": [ "project_id", "vendor_id", "invoice_number", "amount", "invoice_date" ] }