List payment entries
Payment entries with party, amount, date, reference and state.
GET https://cotlet.dev/api/v1/erpnext/payment-entries
read
Lists Payment Entry records, newest posting date first. A customer payment has the payment type Receive. state is draft, submitted or cancelled; only submitted entries have posted to the General Ledger. Each entry lists the invoices it is allocated to. Pages hold up to 100 entries; pass next_cursor back as cursor for the next page.
Parameters
| Name | Type | Description |
|---|---|---|
| party string | string | Customer ID from list_customers. |
| payment_type string | string | Receive, Pay or Internal Transfer. |
| state string | string | draft, submitted or cancelled. |
| from_date string | string | Posting date from, YYYY-MM-DD. |
| to_date string | string | Posting date to, YYYY-MM-DD. |
| limit integer | integer | Records per page. Default: 20. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/erpnext/payment-entries \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("erpnext", "list_payment_entries") const result = await cotlet.call('erpnext', 'list_payment_entries'); cotlet call erpnext list_payment_entries Example response
{
"payment_entries": [
{
"payment_entry": "ACC-PAY-2026-00018",
"payment_type": "Receive",
"party": "Lumen Dental",
"posting_date": "2026-10-12",
"paid_amount": 200,
"mode_of_payment": "Wire Transfer",
"reference_no": "WIRE-88102",
"state": "submitted",
"allocated_to": []
}
],
"next_cursor": null
}