{% extends "base.html" %} {% block header %}Review SaaS Billing{% endblock %} {% block content %}
SaaS Billing Review

{{ sub.product_name }}

{{ sub.client.company_name if sub.client else '-' }} · {{ bill.period_start.strftime('%d-%m-%Y') }} to {{ bill.period_end.strftime('%d-%m-%Y') }}
{{ bill.status|replace('_',' ')|title }}
Current Users / Licences
{{ bill.base_quantity }}
Billing Cycle
{{ sub.billing_cycle|replace('_',' ')|title }}
Selling Rate
{{ sub.currency }} {{ bill.unit_rate|indian_amount(4) }}
Pro-rata
{{ 'Enabled' if sub.pro_rata_enabled else 'Disabled' }}
{% if bill.status in ['REVIEW_REQUIRED','APPROVED'] and not bill.jobcard_id %}
User / Licence Quantity Adjustment
For example, if the client had 20 users and adds 5 users mid-month, enter 5 below and select the effective date. Crystal Nexus will calculate the pro-rata amount automatically.
Use a negative number to reduce quantity.
Used for automatic pro-rata calculation.

Vendor Cost for This Billing Cycle
Vendor commercial currency; INR conversion uses Currency Rate Master.
{% if bill.vendor_cost_inr is not none %}
Vendor cost: {{bill.vendor_currency or ''}} {{bill.vendor_cost|indian_amount}} = ₹{{bill.vendor_cost_inr|indian_amount}}{% if bill.conversion_rate_to_inr %} at rate {{bill.conversion_rate_to_inr}}{% endif %}
{% endif %}
{% endif %} {% if bill.status=='APPROVED' and not bill.jobcard_id %}
{% elif bill.jobcard_id %}
Open {{bill.jobcard.jobcard_code}} {% endif %}
{% endblock %}