{
  "name": "send_invoice",
  "label": "Send Invoice",
  "description": "Sends an approved invoice to the customer in Zync.",
  "type": "action",
  "connection": { "$ref": "#/connection" },
  "parameters": [
    { "name": "invoice_id", "label": "Invoice ID", "type": "text", "required": true }
  ],
  "interface": {
    "output": [
      { "name": "id", "label": "Invoice ID", "type": "text" },
      { "name": "status", "label": "Status", "type": "text" },
      { "name": "invoice_number", "label": "Invoice Number", "type": "text" },
      { "name": "total", "label": "Total", "type": "text" },
      { "name": "updated_at", "label": "Updated At", "type": "date" }
    ]
  }
}
