A ledger defines a structured chart of accounts, encompassing a distinct set of accounts and transactions. It always maintains balanced entries, ensuring that total debits equal total credits.
| Attribute | Type | Description | 
|---|---|---|
| id | string | A unique identifier for the ledger. | 
| name | string | The ledger’s name. | 
| description | string | A custom description for internal reference. | 
| metadata | object | A collection of key-value pairs for storing additional information. Both keys and values must be strings. | 
| created_at | datetime | The timestamp when the ledger was initially created. | 
| updated_at | datetime | The timestamp of the most recent update to the ledger. | 
{
    "id": "04ab10ef-9183-4b15-8daf-bfe7dbc13bf4",
    "object": "ledger",
    "live_mode": true,
    "name": "General Ledger",
    "description": "test ledger",
    "metadata": {
        "test": "test"
    },
    "discarded_at": null,
    "created_at": "2025-07-14T09:04:51Z",
    "updated_at": "2025-07-14T09:04:51Z"
}