corestack_ billing_ credit_ note_ pdf_ get
Credit note PDF link.
When to use it
Get a link to one of an invoice's credit notes as a PDF, for the person to open in a browser where they are signed in to the Control Panel.
Through the REST API (/api/corestack/billing/…) the account is account, as on the Billing pages; account_id, this tool's name, is accepted there too as its alias.
Ask for it
Using the Corefinity MCP server, call corestack_billing_credit_note_pdf_get with invoice_id 4410, number CN-2026-0042. (Credit note PDF link.) Tell me what it returned.Inputs
account_idinteger
One of your company's billing accounts (corestack_billing_account_get gives its id); omitted, the company's default account. At least 1.
invoice_idintegerRequired
At least 1.
numberstringRequired
The credit note's number, from corestack_billing_invoice_get. Up to 64 characters.
Example call
{
"name": "corestack_billing_credit_note_pdf_get",
"arguments": {
"invoice_id": 4410,
"number": "CN-2026-0042"
}
}If it is refused
| Reason | What to do |
|---|---|
credit_note_not_ready | The credit note is still being prepared; try again shortly. |
provider_unavailable | The provider did not answer; try again later. |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?