List Xero credit notes for a review period
xero_list_credit_notesLists a date-bounded page of customer or supplier credit notes with optional filters by type, status, or contact; paginate until nextPage is null to review all results.
Instructions
Read one date-bounded page of customer and supplier credit notes. Xero pages credit notes (up to 100 per page) and includes line items; follow nextPage until null for a complete result. Filter by customer/supplier type, status, or contact. Credit-note date is not necessarily its allocation or payment date. This is read-only.
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": {
"fromDate": "<fromDate>",
"toDate": "<toDate>"
},
"name": "xero_list_credit_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Xero page number, starting at 1 | |
| type | No | Customer credit note (ACCRECCREDIT) or supplier credit note (ACCPAYCREDIT) | |
| status | No | ||
| toDate | Yes | Date in YYYY-MM-DD format | |
| fromDate | Yes | Date in YYYY-MM-DD format | |
| pageSize | No | Credit notes per page (Xero supports up to 100) | |
| contactId | No | Xero ContactID to restrict the list to one customer or supplier |