Skip to main content
An order is the record of a single charge: the amounts, the tax, the invoice and the product and customer it belongs to. Polar creates one for every purchase, subscription start, renewal, charged plan change and meter cycle. See Orders & subscriptions for billing reasons and statuses. The code examples use API version 2026-10 and the sandbox.

Find an order

Orders are listed under Sales → Orders in the dashboard. Filter by customer, product, subscription, status or date.
  • Open Sales → Orders
  • Filter by customer, product or status
  • Select an order to see its amounts, customer, payment attempts, refunds and disputes
Free orders, with a total of 0, are paid right away with no payment step.

What’s on an order

  • Amounts: subtotal_amount, discount_amount, net_amount, tax_amount and total_amount in cents, with the currency.
  • Billing details: billing_name and billing_address.
  • Tax: the rate and amount collected. Polar handles the tax as your Merchant of Record.
  • Links to the product, customer, discount and, for renewals, the subscription.
  • billing_reason: why the order was created.
  • custom_field_data: values from your checkout fields.
  • metadata: your own key-value data.

Edit billing details

You can change the billing name and address on an order. Address fields used to calculate tax can only change on draft orders. Generating the invoice again picks up the new details.
  • Open the order under Sales → Orders
  • Open the actions menu and click Edit Invoice, or Download Invoice if no invoice exists yet
  • Change the Billing name or Billing address
  • Click Update invoice, or Generate invoice the first time
Over the API, send billing_name or billing_address to Update Order.

Invoices

Polar can produce a PDF invoice for every paid order. In the dashboard, open the order, then click Download Invoice in its actions menu. The first time, Polar asks for the billing details and generates it. Edit Invoice in the same menu changes them later. Over the API, generate it, then fetch its URL:
From the CLI: polar orders generate_invoice <order_id>, then polar orders invoice <order_id>. Generation returns 202 Accepted and runs in the background. If the invoice isn’t ready yet, retry the fetch shortly after. Check is_invoice_generated on the order.
Customers can correct their name, company, tax ID or address from the Customer Portal, which regenerates the invoice.

Receipts

A receipt is the proof of payment for an order. Polar issues one for every paid order, numbered per customer as RCPT-{customer-id}-{NNNN}. It shows:
  • The payment method (for example Visa 4242), the date paid and the amount.
  • Any customer balance applied to the order.
  • Any refunds, with dates and amounts.
  • The same line items, taxes, totals and invoice number as the invoice.
In the dashboard, open the order and click Download Receipt in its actions menu. From the CLI, run polar orders receipt <order_id>. Over the API, use Get Order Receipt. Customers get a Download receipt button on each paid order in the Customer Portal. The order and subscription emails link to the receipt in the Customer Portal. If you turn one of those emails off in Customer notifications, the receipt still exists, but the customer isn’t emailed about it. The first request may return 202 Accepted while the PDF renders. Retry shortly after to get a download URL.

Export orders

Download orders as CSV from Sales → Orders: open the actions menu in the toolbar, click Export CSV and pick the columns to include. Over the API, call Export Orders with optional product_id, status, created_after, created_before, timezone and columns filters.
Export is dashboard or API only. Not available from the CLI or MCP server.

Payment attempts

Each attempt to charge an order is a payment, with a status of pending, succeeded or failed. A failed payment carries decline_reason and decline_message. Use it to see why a renewal failed. In the dashboard, open the order. Its Payment attempts section lists each attempt with its method and status. From the CLI:
With an agent, use the payments_list and payments_get operations. See List Payments. When a renewal payment fails, Polar retries it on a schedule. Customers can also retry it themselves from the Customer Portal, up to 5 times. See Failed payments.

Charge outside checkout

To charge a customer’s saved payment method for a one-off amount, create a draft order and finalize it. See Off-session charges.

Refunds and disputes

Refund an order in full or in part with Refund order on its page, or over the API. See Refunds. If a customer disputes the charge with their bank, see Disputes.

Webhooks

Check billing_reason to tell a purchase from a renewal. See Webhook events.

From the CLI or your agent

Creating, finalizing and exporting orders are API only.

Learn more