Collections, Late Fees, Deposits & Credit Notes

Avoid reapplying a payment after restoring a backup

To avoid duplicating a previously recorded receipt or rolling back document numbers when restoring a local JSON backup in InvoiceDiplomat, choose Merge Non-Conflicts instead of re-entering payments manually. Merge Non-Conflicts preserves existing records by skipping conflicting document IDs rather than duplicating them, while keeping sequential numbering counters moving forward so already issued numbers like RC-0001 are never reused.

Local-first billing puts your financial records under your own control, which makes exporting periodic JSON backups essential before clearing browser data or moving to a second laptop. However, careless backup restores can cause headaches if someone imports an older snapshot and then manually re-records receipts that were already issued, or accidentally wipes newer work. Knowing how Merge Non-Conflicts differs from Replace Active State protects your receipt trail and numbering integrity.

Step-by-Step Guide

  1. 1. Export a fresh local JSON backup before making storage changes

    Before restoring an older archive or migrating browsers, use Export JSON Backup in the studio to save a current snapshot of your drafts, issued records, and sequence state to your computer. Label the file with the date so you always know which archive is newest.

  2. 2. Inspect the backup summary before choosing an import mode

    When you click Import Backup and select your JSON archive, review the confirmation summary showing how many drafts and issued records are inside the file. Verify you selected the right backup before committing any change.

  3. 3. Use Merge Non-Conflicts to preserve existing receipts and sequence numbers

    Select Merge Non-Conflicts whenever you want to bring in missing historical records without disturbing current browser data. Existing issued receipts with matching IDs are skipped rather than duplicated, and sequential series counters do not decrease below your latest issued number.

  4. 4. Reserve Replace Active State for clean device restores only

    Choose Replace Active State only when migrating onto a clean browser or intentionally rolling back to a known backup. Afterward, check your issued receipt list before recording any new payment so a $60.00 receipt already present in the restored history is never keyed in a second time.

Worked Example: Restoring a backup containing an already issued $60.00 receipt (RC-0001)

Input / Step Value
Existing Local Record RC-0001 ($60.00 payment receipt issued; next counter at 2)
Backup File Contents JSON backup also containing RC-0001 ($60.00)
Selected Import Mode Merge Non-Conflicts
Result RC-0001 remains a single $60.00 receipt entry (not duplicated), and the next issued receipt number remains RC-0002 rather than resetting backward.

Merge Non-Conflicts detects that RC-0001 already exists in your local history and skips the duplicate record while keeping your series counter advancing forward, preventing accidental double-counting of the $60.00 payment.

Scope & Limitation: InvoiceDiplomat stores backups locally as JSON files and does not provide cloud synchronization across devices. If you manually create a brand-new receipt draft with a new ID for a payment that was already recorded on another computer, backup merge cannot know they represent the same real-world transfer—always check payment dates and references.