Bill Payments
Update bill payment
Update bill payment
put/bills/{bill_header_id}/payments/{payment_voucher_id}
Path parameters
bill_header_idinteger required
Bill Id
payment_voucher_idinteger required
Payment Voucher Id
Request body
{"stackTrail":"paths:/bills/{bill_header_id}/payments/{payment_voucher_id}:put:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}
Response
Bill payment has been updated successfully.
Example response
{
"message": "Bill payment has been updated.",
"bill_payment": {
"payment_id": 1,
"payment_voucher_id": 1,
"payment_method": "Cash",
"payment_total": 400,
"payment_reference": "TXN-20231102-01",
"description": "Partial payment",
"account_id": 12,
"supplier_account_id": 97,
"date": "2021-11-02",
"bill_number": "BIL-0000001",
"comments": "Partial payment",
"created_on": "2024-09-30T10:30:02.000000Z",
"modified_on": "2024-10-02T08:25:12.000000Z"
}
}