Skip to content

Receiving a template for an expenditure Cash Flow under a contract

GET

Parameters

Path Parameters

contractId*

contractId

Type
integer
Required
Format
"int64"

Responses

OK

*/*
object
object

Account and reference number accounts . Mandatory for external DDS (if the externalAction flag is present). For internal DDS, the parameter value is taken from the directory automatically and does not need to be passed

Format"int64"
object

Amount. Specified in local and foreign currencies. If the repayment took place in only one currency (in local) - amount.foreign is indicated = 0

Cash flow type identifier:

** 101781 ** - Receipt
** 101782 ** - Expense

Format"int64"

Cashier , where the cash flow took place. The field is conditionally required, as it is transmitted only for cash payments

Format"int64"

An accountable person is an employee who is responsible for funds. Started by the system user as a client. It is used when carrying out DDS mainly of the "Expense" type, the value is taken from the reference book " clients ". Required (if the externalAction flag is present). This field is needed to provide information about the reporting person who records the expense or receipt through the cashier or bank account

Format"int64"

Comment. Optional field

Format"int64"

Maturity date in the format YYYY-MM-DD. This field is reserved for backward compatibility. It is recommended to use the dateTime field.

If only the date field is specified when creating a DDS, then the DDS will be saved without time. If both fields are specified, the dateTime field will take precedence. Since the date and time are used. The date field will be ignored in this case.

These changes are important. These changes concern auto-acceptance. If DDS is saved over time, then DDS time will be used to create transactions during auto-acceptance. If DDS was saved without time, then the current system time will be substituted during auto-acceptance

Format"date"

DDS date and time in unix timestamp format in milliseconds. See also the description of the date parameter

Format"date-time"

Sign of "external" DDS. External DDS is the movement of money that does not relate to the lending activities of the organization. The field is conditionally required

The second Cashier , through which funds were transferred during external DDS (parameter associated with cashOfficeId, however, it is only informational, does not mean automatic creation at the specified checkout). Required (if the externalAction flag is present)

Format"int64"

Payment order number, transaction number within the payment system. When creating a new DDS, it is filled in automatically, if the value is not passed

Payment method. Possible values:

** 101171 ** - non-cash payment,
** 101172 ** - cash,
** 101173 ** - other

Format"int64"

Account number from the reference banks through which the money flows. If through the cash desk (cash), then not required

Format"int64"
Valid values"error""ok"
Format"int64"