© 2024 Clarivate
PUT /api/.../invoices/paymenthistory
Update invoice payment history check or voucher data. Pass in Dto containing the payment data.
Name | Type | Required | Description |
---|---|---|---|
dto | DtoAcqPaymentHistoryCheckVoucherData | Yes | Define this parameter in the request body. |
Property | Type | Nullable | Description |
---|---|---|---|
PaymentHistoryID | Int | No | The unique id assigned to the Payment History. |
PaymentType | Int | No | The id assigned to the Payment Type. Options are 2 (Check) or 3 (Voucher). |
CheckVoucherDate | Datetime | Yes | The check or voucher date. |
CheckVoucherNumber | String | No | The check or voucher number. |
{
"PaymentHistoryID": 1,
"CheckVoucherDate": "2021-06-30T05:14:08.478Z",
"CheckVoucherNumber": "123",
"PaymentType": 2
}
True is returned upon success.
true
Code | Description |
---|---|
200 | OK. Success |