Explain short payments
receivables_casesShort payments (round 358, feature 536): money in from a known customer that falls short of its invoice and no rule explains. what=list gives each case (bank line, customer, candidate invoices with the gap, reasons this customer's rules give) and the playbook: search the customer's mail and files for the remittance advice, promotion agreement, marketing invoice or factoring statement. what=resolve with open_item_id, charge_line_id, account and a reason naming the evidence proposes the invoice paid in full with the gap on that account; make_rule (percent, fixed, fee) lets the next one be proposed automatically. what=part with open_item_id and charge_line_id takes the money as a part payment and leaves the rest open. what=rules lists each customer's deduction rules; what=rule_set with party, kind (percent, fixed, fee), value, account, reason and tax_code adds one; what=rule_end with rule_id ends one. Everything else waits for its release. Needs the right propose.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "receivables_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| what | No | list | |
| party | No | ||
| value | No | ||
| reason | No | ||
| account | No | ||
| company | No | ||
| rule_id | No | ||
| tax_code | No | ||
| make_rule | No | ||
| open_item_id | No | ||
| charge_line_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||