I have been using the API successfully to create purchase invoices and then upload a file for an affinity client of mine. All works well, except that when I go to Purchase Management / Oustanding Purchases and search by supplier, they don’t appear. If I search by supplier ref, it appears, but not the Supplier Name, despite it 100% being typed correctly (I copied and pasted supplier name from the invoice!)
If you find the purchase by reference and then click through to the supplier and edit their details, does the supplier name on that edit form exactly match what you expected - no extraneous whitespace, if there’s non-English characters or diacritics are they represented the same way with respect to things like HTML entities/character references or different Unicode normal forms etc?
Yes, that’s correct. The API uses data validation on the supplier and there are no spaces or additional characters.
Curiously, the invoice in question is for a supplier called “Epilogue”, and when i search for that, it comes up with a separate supplier’s invoices called “Epilogue Agency”, but none for “Epilogue”.
On a different test, with a supplier with 1 word, “Paybyphone”, it works perfectly and i can find the invoice no problem.
It’s almost as if the search looks for the first match it finds containing that text, and doesn’t display any of the other results that contain the same exact letters.