Core ledger

Создать клиентский счёт поверх системного плана

Создаёт клиентский счёт в дополнение к системному плану счетов.

post/api/v1/core/gl-accounts

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/core/gl-accounts
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Headers

X-Tenantstring required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

codestring required
namestring required
type'asset' | 'liability' | 'equity' | 'income' | 'expense' required
parent_idstring uuid
affects_pnlboolean

Ignored; server derives it from type

affects_cashflowboolean

Response

Созданный счёт

idstring uuid required
codestring required
namestring required
type'asset' | 'liability' | 'equity' | 'income' | 'expense' required
parent_idstring uuid
is_activeboolean required
is_systemboolean required
affects_pnlboolean required
opening_input'free' | 'contact' | 'employee' | 'stock' | 'money' required
affects_cashflowboolean required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.