find_broken_invoice_references
Detect payments or receipts with broken AR/AP invoice-key references that don't resolve to any existing invoice, revealing missing allocations.
Instructions
Payments/receipts whose structured AR/AP invoice-Key line reference does not resolve to any current invoice -- the general form of a 'missing invoice' (e.g. a supplier payment structurally allocated to a Purchase Invoice Key that doesn't exist yet). Never uses the transaction's free-text description to decide this.
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": {
"resource": "<resource>"
},
"name": "find_broken_invoice_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | ||
| resource | Yes | ||
| from_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||