ChartMogul icon

ChartMogul

Interact with ChartMogul API

Actions88

Invoice → Create an Invoice

AI-generated

Summary

Creates a ChartMogul invoice for a customer, with invoice details, line items, and optional payment or refund transactions.

Inputs

  • Customer UUID (required) — ChartMogul UUID of the customer.
  • Invoice External ID (required) — External ID for the invoice.
  • Date (required) — Invoice date.
  • Currency (required) — Invoice currency, such as USD.
  • Handle As User Edit — Defaults to false. When enabled, sends the flag for ChartMogul to handle the invoice as a user edit to an invoice from an automatic source.
  • Additional Invoice Fields — Optionally set collection method (automatic or manual), customer external ID, data source UUID, and due date.
  • Line Items — Add one-time, subscription, or trial items. Available fields include amount, description, discounts, event order, external ID, quantity, taxes, and transaction fees; subscription and trial items also expose plan, proration, service-period, cancellation, and subscription ID fields.
  • Transactions — Add payment or refund transactions with result, date, external ID, and optional amount in cents. The UI description says an omitted amount defaults to the invoice total and the sum of partial transactions should not exceed the invoiced amount.
  • Request Options — Configure batching, SSL certificate validation, proxy, and request timeout.

Output shape

Not determined from the supplied source pack.

The source pack includes no operation implementation bodies: its files contain only source map comments, and the node entry is a signature-level placeholder. The supplied material therefore does not establish the request payload or returned data shape.

Links

Discussion