{
 "openapi": "3.1.0",
 "info": {
  "title": "Gst returns (India statutory)",
  "version": "20261030b",
  "description": "Read and maintain gst returns records (india.gst_returns)."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {
   "gst-returns": {
    "type": "object",
    "required": [],
    "properties": {
     "id": {
      "type": "string",
      "format": "uuid",
      "description": "Id",
      "readOnly": true
     },
     "org_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org id",
      "readOnly": true
     },
     "org_unit_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org unit id",
      "readOnly": true
     },
     "registration_id": {
      "type": "string",
      "format": "uuid",
      "description": "Registration id",
      "readOnly": true
     },
     "gstin": {
      "type": "string",
      "description": "Gstin",
      "readOnly": true
     },
     "return_no": {
      "type": "string",
      "description": "Return no",
      "readOnly": true
     },
     "return_type": {
      "type": "string",
      "description": "Return type",
      "readOnly": true
     },
     "period_month": {
      "type": "integer",
      "description": "Period month",
      "readOnly": true
     },
     "period_quarter": {
      "type": "integer",
      "description": "Period quarter",
      "readOnly": true
     },
     "financial_year": {
      "type": "string",
      "description": "Financial year",
      "readOnly": true
     },
     "period_start": {
      "type": "string",
      "format": "date",
      "description": "Period start",
      "readOnly": true
     },
     "period_end": {
      "type": "string",
      "format": "date",
      "description": "Period end",
      "readOnly": true
     },
     "due_date": {
      "type": "string",
      "format": "date",
      "description": "Due date",
      "readOnly": true
     },
     "status": {
      "type": "string",
      "description": "Status",
      "readOnly": true
     },
     "taxable_value": {
      "type": "string",
      "format": "decimal",
      "description": "Taxable value",
      "readOnly": true
     },
     "cgst": {
      "type": "string",
      "format": "decimal",
      "description": "Cgst",
      "readOnly": true
     },
     "sgst": {
      "type": "string",
      "format": "decimal",
      "description": "Sgst",
      "readOnly": true
     },
     "igst": {
      "type": "string",
      "format": "decimal",
      "description": "Igst",
      "readOnly": true
     },
     "cess": {
      "type": "string",
      "format": "decimal",
      "description": "Cess",
      "readOnly": true
     },
     "itc_cgst": {
      "type": "string",
      "format": "decimal",
      "description": "Itc cgst",
      "readOnly": true
     },
     "itc_sgst": {
      "type": "string",
      "format": "decimal",
      "description": "Itc sgst",
      "readOnly": true
     },
     "itc_igst": {
      "type": "string",
      "format": "decimal",
      "description": "Itc igst",
      "readOnly": true
     },
     "itc_cess": {
      "type": "string",
      "format": "decimal",
      "description": "Itc cess",
      "readOnly": true
     },
     "net_payable": {
      "type": "string",
      "format": "decimal",
      "description": "Net payable",
      "readOnly": true
     },
     "invoice_count": {
      "type": "integer",
      "description": "Invoice count",
      "readOnly": true
     },
     "filed_at": {
      "type": "string",
      "format": "date-time",
      "description": "Filed at",
      "readOnly": true
     },
     "arn": {
      "type": "string",
      "description": "Arn",
      "readOnly": true
     },
     "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Created at",
      "readOnly": true
     },
     "created_by": {
      "type": "string",
      "format": "uuid",
      "description": "Created by",
      "readOnly": true
     },
     "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Updated at",
      "readOnly": true
     },
     "updated_by": {
      "type": "string",
      "format": "uuid",
      "description": "Updated by",
      "readOnly": true
     },
     "exported_at": {
      "type": "string",
      "format": "date-time",
      "description": "Exported at",
      "readOnly": true
     },
     "xf_text_1": {
      "type": "string",
      "description": "Xf text 1",
      "readOnly": true
     },
     "xf_text_2": {
      "type": "string",
      "description": "Xf text 2",
      "readOnly": true
     },
     "xf_text_3": {
      "type": "string",
      "description": "Xf text 3",
      "readOnly": true
     },
     "xf_text_4": {
      "type": "string",
      "description": "Xf text 4",
      "readOnly": true
     },
     "xf_text_5": {
      "type": "string",
      "description": "Xf text 5",
      "readOnly": true
     },
     "xf_num_1": {
      "type": "string",
      "format": "decimal",
      "description": "Xf num 1",
      "readOnly": true
     },
     "xf_num_2": {
      "type": "string",
      "format": "decimal",
      "description": "Xf num 2",
      "readOnly": true
     },
     "xf_num_3": {
      "type": "string",
      "format": "decimal",
      "description": "Xf num 3",
      "readOnly": true
     },
     "xf_date_1": {
      "type": "string",
      "format": "date",
      "description": "Xf date 1",
      "readOnly": true
     },
     "xf_date_2": {
      "type": "string",
      "format": "date",
      "description": "Xf date 2",
      "readOnly": true
     }
    }
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/india/gst-returns": {
   "get": {
    "summary": "list gst-returns",
    "operationId": "list_gst_returns_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "post": {
    "summary": "Post gst returns",
    "operationId": "action_gst_returns_1_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/india/gst-returns/{id}": {
   "get": {
    "summary": "get gst-returns",
    "operationId": "get_gst_returns_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "put": {
    "summary": "Put gst returns",
    "operationId": "action_gst_returns_1_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "delete": {
    "summary": "Delete gst returns",
    "operationId": "action_gst_returns_2_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/india/gst-returns/{id}/copy": {
   "post": {
    "summary": "Copy",
    "operationId": "action_gst_returns_0_6",
    "description": "Body keys: overrides, preview, withLines",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}