Menu

MCP: billing

Billing profiles, top-ups, invoices

Toolsetbilling (sensitive, opt-in)
Tools9
Permissions granted by weird mcp setupbilling:read, billing:write
With --read-onlybilling:read
Turn it onweird mcp setup --add billing

weird_billing_profiles#

Billing profiles. List the user's billing profiles (the names and addresses on invoices), the default first. Free.

Changes somethingno (read-only)
Needs confirmed: trueno
CallslistBillingProfiles

No arguments.

weird_billing_profile_save#

Save a billing profile. Add a billing profile (an individual, or a company with its fiscal code), or replace every field of one by profile_id. Free.

Changes somethingyes
Needs confirmed: trueyes (consequential)
CallscreateBillingProfile, updateBillingProfile

Arguments:

  • address1, string, required — street address
  • address2, string — second address line
  • city, string, required — city
  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • country_code, string, required — two-letter country code
  • default, boolean — make a new profile the default
  • fiscal_code, string — a company's fiscal code (required for a company)
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • invoice_email, string — where invoices are emailed
  • kind, string, required — individual or company
  • name, string, required — the person's or the company's name
  • postal_code, string, required — postal code
  • profile_id, string — change this profile (default: add a new one)
  • state_province, string, required — county or region
  • trade_registry_number, string — a company's trade registry number
  • vat_payer, boolean — the company pays VAT

weird_billing_profile_delete#

Remove a billing profile. Remove a billing profile; invoices already made out to it keep it. Free. Irreversible.

Changes somethingyes
Needs confirmed: trueyes (cannot be undone)
CallsdeleteBillingProfile

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • profile_id, string, required — the billing profile

weird_billing_profile_default#

Default billing profile. Make a billing profile the default one for top-ups. Free.

Changes somethingyes
Needs confirmed: trueyes (consequential)
CallsdefaultBillingProfile

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • profile_id, string, required — the billing profile

weird_topup_options#

Top-up limits. Show the price of one credit in lei (credit_price; null while credits are not on sale, when a top-up is refused), the top-up limits, preset amounts and VAT. Free.

Changes somethingno (read-only)
Needs confirmed: trueno
CallstopupConfig

No arguments.

weird_topup_start#

Start a top-up. Start a top-up of credits: it answers a checkout address for the USER to open and pay (VAT on top); never open or pay it yourself, and follow it with weird_topups. Free. The user pays the checkout themselves (or runs weird credits topup); within 14 days of paying they may withdraw from it (weird_withdrawals), 12 months longer when no acknowledgement was recorded with the order (extended_period). The user's acknowledgement is needed too: call it without the acknowledgement fields to get the text, show it to them word for word, and pass immediate_start_requested, withdrawal_terms_acknowledged and its acknowledgement_version only if they accept it.

Changes somethingyes
Needs confirmed: trueyes (consequential)
Acknowledgementthe person's own, for startTopup: call without it to get the text
The person runsweird credits topup
CallsstartTopup

Arguments:

  • acknowledgement_lang, string — the language of the text the user accepted (ro or en), exactly as this tool returned it; recorded with the order where the API keeps it
  • acknowledgement_version, string — required with the two above: the version of the text the user accepted, exactly as this tool returned it
  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • credits, integer, required — how many credits, within the limits weird_topup_options shows
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • immediate_start_requested, boolean — required for the order: true only when the user, after reading the acknowledgement text, asked for the order to start at once within the 14-day withdrawal period. Never set it on your own
  • withdrawal_terms_acknowledged, boolean — required for the order: true only when the user read and accepted the acknowledgement text about their right of withdrawal. Never set it on your own

weird_topups#

Top-up orders. List the user's top-up orders, or show one by order_ref (whether it is paid). Free.

Changes somethingno (read-only)
Needs confirmed: trueno
CallslistTopups, topupStatus

Arguments:

  • cursor, string — the next page
  • order_ref, string — one order (default: list the orders)

weird_invoices#

Invoices. List the user's invoices, or show one by invoice_id. Free.

Changes somethingno (read-only)
Needs confirmed: trueno
CallslistInvoices, getInvoice

Arguments:

  • cursor, string — the next page
  • invoice_id, string — one invoice (default: list them)

weird_invoice_download#

Save an invoice PDF. Save an invoice as a PDF file on this computer, at an absolute path; the file never passes through tool arguments. Free.

Changes somethingyes
Needs confirmed: trueno
CallsgetInvoicePdf

Arguments:

  • invoice_id, string, required — the invoice
  • path, string, required — an absolute path on this computer to save the PDF to (an existing file is not overwritten)

This page is generated from the weird CLI; it changes when the CLI does.