getCreditNoteById
getCreditNoteByIdFetch a credit note by ID to check its amount in cents, status, customer, associated invoice, and line-items URL for billing review or audit.
Instructions
Retrieve a credit note by its ID, including amount, status, customer, invoice association, and line items URL. Credit note amounts are in cents.
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": {
"creditNoteId": "<creditNoteId>"
},
"name": "getCreditNoteById"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| creditNoteId | Yes | The unique identifier (UUID) of the credit note. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |