Exchange Rate must be same as PI

Hello all,

When creating a debit note from a purchase invoice, an error appears stating, “Exchange rate should be the same as the Purchase Invoice,” even though the rates are identical. It seems the system isn’t recognizing the zero in last, as shown in the error screenshot below. I’m unsure if I’m missing something. I hope to hear from you soon, as our client is unable to proceed with further entries. We need to resolve this issue as soon as possible. Thank you!
Purchase Invoice

Debit Note

ERROR MESSAGE

@riddhi1

ERPNext does not post this forex difference automatically during returns. It enforces same rate to keep the base currency effect identical and avoid unbalanced accounting. and maintain accounting integrity

Avoids unintentional exchange rate differences on purely offset transactions

Forex gain/loss is better recorded at payment settlement, not return posting

So, please update the exchange rate same as the primary purchase invoice to book a purchase return.