Core ledger
Создать клиентский счёт поверх системного плана
Changed onСоздаёт клиентский счёт в дополнение к системному плану счетов.
post/api/v1/core/gl-accounts
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
- or HTTP bearer
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Core GLAccount Create required
code, string required
name, string required
type, 'asset' | 'liability' | 'equity' | 'income' | 'expense' required
parent_id, string uuid
affects_pnl, boolean
Ignored; server derives it from type
affects_cashflow, boolean
Response
Созданный счёт
Core GLAccount required
id, string uuid required
code, string required
name, string required
type, 'asset' | 'liability' | 'equity' | 'income' | 'expense' required
parent_id, string uuid
is_active, boolean required
is_system, boolean required
affects_pnl, boolean required
opening_input, 'free' | 'contact' | 'employee' | 'stock' | 'money' required
affects_cashflow, boolean required
created_at, string date-time required
updated_at, string date-time required
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
3 more changes in this revision
- info