How to Reconcile a Bitcoin Payment With an Invoice

On-Chain Data & DeFi

A customer says they paid, but the invoice is still open. Match the invoice’s Bitcoin address and amount to the transaction output, then check confirmations. Do not assume the transaction’s total value is the amount paid to you.

What to check

CheckWhat to do
Invoice addressMatch the transaction output
AmountCompare both amounts in satoshis
ConfirmationsCheck the recipient’s requirement

Match a payment output to an invoice and keep a clear record of confirmations.

Start with the invoice

Record the requested address, amount in BTC and expiry time. Open the transaction ID on a Bitcoin mainnet explorer and compare the output address character by character. A transaction can contain several outputs, so record the output index if you need to identify the payment precisely.

Work through a payment example

Suppose the inputs total 0.02000000 BTC. Outputs of 0.00600000 and 0.01380000 BTC leave a miner fee of 0.00020000 BTC. If the invoice asks for 0.00600000 BTC and that output matches the invoice address, record 0.00600000 BTC as the payment. The larger output could be change, but you cannot identify its owner from its size alone.

Reconcile a pending or replaced transaction

A transaction shown without a block is unconfirmed. If it disappears or the sender reports using fee replacement, ask for the replacement transaction ID and repeat the address and amount checks. For a service deposit, check both the explorer’s confirmation count and the service’s crediting status.

When one payment appears to match two invoices

Start with the merchant’s invoice identifier and the address shown on that invoice. A reused address can receive several payments of the same amount, so record the output index and compare the time and order record as well. If one transaction pays several invoices, reconcile each invoice against its own output. Keep the transaction ID in each record, but count the fee only once if preparing a transaction-level report.

Handle underpayments and overpayments

Compare amounts in satoshis to avoid rounding a decimal display. An invoice for 600,000 satoshis with a matching output of 599,000 satoshis is short by 1,000 satoshis. Log that difference and check the recipient’s policy before asking the sender to make another payment. For a refund, obtain the refund address through a verified channel. The inputs may belong to an exchange or other service that pooled the payment.

Save enough evidence for a second review

Keep the invoice ID, network, transaction ID, output number, amount requested, amount received and time checked. Record the confirmation count and whether the recipient credited the invoice. An explorer can show an output in a confirmed block while an exchange is still reviewing the deposit. Recheck the same transaction hash before opening a support case.

Reconcile several invoices in one transaction

A business receives three orders for 150,000 satoshis each. A single transaction shows three matching amounts, two of which go to the same reused address. Start with the invoices that have unique addresses and record their exact output indexes. For the reused address, consult the order timestamps and your payment processor’s mapping before assigning either output. If there is no evidence that links the two outputs to individual orders, leave the allocation unresolved. The transaction ID can appear in several invoice records, but each output index should be allocated only once.

Build an exception log

Create separate entries for a missing transaction, an unmatched output, a short payment and an uncredited deposit. For each one, record who can verify the next step. A sender can provide a corrected transaction ID, while a receiving service can explain a crediting requirement. If the transaction is visible but the invoice amount does not match, report the difference in satoshis. Preserve the original invoice terms when documenting any later adjustment.

Frequently asked questions

Can I match a payment by amount alone?

Use the invoice address and output as well. Other recipients can receive the same amount in the same transaction.

Can the network fee explain a short payment?

The fee is the difference between the sum of inputs and outputs. Use the value of the actual recipient output to determine whether the invoice was paid in full.

Sources

Related guide: How to Read a Bitcoin Transaction: Inputs, Outputs, Change and Fees

Topic overview: Transaction Records.