Finance registers

Взять получателя ЕНС образцом с платежа

Changed on

Дописывает в настройку раздела ИНН и счёт получателя выбранной банковской операции — эталонного платежа на единый налоговый счёт. Остальные платежи этому получателю по статьям налогов станут пополнениями ЕНС.

post/api/v1/finance/taxes/settings/recipients

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Headers

X-Tenant, string required

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

Request body

FinanceTaxRecipientFromPaymentInput required
transaction_id, string uuid required

Response

Настройка с новым получателем

FinanceTaxSettings required

Настройка раздела «Налоги».

payment_item_ids, string[] required

Статьи ДДС платежей налогов в порядке выбора; пусто — не настроены

ens_recipients, FinanceTaxRecipient[] required

Получатели единого налогового счёта

auto_create, boolean required

Черновик «Налогов за месяц» заводится сам по итогам месяца

auto_post, boolean required

Созданный документ и декларации из 1С проводятся сразу

defaults, boolean

Настройку не сохраняли — действуют значения по умолчанию (все статьи вида «Налоги», получатель ЕНС — Казначейство России)

cfo_id, string

ЦФО налогов: «Налоги за месяц» ложатся в ОПиУ с ним; пусто — без ЦФО

Changes

    • info

      added the optional property cfo_id to the response with the status

    • info

      added the optional property defaults to the response with the status

    • info

      added the required property auto_create to the response with the status

    1 more change in this revision