netsuite_create_bill_payment
Create a NetSuite vendor payment and apply it to one or more vendor bills. Specify vendor ID, date, and optional bill allocations.
Instructions
Create a NetSuite vendor payment (bill payment) and apply it to one or more vendor bills. Required parameters: entity (string, vendor ID), tranDate (string, YYYY-MM-DD). Optional: account (string, bank account ID, auto-resolved from vendor subsidiary if not provided), currency (string, defaults to '1' for EUR), externalId (for idempotence), memo, apply (array of {doc: billId, apply: true, amount: number}). NOTE: Without apply array, creates an unapplied payment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity": "<entity>",
"tranDate": "<tranDate>"
},
"name": "netsuite_create_bill_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| apply | No | ||
| entity | Yes | ||
| account | No | ||
| currency | No | ||
| tranDate | Yes | ||
| externalId | No |