Check invoice policies
check_invoice_policiesRuns every policy in the invoice's group against the invoice now and returns, per policy, whether it applies, when its action would run, and if it does not apply the reason (for example below the minimum amount, already charged or policy inactive). Explains why an invoice did or did not get a reminder, late fee or other action. Read only: nothing is created or sent.
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": {
"organisationId": "<organisationId>",
"id": "<id>"
},
"name": "check_invoice_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| organisationId | Yes | Id of the organisation to act on, from list_organisations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policies | Yes | ||
| groupName | Yes | The contact's group, whose policies are checked | |
| invoiceNumber | Yes |