What are Invoice Line Items and Billing Plans?
Invoice Line Items and Subscription Billing Plans are the building blocks of structured billing in Revolv3. They let you break down charges into individual components, making it easier to:- Show customers what they’re being charged for
- Apply discounts and adjustments
- Handle complex pricing structures
- Generate detailed invoices
- Line items: Individual charges on a one-time invoice (product $50, shipping $5, tax $4 = $59 total)
- Billing plans: Pricing rules for subscriptions (setup fee $50, monthly fee $29.99)
Invoice Line Items
Invoice Line Items represent individual charges on a single invoice. Each line item is a separate charge that gets added together to create the total.When to Use Line Items
Use line items for:- ✅ One-time invoices: Breaking down a purchase into components
- ✅ Itemized billing: Showing customers what they’re paying for
- ✅ Discounts and adjustments: Applying discounts to specific items
- ✅ Complex pricing: Multiple products, fees, taxes, etc. in one invoice
Line Item Fields
| Field | Type | Required | Description |
|---|---|---|---|
Name | string | Yes | Title/name of the charge (shown on invoice) |
Description | string | No | Brief explanation of what this charge is for |
Value | number | Yes | Amount in USD (decimal) |
ValueType | string | Yes | Type of charge (see below) |
Value Types for Line Items
| Value Type | What It Means | Example |
|---|---|---|
Standard | Regular charge | Product price, service fee |
Discount | Fixed dollar discount | ”$5 off” discount |
DiscountPercentage | Percentage discount (0-100) | “10% off” (value = 10) |
FinalDiscount | Discount applied to total | Final “$10 off” after all charges |
PriceOverride | Override standard price | Special pricing for this item |
Example: Invoice with Line Items
Subscription Billing Plans
Subscription Billing Plans define the pricing structure for recurring subscriptions. They tell Revolv3 how much to charge and when.When to Use Billing Plans
Use billing plans for:- ✅ Recurring subscriptions: Monthly, weekly, yearly charges
- ✅ Setup fees: One-time charges when subscription starts
- ✅ Tiered pricing: Different prices for different subscription tiers
- ✅ Promotional pricing: Discounts that expire after a certain number of cycles
Billing Plan Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Plan name (for your records) |
value | number | Yes | Amount to charge (decimal, >= 0) |
cycleCount | integer | No | How many times to charge (-1 = unlimited) |
valueType | string | No | Type of charge (Standard, Discount, etc.) |
startCycleDelay | integer | No | Cycles to wait before starting (0 = immediately) |
Example: Subscription with Multiple Plans
How They Work Together
Line Items for One-Time Invoices
For one-time payments, useInvoiceLineItems to break down the charge:
Billing Plans for Subscriptions
For subscriptions, useSubscriptionBillingPlans to define recurring charges:
They Can Overlap
Subscriptions can also have line items on individual invoices. When a subscription generates an invoice, that invoice can have line items that break down what the customer is being charged for in that billing cycle.Real-World Examples
Example 1: E-Commerce Order (Line Items)
Scenario: Customer buys a product with shipping and taxExample 2: Subscription with Setup Fee (Billing Plans)
Scenario: SaaS subscription with $50 setup + $29.99/monthExample 3: Subscription with Discount (Billing Plans)
Scenario: $29.99/month with $5 discount for first 6 monthsValue Types Explained
Standard
Regular charge amount:Discount
Fixed dollar amount discount:DiscountPercentage
Percentage discount (value is 0-100):FinalDiscount
Discount applied to the final total:PriceOverride
Override the standard price:Best Practices
- Use clear names: Make line item and plan names descriptive for reporting
- Validate values: Ensure amounts are correct (>= 0, reasonable)
- Test calculations: Verify that line items/plans add up correctly
- Keep it organized: Don’t create too many line items or plans—keep it manageable
- Document your logic: Keep notes on how your billing structure works
Common Questions
Q: What’s the difference between line items and billing plans? A: Line items are for one-time invoices (breaking down a single charge). Billing plans are for subscriptions (defining recurring charges). Q: Can I use both in the same request? A: For subscriptions, you use billing plans. The subscription will generate invoices, and those invoices can have line items. Q: How do discounts work with multiple plans? A: Discount plans subtract from other charges. The order and calculation depend on how Revolv3 processes them—test to verify. Q: Can I change billing plans after creating a subscription? A: You can update subscriptions, but check how plan changes are handled in the API documentation. Q: What if cycleCount is -1? A:-1 means unlimited—the plan charges forever until the subscription is canceled.
Next Steps
- Create a Subscription — See how billing plans are used
- Billing Plans — Detailed guide to billing plan options
- Make a Payment — See how line items work in one-time payments

