Duplicate PSA records break MSP billing. Learn why they happen and how to design writes that prevent them.

Few things frustrate an MSP like finding two agreement lines for one product. One duplicate can double a client's invoice, inflate a quantity, or send a billing coordinator into the PSA to clean up by hand. And because the integration created it, the MSP's first question is whether they can trust anything else it wrote.
Duplicates almost always come from the same few situations:
Because the PSA is where invoices come from. A duplicated agreement addition can mean a client is billed twice for the same product, or a quantity is counted double. Duplicate customers and products scatter reporting and make reconciliation harder.
Cleanup is also manual. The MSP has to work out which record is correct, merge or remove the other, and check that nothing was already invoiced. That time is a hidden cost of your integration, and it lands on your partner.
An idempotent write is one that produces the same result whether it runs once or several times. It is the single most useful idea for avoiding duplicates.
Where you can, write the final value you want, not the change you want to make.
Assume some will get through, and plan for them:
Test the situations that cause them on purpose:
MSPCentric builds PSA integrations around stable IDs, safe retries, and clear change history, so partners get the quantities they expect and nothing they have to clean up.
What causes duplicate records in a PSA integration?
The usual causes are retries after timeouts, overlapping syncs, matching on names instead of IDs, missing records that get recreated, and partners repeating setup.
What is an idempotency key?
It is a unique value sent with a request so the receiving system can recognize a repeat and ignore it. Not every PSA API supports one, so you may need to track attempts yourself.
Should an integration delete duplicate records?
Not without the MSP's approval. Show the duplicates, recommend which to keep, and let the MSP decide, since one of the records may already be on an invoice.
Is it better to set a quantity or add to it?
Set it. Writing the final value is safe to repeat, while adding a change can compound when a request is retried.
How can a vendor tell if its integration is creating duplicates?
Look for repeated support tickets about double lines, run a periodic duplicate check on partner data, and review logs for retries that followed timeouts.
Stay tuned for all things MSPCentric and PSA integrations.