Skip to content

Conversation

ancorcruz
Copy link
Contributor

Roadmap Task

👉 https://getlago.canny.io/feature-requests/p/allow-add-ons-to-be-added-to-subscription-invoices

👉 https://getlago.canny.io/feature-requests/p/define-quantities-for-plan-charges

Context

What is the current situation?

Option 1: User has to create a one off invoice alongside the
subscription, it will create 2 different invoices.

Option 2: User can add a recurring billable metric and use event to
have this fee invoice on subscription renewal, but it won’t appear on
the first billing subscription.

What problem are we trying to solve?

At subscription creation or afterward, there is no clear way to invoice
a fixed fee that is not tied to events, aside from the subscription fee
itself. This fee could be either a one-time charge or a recurring one.

Description

Add FixedCharges::CreateService to handle fixed charge creation:

  • accepts add_on id and code
  • apply default properties based on fixed charge's charge model
  • filter properties based on the charge model
  • apply taxes to the fixed charge

 ## Roadmap Task

 👉 https://getlago.canny.io/feature-requests/p/allow-add-ons-to-be-added-to-subscription-invoices

 👉 https://getlago.canny.io/feature-requests/p/define-quantities-for-plan-charges

 ## Context

 What is the current situation?

 **Option 1:** User has to create a one off invoice alongside the
 subscription, it will create 2 different invoices.

 **Option 2:** User can add a recurring billable metric and use event to
 have this fee invoice on subscription renewal, but it won’t appear on
 the first billing subscription.

 What problem are we trying to solve?

 At subscription creation or afterward, there is no clear way to invoice
 a fixed fee that is not tied to events, aside from the subscription fee
 itself. This fee could be either a one-time charge or a recurring one.

 ## Description

 Add `FixedCharges::CreateService` to handle fixed charge creation:

 * accepts add_on id and code
 * apply default properties based on fixed charge's charge model
 * filter properties based on the charge model
 * apply taxes to the fixed charge
@ancorcruz ancorcruz self-assigned this Aug 7, 2025
@ancorcruz ancorcruz merged commit daf56d8 into main Aug 8, 2025
14 checks passed
@ancorcruz ancorcruz deleted the feat/fixed-charges-4/add-fixed-charge-create-service branch August 8, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants