Finance exchange

Получить документ реестра со справкой Акеды

Changed on

Строка реестра и справка Акеды по документу: контрагент, договор, суммы, НДС, статья и как документ лёг в главную книгу (только основная книга). Чего в документе нет, то пусто.

get/api/v1/finance/accounting-registry/{id}

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

Документ реестра со справкой

FinanceAccountingEntryCard required
id, string uuid required
company_id, string uuid required
company_name, string required
connection_id, string uuid required
accounting_mode, '' | 'in_onec' | 'in_akeda' required

Где работает бухгалтер: пусто — как раньше, ничего не меняется; in_onec — «Бухгалтер в 1С»; in_akeda — «Бухгалтер в Акеде»

document_id, string uuid required
document_kind, string required
document_number, string required
document_date, string date required
contact_inn, string required
contact_name, string required
amount, string required
status, 'new' | 'sent' | 'accepted' | 'rejected' | 'not_required' required

new — новый, sent — отправлен, accepted — принят в учёт, rejected — отклонён, not_required — не требует бухучёта

onec_number, string required
onec_ref, string required
reject_reason, string required
decided_by, integer
decided_by_name, string required
decided_at, string date-time
changed_after_accept, boolean required
onec_amount_mismatch, string
file_exported_at, string date-time
file_exported_by, integer
file_exported_by_name, string
awaiting_send, boolean

Взят в учёт, ждёт отправки в 1С

send_error, string

Отказ 1С по документу, ждущему отправки: текст 1С или код отметки журнала обмена

send_attempts, integer

Сколько раз документ отправляли в 1С; без отказа 0

send_next_at, string date-time

Когда обмен повторит отправку сам; только у взятого в учёт с отказом 1С

created_at, string date-time required
updated_at, string date-time required
reference, FinanceAccountingReference required

Справка Акеды по документу: чтение документа и основной книги, своих цифр нет. Чего в документе нет, то пусто.

Changes

    • info

      added the optional property send_attempts to the response with the status

    • info

      added the optional property send_next_at to the response with the status

    • info

      added the optional property awaiting_send to the response with the status

    5 more changes in this revision