Hi Everyone,
I’m trying to add the Bank Deposit (CA305000) to a custom endpoint, however I’m struggling with getting the payment details to populate.
I have no issue with adding the Header or the charges, but I’ve tried a bunch of different ways of adding the payments without any success.
Below is how I have the endpoint at the moment however I have tried it with the AddPaymentDetail not being nested within AddPayment as well as trying to add the payments directly through Payments.
When I submit a request the record will create however the payment detail will be empty
The closest I can got to having it look like it is trying to add the payments is if I omit the DocModule property of $.AddPayment.Payments[*] then I receive the following error.
Any help here would be greatly appreciated.
Best answer by matthewgerdan
View original