Matt Bradley Posted March 24, 2022 Posted March 24, 2022 I am attempting to pay and invoice using the API as follows: { "contact_payment":{ "transaction_type_id":"CUSTOMER_RECEIPT", "contact_id":"697a6d2bbcae4807a69c08391bb1bd7e", "bank_account_id":"237dbe9738914ebc85a2d4e6d280f342", "date":"2022-03-22T00:00:00+00:00", "total_amount":12570, "reference":"DA29443", "allocated_artifacts":[ { "artefact_id":"e82317dfc46c41f3b9bb1f43ce380ecb", "amount":"12570.00" } ] } } The payment is logged, but it is not allocated against the invoice. See attached screegrabs. Any suggestions?
Matt Bradley Posted March 24, 2022 Author Posted March 24, 2022 Solved. Node should be allocated_artefacts rather than allocated_artifacts! 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now