hI @Andrew1986
I see an Known Issue in 21R1.
AC-213613: If on the Payments and Applications (AR302000) form, a user tried to release a payment for the customer with the Auto-Apply Payments check box selected in the Financial Settings section on the Financial tab of the Customers (AR303000) form, and an invoice with the date later than the payment date existed in the system, the following error occurred: Application Date cannot be less than Document Date.
Hi @Andrew1986 ,
Please try with below Json request
{
"ApplicationDate": {
"value": "2023-01-02"
},
"Branch": {
"value": "PRODWHOLE"
},
"CardAccountNbr": {},
"CashAccount": {
"value": "10200"
},
"CustomerID": {
"value": "AACUSTOMER"
},
"Description": {
"value": "w53"
},
"DocumentsToApply": "
{
"AmountPaid": {
"value": 100.0000
},
"DocType": {
"value": "Invoice"
},
"ReferenceNbr": {
"value": "AR009766"
},
}
],
"Hold": {
"value": false
},
"PaymentAmount": {
"value": 100.0000
},
"PaymentMethod": {
"value": "CASH"
},
"PaymentRef": {
"value": "453245"
},
"Type": {
"value": "Payment"
}
}