ERPNext how we can cancel Sales Invoice with API? any POSTMAN example will be highly appreciated.
Thanks
ERPNext how we can cancel Sales Invoice with API? any POSTMAN example will be highly appreciated.
Thanks
Thanks Ahmad,
I already have studied this document and doing integration with POS. Most of the PART is done, for sales invoice Cancel, i need a call from postman.
Regards,
Adnan
update docstatus of Sales Invoice using PUT request. It will submit/cancel/update the form.
use docstatus = 2 for cancel,
e.g.
PUT http://frappe.local:8000/api/resource/Sales Invoice/SINV-00073
data={"docstatus": 2}