---
updatedAt: 2026-06-12T14:08:37.000Z
agentTools:
  projectIndex: https://developer.crunchtime.com/llms.txt
---

# getAllGeneralLedgersV1

Retrieve all general ledger entry details.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Swagger documentation supporting mobile development of Crunchtime.",
    "version": "2.99",
    "title": "Inventory & Labor",
    "termsOfService": "http://springfox.io",
    "contact": {
      "name": "Crunchtime Development Team",
      "url": "http://www.crunchtime.com",
      "email": "apiquestions@crunchtime.com"
    },
    "license": {
      "name": "Apache License Version 2.0",
      "url": "https://github.com/springfox/springfox/blob/master/LICENSE"
    }
  },
  "tags": [
    {
      "name": "General Ledger Service",
      "description": "The General Ledger services allows the Crunchtime applications to be aligned with the company’s accounting and bookkeeping systems. General Ledger codes and descriptions are associated with P&L groupings and substructures."
    }
  ],
  "paths": {
    "/generalledger/v1/getAllGeneralLedgers": {
      "get": {
        "tags": [
          "General Ledger Service"
        ],
        "summary": "getAllGeneralLedgersV1",
        "description": "Retrieve all general ledger entry details.",
        "operationId": "getAllGeneralLedgersV1UsingGET",
        "parameters": [
          {
            "name": "authenticationtoken",
            "in": "header",
            "description": "Secure token for API authentication.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "password",
            "in": "header",
            "description": "Password for the Crunchtime Application User.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sitename",
            "in": "header",
            "description": "Crunchtime site identifier. (test or production)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userid",
            "in": "header",
            "description": "User ID for the Crunchtime Application User.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-B3-TraceId",
            "in": "header",
            "description": "Optional trace identifier for troubleshooting.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeNull",
            "in": "query",
            "description": "Specify 'true' to output null data elements.",
            "required": false,
            "allowEmptyValue": true,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "*/*": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GeneralLedgerDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GeneralLedgerDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation Error",
            "content": {
              "*/*": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ObjectError"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ObjectError"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authorization",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected Error",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "System under maintenance",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "description": "Timeout",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "externalDocs": {
    "description": "Crunchtime Developer Hub",
    "url": "https://developer.crunchtime.com/"
  },
  "servers": [
    {
      "url": "//webservices-test.net-chef.com"
    }
  ],
  "components": {
    "schemas": {
      "GeneralLedgerDto": {
        "type": "object",
        "required": [
          "allocatedExpenses",
          "glDescription",
          "glNumber",
          "glSubstructure",
          "pbiFlag",
          "plGrouping",
          "voFlag"
        ],
        "properties": {
          "active": {
            "type": "boolean"
          },
          "allocatedExpenses": {
            "type": "boolean",
            "example": false,
            "description": "\"allocatedExpenses\" from GeneralLedger setup screen."
          },
          "batchId": {
            "type": "integer",
            "format": "int64"
          },
          "glDescription": {
            "type": "string",
            "example": "#44444",
            "description": "\"glDescription\" from GeneralLedger setup screen"
          },
          "glForReport": {
            "type": "boolean"
          },
          "glNumber": {
            "type": "string",
            "example": 123456,
            "description": "\"glNumber\" from GeneralLedger setup screen"
          },
          "glNumberForCGS": {
            "type": "string",
            "example": 123456,
            "description": "\"glNumberForCGS\" from GeneralLedger setup screen.  Cost of Goods GL Code."
          },
          "glNumberForSales": {
            "type": "string",
            "example": 123456,
            "description": "\"glNumberForSales\" from GeneralLedger setup screen.  Sales GL Code."
          },
          "glSubstructure": {
            "type": "string",
            "example": "Cost of Goods",
            "description": "\"glSubstructure\" from GeneralLedger setup screen"
          },
          "pbiFlag": {
            "type": "boolean",
            "example": false,
            "description": "\"pbiFlag\" from GeneralLedger setup screen."
          },
          "plGrouping": {
            "type": "string",
            "example": "CGS",
            "description": "\"plGrouping\" from GeneralLedger setup screen"
          },
          "replicated": {
            "type": "boolean"
          },
          "voFlag": {
            "type": "boolean",
            "example": false,
            "description": "\"voFlag\" from GeneralLedger setup screen."
          }
        },
        "title": "GeneralLedgerDto"
      },
      "ObjectError": {
        "type": "object",
        "properties": {
          "arguments": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "code": {
            "type": "string"
          },
          "codes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "defaultMessage": {
            "type": "string"
          },
          "objectName": {
            "type": "string"
          }
        },
        "title": "ObjectError"
      }
    }
  }
}
```