My system uses QuickBooks to charge payment and sync invoice to handle via API. But, I have one situation:
- Step 1:
+ In my system, I created invoice A, then, synced to Quickbooks successfully
Ex: Invoice Id is 190
+ Then, I used the API to charger the payment for Invoice A above and it's successful.
Ex: Transaction code will be ETFLOWZX8CZK and Invoice A 's status is Paid
- Step 2:
+ I accessed to Quickbooks and deleted Invoice A that has Id is 190 above
- Step 3:
- In my system, I created new Invoice B with the same customer, then, synced it to QuickBooks successfully
Ex: Invoice Id is 191
But, the old transaction code ETFLOWZX8CZK (of the deleted Invoice A) mapped to Invoice Id 191 automatically and its status is Paid (I don't charge any payment from my system)
How can I prevent automatic mapping of previously deleted Invoice transaction codes?