SCube Finance Analyst Pro

SCube Finance Analyst Pro · Actions GPT

Zoho Books API

  • GET /invoicesFetch list of invoices
Schéma original API
{
  "openapi": "3.0.3",
  "info": {
    "title": "Zoho Books API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://books.zoho.eu/api/v3"
    }
  ],
  "paths": {
    "/invoices": {
      "get": {
        "operationId": "getInvoices",
        "summary": "Fetch list of invoices",
        "parameters": [
          {
            "name": "organization_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "invoices": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "invoice_id": {
                            "type": "string"
                          },
                          "customer_name": {
                            "type": "string"
                          },
                          "total": {
                            "type": "number"
                          },
                          "status": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {},
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://accounts.zoho.eu/oauth/v2/auth",
            "tokenUrl": "https://accounts.zoho.eu/oauth/v2/token",
            "scopes": {
              "ZohoBooks.fullaccess.all": "Full access to Zoho Books API"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "OAuth2": [
        "ZohoBooks.fullaccess.all"
      ]
    }
  ]
}