SerenAI

Pay Per Call Agentic Commerce

Invoice

Invoice response with line items

Properties

PropertyTypeRequiredDescription
id string Yes
invoice_number string Yes
line_items Array<InvoiceLineItem> Yes
organization_id string Yes
period_end string Yes
period_start string Yes
status string Yes
subtotal_usd string Yes
tax_usd string Yes
total_usd string Yes
View JSON Schema
{
  "type": "object",
  "description": "Invoice response with line items",
  "required": [
    "id",
    "organization_id",
    "invoice_number",
    "period_start",
    "period_end",
    "subtotal_usd",
    "tax_usd",
    "total_usd",
    "status",
    "line_items"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "invoice_number": {
      "type": "string"
    },
    "line_items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/InvoiceLineItem"
      }
    },
    "organization_id": {
      "type": "string",
      "format": "uuid"
    },
    "period_end": {
      "type": "string"
    },
    "period_start": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "subtotal_usd": {
      "type": "string"
    },
    "tax_usd": {
      "type": "string"
    },
    "total_usd": {
      "type": "string"
    }
  }
}