I’m trying to reconcile payments in ERPNext using the REST API through Python. I’m able to make API calls and I receive a success message in response, but the payments are not getting reconciled in the system. When I check the invoice, it still shows as unpaid or partially paid. It seems like reconciliation isn't actually happening. Which Doctype should be used for reconciliation? Is there a specific field or flag I need to pass to trigger reconciliation? Do I need to use a different module or perform an extra step (like journal entry or ledger update)? Any guidance, code samples, or tips would be appreciated. Thank you! Here’s what I’ve tried so far: Created a 1 invoice and 1 Payment of same customer Used their numbers ACC-SINV & ACC-PAY and passed it to Payment Reconciliation Doctype for reconciliation 3.Submitted the entry 4.Received a success response 5.When I check the invoice, it still shows as unpaid or partially paid. It seems like reconciliation isn't actually happening. Continue reading...