1
Calculated Custom Fields / Mathematical Formulas for Line Items
Source: invoiceninja/invoiceninja#13436 · opened by @HuabaM
Currently, custom fields for invoice line items are limited to static text, numbers, or predefined dropdown values. However, for recurring invoice models (such as rentals or duration-based services), it is often required to compute line item quantities dynamically.
Use Case:
We bill items based on duration (e.g., Days × Quantity).
Field 1 (Custom Field): Days (e.g. 5)
Field 2 (Custom Field): Quantity (e.g. 2)
Expected behavior: A formula field or standard calculation mechanism that allows calculating CustomField1 * CustomField2 (e.g. 5 × 2 = 10) to automatically drive the item's total quantity or total price.
Proposed Solution:
Allow custom fields to support basic mathematical formulas (e.g. CustomField1 * CustomField2) or enable dynamic field evaluation when generating line items.
Use Case:
We bill items based on duration (e.g., Days × Quantity).
Field 1 (Custom Field): Days (e.g. 5)
Field 2 (Custom Field): Quantity (e.g. 2)
Expected behavior: A formula field or standard calculation mechanism that allows calculating CustomField1 * CustomField2 (e.g. 5 × 2 = 10) to automatically drive the item's total quantity or total price.
Proposed Solution:
Allow custom fields to support basic mathematical formulas (e.g. CustomField1 * CustomField2) or enable dynamic field evaluation when generating line items.
No pledges yet. Be the first to back this.
Comments
Similar requests
Enable default tax rate for line items. [Bug/Feature]
1 vote · 0 comments
Twig-variable for raw-value of paid_to_date (better raw values for ALL numeric-values)
1 vote · 0 comments
Fix rounding errors
1 vote · 0 comments
Feature request: Could “Due Date” be calculated (with Payment term selected) with the date the invoice is sent as a basis?
0 votes · 0 comments
[Feature] Quotes based on a project and not line items
2 votes · 0 comments
No comments yet.