{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/moneygraph-ai/json-schema/moneygraph-ai-put-api-v1-invoice-invoice-update-invoiceid-response-schema.json",
  "title": "PutApiV1InvoiceInvoiceUpdateInvoiceidResponse",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/moneygraph-ai-openapi-generated.yml#/components/schemas/PutApiV1InvoiceInvoiceUpdateInvoiceidResponse",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Invoice updated successfully."
    },
    "status": {
      "type": "string",
      "description": "success"
    },
    "data.id": {
      "type": "string",
      "description": "Invoice ID."
    },
    "data.title": {
      "type": "string",
      "description": "Invoice number."
    },
    "data.notification_emails": {
      "type": "array",
      "description": "Recipient email addresses."
    },
    "data.currency": {
      "type": "string",
      "description": "Currency of the invoice."
    },
    "data.amount": {
      "type": "string",
      "description": "Total amount."
    },
    "data.subtotal": {
      "type": "string",
      "description": "Subtotal before discounts and taxes."
    },
    "data.due_date": {
      "type": "string",
      "description": "Due date."
    },
    "data.resend_date": {
      "type": "string",
      "description": "Resend date."
    },
    "data.memo": {
      "type": "string",
      "description": "Memo."
    },
    "data.discount_type": {
      "type": "string",
      "description": "Discount type."
    },
    "data.discount_value": {
      "type": "string",
      "description": "Discount value."
    },
    "data.tax_type": {
      "type": "string",
      "description": "Tax type."
    },
    "data.tax_value": {
      "type": "string",
      "description": "Tax value."
    },
    "data.items": {
      "type": "array",
      "description": "Line items."
    },
    "data.customer": {
      "type": "object",
      "description": "Customer details."
    },
    "data.invoice_vat_number": {
      "type": "string",
      "description": "VAT number."
    },
    "data.invoice_delivery_number": {
      "type": "string",
      "description": "Delivery note number."
    },
    "data.invoice_order_number": {
      "type": "string",
      "description": "Purchase order number."
    },
    "data.status": {
      "type": "string",
      "description": "active or disabled."
    },
    "data.paid": {
      "type": "boolean",
      "description": "Paid flag."
    },
    "data.payment_link": {
      "type": "string",
      "description": "Link to pay the invoice."
    },
    "data.created": {
      "type": "string",
      "description": "Creation timestamp."
    },
    "data.updated": {
      "type": "string",
      "description": "Last update timestamp."
    },
    "data.mode": {
      "type": "string",
      "description": "Mode (test/production)."
    }
  }
}