Miday - Invoice Builder with PDF Download

Miday - Invoice Builder with PDF Download · Acciones GPT

Generate Invoice

Generates invoice.

  • POST /extension/invoice-gptgenerateInvoice

    Generate Invoice

Esquema original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Generate Invoice",
    "description": "Generates invoice.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://miday.io"
    }
  ],
  "paths": {
    "/extension/invoice-gpt": {
      "post": {
        "description": "Generate Invoice",
        "operationId": "generateInvoice",
        "parameters": [
          {
            "name": "invoice",
            "in": "query",
            "from": {
              "name": "Your Business Name",
              "contactName": "Your Name",
              "address": "Your Address",
              "phone": "Your Phone Number",
              "email": "Your Email"
            },
            "to": {
              "name": "Client Business Name",
              "contactName": "Client Name",
              "address": "Client Address",
              "phone": "Client Phone Number",
              "email": "Client Email"
            },
            "date": "Invoice Issued Date",
            "dueDate": "Invoice Due Date",
            "items": [
              {
                "description": "Line Item Description",
                "amount": "Line Item Cost",
                "quantity": "Line Item Quantity",
                "rateType": "Line Item Rate Type i.e hr, mo, etc."
              }
            ],
            "description": "Invoice details for",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}