Invoice & Receipt Organizer

Invoice & Receipt Organizer · Ações GPT

Invoice data storing API

API provides endpoints to save invoice information to the google spreadsheet.

  • POST /macros/s/AKfycbwBeS4u1ZkLAnBOU46uMd2FXwQJ65uxxfHmf88lmrGnXnd1AV3Ef-9uXlsNWE1erTyQ/execEndpoint for storing invoice data in the google spreadsheet.

    This endpoint allows to store invoice data in the google spreadsheet.

Esquema API original
{
  "openapi": "3.0.3",
  "info": {
    "title": "Invoice data storing API",
    "description": "API provides endpoints to save invoice information to the google spreadsheet.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://script.google.com"
    }
  ],
  "paths": {
    "/macros/s/AKfycbwBeS4u1ZkLAnBOU46uMd2FXwQJ65uxxfHmf88lmrGnXnd1AV3Ef-9uXlsNWE1erTyQ/exec": {
      "post": {
        "x-openai-isConsequential": false,
        "summary": "Endpoint for storing invoice data in the google spreadsheet.",
        "description": "This endpoint allows to store invoice data in the google spreadsheet.",
        "operationId": "storeInvoiceDataInSpreadsheet",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "sessionId",
                  "invoice"
                ],
                "properties": {
                  "sessionId": {
                    "type": "string",
                    "description": "Users's current session uuid, generated by chat"
                  },
                  "googleSpreadsheetUrl": {
                    "type": "string",
                    "description": "The URL of the google spreadsheet where the invoice data will be stored."
                  },
                  "invoice": {
                    "description": "The invoice data to be stored in the google spreadsheet."
                  }
                }
              },
              "example": {
                "googleSpreadsheetUrl": "https://docs.google.com/spreadsheets/d/1tYlWQqVcWQWZ9oVYXnU1QW0JL2Ww4dNf/edit#gid=0",
                "invoice": {}
              }
            }
          },
          "required": true
        },
        "deprecated": false
      }
    }
  }
}