ERPNext: Create payment entry
erpnext_create_payment_entryERPNext: Saves a draft Receive payment entry allocated to one or more invoices. Saves a Payment Entry with the payment type Receive, the customer as party, the Mode of Payment, the bank Reference No and Reference Date, and the invoices it pays under References. A draft does not post to the General Ledger; call submit_payment_entry for that. If the amount is larger than the invoices, the remainder stays as an unallocated advance. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| party | Yes | Customer ID from list_customers. | |
| invoices | No | Sales Invoice IDs to allocate the payment to, oldest due date first. | |
| paid_amount | Yes | Amount received, in the currency of the bank account. | |
| posting_date | No | YYYY-MM-DD. Default: today. | |
| reference_no | No | Bank or cheque reference. | |
| reference_date | No | Date on the bank reference, YYYY-MM-DD. | |
| mode_of_payment | No | Mode of Payment name from your site. |