Skip to main content

Create a one-off invoice

To create a one-off invoice for a specific customer:
  1. Select the customer from the list of customers
  2. Click the Actions button in the upper-right corner, then select Create one-off invoice

Adding add-ons to one-off invoices

Once you have started the flow, add one or several add-ons to the invoice:
  1. Define a purchase order number, if needed
  2. Click Add an add-on to add a line item to the invoice
  3. Set the number of units for the add-on
  4. Define the add-on billing period (past, present, or future)
  5. Edit the unit price, if needed (you can set it to 0)
  6. Edit the description displayed on the invoice
  7. Click Create one-off invoice to issue it
Create a one-off invoice dialog with two add-on line items, their units, unit prices and taxes

Adding add-ons to create a one-off invoice

Application scope of one-off invoices

  • A one-off invoice can include the same add-on several times.
  • The currency and billing entity of the one-off invoice can differ from the customer’s defaults: the invoice is issued in the currency and by the billing entity you select for it. Set billing_entity_code to pick the billing entity from the API.
  • You can reuse the same add-on for several customers, even when their subscriptions use different currencies. You can also charge a different amount to each of them.
  • Coupons or prepaid credits (discounts) do not apply to one-off invoices.
  • One-off invoices are subject to taxes. For each fee, Lago applies the tax_codes sent in the payload. If there are none, it falls back to the taxes of the add-on, then to the taxes of the customer, then to the default taxes of the billing entity.
When using the API endpoint, if unit_amount_cents is null, Lago applies the default amount of the add-on. If units is null, Lago bills 1 unit. If currency is null, Lago uses the currency of the customer. When the customer has no currency yet, the currency of this invoice becomes the customer’s currency.

Invoicing

A one-off invoice is issued straight away. Lago then sends the invoice.one_off_created webhook message.