netsuite_create_accrual_journal_entry
Create a month-end accrual journal entry in NetSuite with automatic reversal on the specified date, used to post Spendesk charges-à-payer entries.
Instructions
Create a month-end accrual journal entry with automatic NS reversal. Use after spendesk_get_accruals to post charges-à-payer (408xxx) entries. NS will auto-reverse on reversalDate (typically 1st of next month).
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": {
"subsidiary": "<subsidiary>",
"tranDate": "<tranDate>",
"reversalDate": "<reversalDate>"
},
"name": "netsuite_create_accrual_journal_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | Journal lines (account, debit, credit, memo, department) | |
| memo | No | ||
| dryRun | No | If true, return the NS request body without calling NS (debug mode) | |
| tranDate | Yes | Accrual date YYYY-MM-DD (last day of month) | |
| externalId | No | e.g. spk_accrual_2026-02_<supplierId> | |
| subsidiary | Yes | NS subsidiary ID | |
| reversalDate | Yes | Auto-reversal date YYYY-MM-DD (1st of next month) |