Create payments endpoint failing to allow payment to work with Xero integration
Posted: Thu Feb 02, 2023 12:43 am
Hi Simpro Dev Team
I am adding a payment via the API, see the request and receipt below. But when we go to sync that payment (which fully matches the invoice in Simpro, it gives an error with the Xero integration "More than one matching invoice found for payment. Cannot apply payment."
I have recorded a detailed video showing each step and demonstrating the issue as I have reproduced it for this video. No confidential info is shown in the video, I just demonstrate the error. https://d.pr/v/G3zrOo/MgTbaz29va.
Build URL: audem.simprosuite.com
API call:
Any help would be amazing, as I do not think there is anything we can do to fix this.
Thanks
Matthew
I am adding a payment via the API, see the request and receipt below. But when we go to sync that payment (which fully matches the invoice in Simpro, it gives an error with the Xero integration "More than one matching invoice found for payment. Cannot apply payment."
I have recorded a detailed video showing each step and demonstrating the issue as I have reproduced it for this video. No confidential info is shown in the video, I just demonstrate the error. https://d.pr/v/G3zrOo/MgTbaz29va.
Build URL: audem.simprosuite.com
API call:
Code: Select all
{
"Payment": {
"PaymentMethod": 16,
"DepositAccount": "Stripe (via Jotform)",
"Date": "2023-02-02",
"FinanceCharge": 0.32,
"CheckNo": "pi_3MWqUKEDZ9ldJXcj0w98pVdC",
"Details": "Paid via stripe via jotform"
},
"Notes": "Paid via stripe via jotform",
"Invoices": [
{
"Invoice": 407536,
"Amount": 1.00
}
]
}
Thanks
Matthew