# Update ledger account Partially updates an existing Ledger Account. Only provided fields will be updated. Endpoint: PATCH /site/{siteId}/ahds/v1/ledger-account/{ledgerAccountId} Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier - `ledgerAccountId` (string, required) Ledger Account unique identifier (UUID) ## Request fields (application/json): - `code` (string) Practice or system-specific ledger account code. - `extensions` (object) Vendor- or practice-specific extensions. - `isActive` (boolean) Whether the ledger account is active and can be used for postings. - `name` (string) Human-readable name of the ledger account. ## Response 200 fields (application/json): - `code` (string, required) Practice or system-specific ledger account code. - `createdAt` (string, required) Timestamp when the ledger account was created. Example: "2025-01-01T00:00:00.000Z" - `extensions` (object, required) Vendor- or practice-specific extensions. - `isActive` (boolean, required) Whether the ledger account is active and can be used for postings. - `ledgerAccountId` (string, required) Canonical identifier for the ledger account. Example: "123e4567-e89b-12d3-a456-426614174000" - `name` (string, required) Human-readable name of the ledger account. - `updatedAt` (string, required) Timestamp when the ledger account was last updated. Example: "2025-01-01T00:00:00.000Z" ## Response 400 fields ## Response 401 fields ## Response 404 fields