What the model is told
Look up a Chargebee invoice by its invoice number. Use it when the customer asks whether an invoice is paid or how much is due. Report the status (paid, posted, payment_due, not_paid, voided or pending), the total and amount_due (in the smallest currency unit, so 2000 is 20.00) and the due date. Never read out addresses or other personal details.
Request
GEThttps://YOUR_CHARGEBEE_SITE.chargebee.com/api/v2/invoices/{{invoiceId}}
Headers
AuthorizationBasic YOUR_BASE64_CHARGEBEE_API_KEY
Parameters
invoiceId stringThe Chargebee invoice ID or number.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "97ade592-bba8-4f49-81cd-385dbd8bcf8f",
"type": "HTTP_REQUEST",
"label": "Get Chargebee Invoice",
"name": "get_chargebee_invoice",
"customName": false,
"description": "Look up a Chargebee invoice by its invoice number. Use it when the customer asks whether an invoice is paid or how much is due. Report the status (paid, posted, payment_due, not_paid, voided or pending), the total and amount_due (in the smallest currency unit, so 2000 is 20.00) and the due date. Never read out addresses or other personal details.",
"parameters": [
{
"name": "invoiceId",
"type": "string",
"description": "The Chargebee invoice ID or number."
}
],
"config": {
"endpoint": {
"method": "GET",
"url": "https://YOUR_CHARGEBEE_SITE.chargebee.com/api/v2/invoices/{{invoiceId}}"
},
"headers": [
{
"name": "Authorization",
"value": "Basic YOUR_BASE64_CHARGEBEE_API_KEY"
}
],
"body": null,
"timeout": null
}
}
}IDs are regenerated on every copy.