netsuite_get_vendor_credit_by_external_id
Retrieve a vendor credit by its external ID to perform an idempotency check before creating a new credit. Returns the credit details if found, or indicates it does not exist.
Instructions
Get a vendor credit by its externalId (idempotency check before creating a credit). Required: externalId (string). Returns { found: boolean, credit: { id, externalId, tranDate, total } | null }
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": {
"externalId": "<externalId>"
},
"name": "netsuite_get_vendor_credit_by_external_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| externalId | Yes |