Reject GL Entry
frihet_gl_entry_rejectReject a pending General Ledger journal entry with a mandatory reason, updating the status to 'rejected' and recording the rejector and reason in the audit trail.
Instructions
Reject a General Ledger journal entry pending review with a required reason. Sets entry status to 'rejected' and records the rejector + reason in the audit trail. Requires gestor/admin role. This is a TRUST AREA action. Example: entryId='gl_2026_q1_042', reason='Importe incorrecto, revisar factura F-2026-042'. / Rechaza un asiento contable pendiente con una razon obligatoria. Requiere rol gestor/admin.
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": {
"entryId": "<entryId>",
"reason": "<reason>"
},
"name": "frihet_gl_entry_reject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Mandatory rejection reason (visible to submitter) / Razon del rechazo (obligatoria, visible al emisor) | |
| entryId | Yes | GL entry ID to reject / ID del asiento contable a rechazar |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||