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
DEVELOPER CENTER