Skip to Content
Menu
This question has been flagged
4080 Views

Hello


A customer bought an item worth 1000
I am supposed to give him 100 back as discount for which i created a refund invoice of 100
Then he pays 900 instead of 1000.
When I register payment, i create a write-off of 100.
I want to automatically reconcile the 100 write-off with the refund invoice of 100
Could you help with a sample code, to programmatically reconcile the 2 moves? Thanks
Avatar
Discard
Related Posts Replies Views Activity
0
Oct 20
3355
4
Oct 19
4172
0
May 23
1831
2
Feb 22
8650
2
Jan 20
4070