Kelvin Lacy Posted October 23, 2021 Share Posted October 23, 2021 These three sales invoices are unpaid and there is 84.00 yet to allocate. Listing all artefacts verify this as the case. (Artefact id's shown below are obfuscated!) Can you suggest what is going wrong? Sage Call: 'https://api.accounting.sage.com/v3.1/contact_allocations' [contact_allocation] => Array ( [transaction_type_id] => CUSTOMER_ALLOCATION [contact_id] => xxxxb5201cc64b4e9c443e1d6e32b325 [date] => 2021-10-11 [allocated_artefacts] => Array (  => Array ( [artefact_id] => xxxxx03160149f887cfaa495da1150d [amount] => 14.00 )  => Array ( [artefact_id] => xxxxxxee62e604c80ae5fe1759fd8aa21 [amount] => 35.00 )  => Array ( [artefact_id] => xxxxx850a72c4c729e0e1abb5d851ee6 [amount] => 35.00 )  => Array ( [artefact_id] => xxxxx72b64d2985e48668ed24cb88 [amount] => -84 ) ) ) 2021-10-23 13:06:30DST: Sage API Response Code: 422 2021-10-23 13:06:30DST: Severity: error 2021-10-23 13:06:30DST: dataCode: RecordInvalid 2021-10-23 13:06:30DST: message: Couldn't find Sales Payable Artefact. Hope you can help, all other calls in the integration are working fine! Link to comment Share on other sites More sharing options...
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now