How to capture Invoice CRM API Log for synch in ADempiere Retail
This functionality refers to recording the details of CRM API communication related to invoice data, such as invoice creation, loyalty points allocation, and customer sync. It helps in tracking whether invoice details were successfully pushed to CRM or failed, along with the reason.
User Access
Who Can Access
- IT ADMIN
What User Can Do
- View whether invoice data was successfully pushed to CRM.
- See API response status: success, failure, timeout, etc.
- Identify error messages if the sync fails.
- Trigger re-push of invoice data to CRM if required.
Pre-Requisite Activities
- CRM integration must be configured and active.
- API logging must be enabled in the POS or middleware layer.
- Invoice sync should be set to auto or manual push based on business rules.
Business Rules
- Invoice sync to CRM should occur after bill completion (invoice generation).
- Every API call must be logged with:
- Invoice number
- Date and time
- API endpoint used
- Request payload (optional/masked)
- Response (success/failure)
- If sync fails, the system should:
- Flag the invoice as “Sync Pending” or “CRM Failure”
- Provide an option to retry manually
- Only authorized users should be able to view or reprocess logs.
User Interface
STEP 1: Enter into the screen CRM API LOG

STEP 2: you can view the log file once enter it into the API log screen as an invoice API LOG
