Update Payment Check or Voucher

PUT /api/.../invoices/paymenthistory

Update invoice payment history check or voucher data. Pass in Dto containing the payment data.

Request Information

Parameters
Name Type Required Description
dto DtoAcqPaymentHistoryCheckVoucherData Yes Define this parameter in the request body.
DtoAcqPaymentHistoryCheckVoucherData
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.
Example
application/json, text/json
    {
      "PaymentHistoryID": 1,
      "CheckVoucherDate": "2021-06-30T05:14:08.478Z",
      "CheckVoucherNumber": "123",
      "PaymentType": 2
    }

Response Information

True is returned upon success.

Example
application/json, text/json
true

HTTP Response Codes

Code Description
200 OK. Success