i am not able create check after upgrade acumatica in october 2024
got this error
{"message":"The request is invalid.","modelState":{"":["An exception occurred during input parsing"]}}
please suggest me but missing
my endpoint
https://local//entity/Acumatica/1.0.3/Check
json body this
{"CuryOrigDocAmt":{"value":0},"CashAccount":{"value":"10060"},"Type":{"value":"Check"},"Vendor":{"value":"V001097"},"CurrencyID":{"value":"USD"},"Hold":{"value":false},"PaymentAmount":{"value":10.19},"PaymentMethod":{"value":"CREDITCARD"},"Details":[{"CashAccount":{"value":"10060"},"PostPeriod":{"value":"102024"},"BranchID":{"value":null},"InventoryID":{"value":null},"OrderQty":{"value":0},"WarehouseID":{"value":null},"AmountPaid":{"value":10.19},"Balance":{"value":10.19},"CashDiscountBalance":{"value":null},"DocType":{"value":"Bill"},"ReferenceNbr":{"value":"001301"}}],"PostPeriod":{"value":"102024"}}
i am not able create check for bill through rest api after upgrade acumatica
Best answer by jinin
Hi
We can create the check using the Acumatica default endpoint. Please refer to the sample of the endpoint below,
Url: /entity/Default/22.200.001/Check
Method: Put
Request:
{
"CashAccount": {
"value": "10200"
},
"Description": {},
"Hold": {
"value": true
},
"PaymentAmount": {
"value": 10
},
"PaymentMethod": {
"value": "CHECK"
},
"PaymentRef": {},
"ReferenceNbr": {
"value": "002329"
},
"Status": {
"value": "On Hold"
},
"Type": {
"value": "Payment"
},
"Vendor": {
"value": "ATDSECUR"
},
"Details": [
{
"AmountPaid": {
"value": 10
},
"CashAccount": {
"value": "10200"
},
"DocType": {
"value": "Bill"
},
"ReferenceNbr": {
"value": "003647"
}
}
]
}

Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.