Hi I want to ask what is the correct request body ...
# integrations
m
Hi I want to ask what is the correct request body for apply the payment in vendorPayment? I have tried using this
"apply": {
"items": [
{
"doc": {
"id": "57516"
},
"amount": 20000
}
]
}
But still not working, I get an error that said :
Copy code
"Error while accessing a resource. You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist."
r
Is 57516 the internal ID of an existing, open bill?
m
Yes it is