Import billing payments into Selling to enable credit control

Hi there,

We use an external accounting package - Xero - and would like to be able to import the customer payments that are made in Xero back into ERPNext each week so that the outstanding balances are correct in Selling and we can enforce the credit limits, etc.

Is that possible or something that’s been done previously?

Thanks
Liam.

You can use the REST API.

https://frappe.io/docs/user-guide/rest_api

There is a client lib in python use can use.

Do share you script if you can set it up to work.