Body:
- uuid (string): UUID платежу
- number? (string): Номер документа
- comment? (string): Коментар
- responsible? (string): UUID відповідального
- author? (string): UUID автора
- status? (string): UUID статусу
- paymentEntity? (string): UUID платіжної сутності
- commission? (number): Комісія
- currency? (string): UUID валюти
- date? (string): Дата документа
- paymentDetails? (array): Деталі платежу
- invoiceForSupplierPayment (string): UUID замовлення постачальника
- payed (number): Сума платежу
- calculationRate? (number): Курс розрахунку
Response:
{
"success": true,
"data": {
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"number": "…",
"currency": null,
"date": "…",
"comment": "…",
"name": "…",
"counterparty": null,
"author": null,
"organization": null,
"status": null,
"documentSum": 1,
"paymentEntity": "123e4567-e89b-12d3-a456-426614174000",
"responsible": null,
"commission": 1,
"sum": 1,
"remainder": 1,
"exchangeRateDifference": 1,
"paymentDetails": [
{
"contract": "123e4567-e89b-12d3-a456-426614174000",
"invoiceForSupplierPayment": "123e4567-e89b-12d3-a456-426614174000",
"currency": "123e4567-e89b-12d3-a456-426614174000",
"calculationRate": 1,
"payed": 1,
"payedInContractCurrency": 1,
"debt": 1,
"exchangeRateDifference": 1
}
]
}
}