Finance settlements

Подобрать входящие УПД и их НДС для документов

Changed on

Для приёмок, доп. расходов и закупок находит входящий УПД поставщика из документооборота: тот же контрагент и номер документа поставщика, а без номера — та же сумма в пределах 30 дней. Возвращает УПД и сумму налога его строк для показа перед применением; ничего не меняет. Документы юрлиц вне доступа в ответ не попадают. Не больше 500 документов за раз.

post/api/v1/finance/settlements/vat-from-upd

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

object required
document_ids, UUID[] required

Приёмки, доп. расходы и закупки

Response

Найденные УПД

object required
items, object[] required

Changes

    • info

      added the optional property items/items/sent_to_onec to the response with the status

    • info

      added the optional property items/items/vat_applies to the response with the status

    • info

      added the optional property items/items/vat_upd_number to the response with the status