create_income
Record a new income entry with detailed lines (concept, amount, tax) and associated charges. Confirmation required from user.
Instructions
⚠️ Crea un ingreso. Confirmar con usuario.
income_lines: [{concept, amount, tax, retention, imputation, income_type?, tax_regime, tax_subjection_code}] charges: [{amount, payment_method, destination_account(id), paid, date?}] document_type: "other_invoice"|"cash_statement"|"interest_settlement"|"bank_doc"|"contract"|"resolution"|"other_doc"
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": {
"customer": "<customer>",
"income_lines": "<income_lines>",
"charges": "<charges>"
},
"name": "create_income"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer | Yes | ||
| income_lines | Yes | ||
| charges | Yes | ||
| date | No | ||
| document_type | No | ||
| document_number | No | ||
| annotations | No | ||
| tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||