Referencia de APIAccounting / Chart Of Accounts Update Chart Of Accounts
PATCH /v1/chart-of-accounts • validated by `patchChartAccount`
← Back to full API referencePATCH/v1/chart-of-accountsAuthentication required
- Requires organization permissions for this resource.
- Validated by Zod schema: patchChartAccount.
Request details
Path params
No path parameters for this endpoint.
Query params
No explicit query schema was captured for this endpoint.
Body fields
id (required)
Type: number
name
Type: string
code
Type: string
type
z.enum without literal array values
category
Type: enum
Example: REAL
parentAccountId
Type: number
description
Type: string
isActive
Type: boolean
dataSources
Type: array
Example:
dataSources[] (required)
Type: object
dataSources[].id
Type: string
dataSources[].type (required)
Type: enum
Example: INVOICES
dataSources[].operation (required)
Type: enum
Example: ADD
dataSources[].config
Type: object
dataSources[].config.invoice
Type: object
dataSources[].config.invoice.sourceField (required)
Type: enum
Example: amount
dataSources[].config.invoice.isSell (required)
Type: boolean
dataSources[].config.resources
Type: object
dataSources[].config.resources.ids
Type: array
Example:
dataSources[].config.resources.ids[] (required)
Type: number
dataSources[].config.resources.types
Type: array
Example:
dataSources[].config.resources.types[] (required)
Enum-like validator generated by zodFromObj
dataSources[].config.chartAccounts
Type: object
dataSources[].config.chartAccounts.ids
Type: array
Example:
dataSources[].config.chartAccounts.ids[] (required)
Type: number
dataSources[].config.commissions
Type: object
dataSources[].config.commissions.isSell
Type: boolean
dataSources[].config.manual
Type: object
dataSources[].config.manual.amount
Type: number
Test this endpoint now
Use your own credentials and execute a live request directly from this page.
2. Select endpoint
PATCH/v1/chart-of-accountsAuthentication required
Group: Accounting / Chart Of Accounts
PATCH /v1/chart-of-accounts • validated by `patchChartAccount`
- Requires organization permissions for this resource.
- Validated by Zod schema: patchChartAccount.
3. Prepare request payload
4. Server response
Run a request to inspect the real-time response for your environment.