Finance settlements
Добавить версию правила авторазнесения
Changed onНовая версия правила уровня с даты действия: смена правила, исключение или его снятие (rule=inherit). Прежние версии не меняются.
post/api/v1/finance/settlements/allocation-rules
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
Finance Allocation Rule Input required
Новая версия правила авторазнесения.
business_id, string uuid required
company_id, string uuid
account_id, string uuid
contact_id, string uuid
contract_id, string uuid
side, 'receipt' | 'payout' required
rule, 'ask' | 'fifo' | 'due_date' | 'exact_amount' | 'inherit' required
valid_from, string date required
Response
Добавленная версия правила
Finance Allocation Rule required
Версия правила авторазнесения. Пустые уровни — правило не сужено.
id, string uuid
business_id, string uuid
company_id, string uuid
account_id, string uuid
contact_id, string uuid
contract_id, string uuid
side, 'receipt' | 'payout'
Поступления или выплаты
rule, 'ask' | 'fifo' | 'due_date' | 'exact_amount' | 'inherit'
Правило; inherit — как у уровня выше
valid_from, string date
Дата начала действия версии
created_by, integer
created_at, string
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
5 more changes in this revision
- info