Get invoice
One invoice with line items, payments and credits applied.
MCP tool chargebee_read → get_invoice
read
Returns the invoice status, the line items, the amount paid, the credits and adjustments applied and the amount still due, all in the smallest currency unit. Read it before creating a credit note: the status decides which credit note type Chargebee allows.
Parameters
| Name | Type | Description |
|---|---|---|
| invoice_id string required | string | Invoice ID from list_invoices, for example INV-1042. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "chargebee_read",
"arguments": {
"operation": "get_invoice",
"arguments": {
"invoice_id": "invoice_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"invoice_id": "INV-1042",
"customer_id": "cus_9s2kQw",
"status": "paid",
"line_items": [
{
"description": "Growth plan, monthly",
"amount": 29900
}
],
"total": 29900,
"amount_paid": 29900,
"credits_applied": 0,
"amount_adjusted": 0,
"amount_due": 0,
"currency_code": "USD"
},
"isError": false
}