Create payment v2
POST /rest/v2/subjects/accounts/:account_id/payments
Parameters
Name |
Description |
payment[d_oper]
|
Operation date
|
payment[n_amount]
|
Amount
|
payment[vc_tax_rate_code]
|
Tax rate code
|
payment[n_currency_id]
|
Currency
|
Request
Headers
Route
POST /rest/v2/subjects/accounts/50315301/payments
Body
{
"payment": {
"d_oper": "2019-07-26T10:50:00+03:00",
"n_amount": 100,
"vc_tax_rate_code": "TAX_Null",
"n_currency_id": 1044
}
}
Response
Headers
Status
201 Created
Body
{
"payment": {
"n_doc_id": 93747701,
"vc_doc_no": "КО-19/5",
"n_creator_id": 50162901,
"n_firm_id": 100,
"vc_rem": null,
"n_sum": "100",
"n_sum_tax": null,
"n_sum_wo_tax": "100",
"vc_currency": "₽ [RUB]",
"vc_currency_code": "RUB",
"vc_doc_state": "DOC_STATE_Actual",
"n_account_id": 50185501
}
}