Payment (Create) api not sets Payment Date

Hello,

We are using Payment (Create) api , and passing below request, but when i check the Invoice it always show the date when payment created and not the custom date which i have set.

{
"bank_account_id": 1,
"starting_check_number": 265,
"discount_date": "2025-05-14",
"payment_date": "2025-05-14",
"post_date": "2025-05-14T00:00:00.0000000Z",
"post_date_operator": "Payment Date",
"post_status": "Not yet posted",
"invoices": [
{
"invoice_id": 2288,
"amount": 1
}
]
}

Can someone guide me on this because i wanted to set the custom payment date?

Comments