Skip to main content
PATCH
/
api
/
v1
/
accounting
/
accounts
/
{account_id}
Actualizar cuenta contable
curl --request PATCH \
  --url https://api.lapyme.com.ar/api/v1/accounting/accounts/{account_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "name": "<string>",
  "code": "<string>",
  "description": "<string>",
  "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "is_postable": true,
  "is_active": true,
  "is_inflation_adjustable": true
}
'
{
  "request_id": "<string>",
  "data": {
    "object": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "code": "<string>",
    "name": "<string>",
    "description": "<string>",
    "is_active": true,
    "is_postable": true,
    "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "is_inflation_adjustable": true
  }
}

Authorizations

Authorization
string
header
required

Incluí tu API key en el header Authorization con el prefijo Bearer.

Headers

Idempotency-Key
string
required

Clave estable para deduplicar reintentos de la misma operación.

Path Parameters

account_id
string<uuid>
required

Body

application/json
name
string
code
string | null
description
string | null
type
enum<string>
Available options:
asset,
liability,
equity,
revenue,
expense
parent_id
string<uuid> | null
is_postable
boolean
is_active
boolean
income_statement_category
enum<string> | null
Available options:
revenue,
cogs,
operating_expense,
depreciation_amortization,
other_operating_income,
other_operating_expense,
financial_income,
financial_expense,
income_tax
system_role
enum<string> | null
Available options:
ar,
ap,
vat_credit,
vat_debit,
revenue,
cogs,
merchandise,
values_to_deposit,
cash_in_transit,
deferred_checks_payable,
bounced_checks,
check_discount_expense,
card_pending,
card_commission,
cash_differences,
customer_advances,
supplier_advances,
wh_vat_suffered,
iibb_credits_suffered,
wh_income_tax_suffered,
wh_suss_suffered,
wh_stamps_suffered,
wh_vat_payable,
wh_iibb_payable,
wh_income_tax_payable,
wh_suss_payable,
perc_vat_suffered,
perc_vat_payable,
perc_iibb_payable,
purchases_non_taxable,
sales_non_taxable,
discounts_received,
taxes_expense,
misc_expense,
stock_adjustment_positive,
stock_adjustment_negative,
exchange_difference,
recpam,
fiscal_year_result,
capital_adjustment
is_inflation_adjustable
boolean

Response

Cuenta actualizada

request_id
string
required
data
object
required