Skip to content

Merciglobal Cloud ERP: API for Outstanding Receivables & Payments

Merciglobal Cloud ERP offers a robust and developer-friendly API to fetch outstanding receivable or payment details for a specified account. This comprehensive guide is designed to support internal Merci developers, customers, and the sales team in implementing and utilizing the API efficiently.


📡 API Endpoint

GET https://devx.merciglobal.com/apis/ajax.php?sys_projectfolder=PROJECT_NAME&func=getduesDet&acid=ACCOUNT_ID&type=TYPE

🔧 Parameters

Parameter Description
sys_projectfolder (String) Project folder name in your Merciglobal Cloud ERP configuration
func (String) Always set to getduesDet to access this API
acid (String or Number) Unique Account ID for which data is requested
type (String) RECEIPT for outstanding receivables or PAYMENT for payables

🎯 Use Cases

  • Finance Teams: Analyze both pending receivables and payables to optimize financial operations
  • Sales Teams: Evaluate customer credit status to guide decision-making
  • Customers: Enable real-time financial data integration in client dashboards or applications

🧠 Integration Tips

  • Always validate PROJECT_NAME, ACCOUNT_ID, and TYPE values; ensure proper URL encoding
  • Design robust error-handling mechanisms for network and API-specific failures
  • Ensure the API is accessed from a secure backend to protect sensitive credentials

📥 Sample Requests

➕ Outstanding Receivables

curl "https://devx.merciglobal.com/apis/ajax.php?sys_projectfolder=erp2025&func=getduesDet&acid=12345&type=RECEIPT"

➖ Outstanding Payments

curl "https://devx.merciglobal.com/apis/ajax.php?sys_projectfolder=erp2025&func=getduesDet&acid=12345&type=PAYMENT"

📝 Notes

  • Authentication, if required, must be configured within your Merciglobal Cloud ERP environment
  • type parameter is a new addition to unify receivable and payable queries via one endpoint
  • This API reinforces Merciglobal's commitment to transparency and actionable financial insights

🆘 Support & Updates

Reach out to your Merciglobal support representative or account manager for integration help.

Subscribe to the developer newsletter to stay informed about the latest API updates and feature releases.