CorefinityCorefinityDocs
Open the Control PanelControl Panel
Billing · 10 of 17

corestack_billing_credit_note_pdf_get

Credit note PDF link.

Scope readNo secrets returned
On this page

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

Prompt
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

tools/call
{
  "name": "corestack_billing_credit_note_pdf_get",
  "arguments": {
    "invoice_id": 4410,
    "number": "CN-2026-0042"
  }
}

If it is refused

ReasonWhat to do
credit_note_not_readyThe credit note is still being prepared; try again shortly.
provider_unavailableThe provider did not answer; try again later.
invalid_argumentsThe 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_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe 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_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT