Finance exchange

Записать реквизиты выплаты из ЗУП

Changed on

Перечитывает 1С:ЗУП и записывает в карточки сотрудников счёт и БИК строк со статусом update одной транзакцией. Значение ЗУП заменяет введённое вручную; пустое в ЗУП ничего не стирает; неоднозначные строки не пишутся. Ответ — тот же план, applied — сколько карточек изменено. Нужно право core.employee_requisites:write.

post/api/v1/finance/exchange/onec/connections/{id}/payout-requisites

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

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

Итог записи реквизитов

FinanceOneCPayoutRequisitesPlan required

Реквизиты выплаты зарплаты из 1С:ЗУП по подключению юрлица

connection_id, string uuid required
company_id, string uuid required
company_name, string required

Юрлицо подключения

rows, FinanceOneCPayoutRequisitesRow[] required
to_update, integer required

Строк, которые поменяют карточку

same, integer required

Строк, где карточка уже совпадает с ЗУП

skipped, integer required

Строк, которые не пишутся

applied, integer required

Карточек изменено; в предпросмотре 0

Changes

    • info

      added the optional property rows/items/current_snils to the response with the status

    • info

      added the optional property rows/items/snils to the response with the status

    • info

      added the optional property rows/items/snils_reason to the response with the status

    2 more changes in this revision