Jump to content

API: Payment allocated_artifacts not working as documented


 Share

Recommended Posts

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?

Screenshot 2022-03-23 at 11.09.13.png

Screenshot 2022-03-23 at 11.09.00.png

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...