Finance registers

Сохранить черновик «Налоги за месяц»

Changed on

Один документ на юрлицо в месяц, датой последнего дня месяца. Строки начислений вносит человек (сумма со знаком — уменьшение по декларации со знаком «минус»); пополнения ЕНС за месяц сервер собирает сам по настройке раздела.

post/api/v1/finance/taxes/months

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

FinanceTaxMonthInput required

Новый черновик «Налоги за месяц».

company_id, string uuid
year, integer
month, integer
lines, FinanceTaxMonthLine[]
opening, string nullable

Сальдо ЕНС на начало учёта — только в первом документе юрлица; плюс — долг, минус — переплата

comment, string nullable

Response

Сохранённый черновик

FinanceTaxMonth required

Документ «Налоги за месяц».

id, string uuid required
number, string required
date, string date required

Последний день месяца

status, string required

Статус документа

company_id, string required

Юрлицо

comment, string required
updated_at, string required
payload, FinanceTaxMonthPayload required

Changes

    • warning

      added the new ausn_injury enum value to the payload/lines/items/source response property for the response status

    • warning

      added the new export_vat enum value to the payload/lines/items/source response property for the response status

    • warning

      added the new vat_month enum value to the payload/lines/items/source response property for the response status

    21 more changes in this revision