List credit notes
crunch_list_credit_notesList credit notes for sales invoices, supplier expenses, or both, newest first, including the linked invoice or expense, amount, state, and refunds.
Instructions
List credit notes: those issued against your sales invoices (for=invoices, the default), those from suppliers against expenses (for=expenses), or both (for=all), newest first, with the invoice or expense they belong to, amount, state and refunds. Crunch's public API can't create credit notes; do that in the Crunch app. Reads the invoices that have credits one by one, so it can take a few seconds.
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": "crunch_list_credit_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for | No | invoices (default: credit notes you issued against sales invoices), expenses (credit notes from suppliers) or all | |
| limit | No | Maximum number of items | |
| fields | No | Keep only these fields (dot paths, such as supplier.companyName) | |
| search | No | Case-insensitive substring match on any value | |
| end_date | No | Only credit notes dated on or before (YYYY-MM-DD) | |
| start_date | No | Only credit notes dated on or after (YYYY-MM-DD) |