How to reconcile a stablecoin invoice
Match stablecoin receipts to invoices, handle duplicate notices and tie credited amounts to a merchant settlement with a worked example.
Reconcile a stablecoin invoice by matching its order reference to the exact payment event, the processor’s credit and the final settlement. A transaction confirms that funds moved. Use the invoice and processor records to verify which order was paid and what the merchant received after fees.
Match the order to a specific payment event
Match the order to a specific payment event
Record the invoice ID, quoted token amount and chain, accepted destination and deadline. If a processor collects the money, use the processor’s invoice or payment reference to confirm the match. If you track token events on an EVM chain, keep the chain, token contract, transaction hash and log index so you can tell two transfers inside a transaction apart. Ethereum receipt documentation
Matching by amount alone can put a payment on the wrong invoice when two customers send the same amount. Treat the confirmed event and the processor’s invoice status as separate checks.
Handle a short payment and a repeated notice
In this fictional processor workflow, the processor provides an approved remainder action when a payment arrives short. Invoice A expects 120 USDC. Invoice B expects 50 USDC.
| Evidence | Invoice reference | Amount applied |
|---|---|---|
| First receipt | Invoice A | 70 USDC |
| Approved remainder | Invoice A | 50 USDC |
| Repeated notice for that receipt | Invoice A | 0 added |
| Another confirmed receipt | Invoice B | 50 USDC |
Follow the processor’s rules for partial payments. BitPay documents automatic refunds for some partial invoice states. Stripe’s webhook guidance describes how to handle duplicate notifications. Match a repeated notice to an existing event before changing the invoice balance. BitPay invoice states · Stripe duplicate events
Tie credits and fees to the payout
Suppose the provider charges 2 USDC for invoice A and 1 USDC for invoice B. The two gross payments total 170 USDC. The credited balances are 118 and 49, so one 167 USDC destination receipt closes the batch in this example. Check the provider’s payout reference, the two credits it includes and the actual destination receipt.
Keep any conversion charge or bank settlement record as its own line if the payout leaves the stablecoin rail. Stripe publishes a reconciliation report for eligible automatic payout flows. Stripe payout reconciliation · Separate refund entries
For a direct Solana payment, verify the USDC checkout before fulfilling the order. If Stripe processes the checkout and pays your bank, reconcile the payment to its automatic payout.
