Page 1 of 1

Unable to insert customer invoice payment via the API

Posted: Fri Dec 09, 2022 2:06 am
by harris
Hi team,

We have been seeing errors where we are unable to insert customer invoice payments via the API (method:CustomerPaymentInsert) , despite the invoice existing in Simpro (both in the UI and via the API using method: AccRecInvoiceRetrieve.

The API URL we use is below:
https://...simprosuite.com/api/

The API error is below:

Code: Select all

   "error": {
        "faultCode": 0,
        "faultString": "The procedure failed to execute because Argument \"Invoices\" contained the following invoice numbers that don't exist:61132"
    },
This issue only happens to some invoices, looking at the invoices to which their payments were successfully applied, we could not see meaningful differences between them which could have caused this issue.

Would you be able to assist?

Thanks
Harris

Re: Unable to insert customer invoice payment via the API

Posted: Sun Dec 11, 2022 11:07 pm
by Sindre
Hi Harris,
Could you please send me a private message with your build details as well as the endpoint URL and request body you are using and I can help you debugging the customer payment issue.

Thank you

Regards