{% extends "zerver/portico.html" %} {% set entrypoint = "billing" %} {% block title %} {{ _("Billing") }} | Zulip {% endblock %} {% block portico_content %}
{% if admin_access and has_active_plan %} {% if is_sponsorship_pending %}
This organization has requested sponsorship for a {% if sponsorship_plan_name == "Business" %} discounted {% endif %} {{ sponsorship_plan_name }} plan.
Contact Zulip support with any questions or updates.
{% endif %} {% if success_message %}
{{ success_message.replace("PLAN_NAME", plan_name) }}
{% endif %}

Zulip {% if is_self_hosted_billing %} {% else %} Cloud {% endif %} billing for {{ org_name }}

{% if free_trial or downgrade_at_end_of_free_trial %} {{ plan_name }} (free trial) {% elif is_server_on_legacy_plan %} {{ plan_name }} (legacy plan) {% else %} {{ plan_name }} {% endif %}
{% if is_server_on_legacy_plan %}
This is a legacy plan that ends on {{ remote_server_legacy_plan_end_date }}.
{% endif %}
{% if downgrade_at_end_of_free_trial or downgrade_at_end_of_cycle or is_server_on_legacy_plan %}
{{ billing_frequency }}
{% elif switch_to_annual_at_end_of_cycle %}
Your plan will switch to annual billing on {{ renewal_date }}.
{%elif switch_to_monthly_at_end_of_cycle %}
Your plan will switch to monthly billing on {{ renewal_date }}.
{% else %} {% endif %}
{% if automanage_licenses %}
{{ licenses }} (managed automatically)
{% else %} {% if not (free_trial or downgrade_at_end_of_free_trial) %}
licenses ({{ seat_count }} in use)
{% endif %} {% if not (downgrade_at_end_of_cycle or downgrade_at_end_of_free_trial) %}
licenses ({{ seat_count }} in use)
{% endif %} {% endif %}
{{ payment_method }}
{% if charge_automatically %}
{% endif %}
{% if renewal_amount %} {% if downgrade_at_end_of_cycle %} Your organization will be downgraded to Zulip Cloud Free at the end of the current billing period ({{ renewal_date }}). You will lose access to unlimited search history and other features of your current plan. {% elif downgrade_at_end_of_free_trial %} Your organization will be downgraded to Zulip Cloud Free at the end of the free trial ({{ renewal_date }}). You will lose access to unlimited search history and other features of your current plan. {% else %} {% if charge_automatically %} {% if is_server_on_legacy_plan %} Your plan will automatically upgrade to {{ legacy_remote_server_next_plan_name }} on {{ remote_server_legacy_plan_end_date }}. {% else %} Your plan will automatically renew on {{ renewal_date }}. {% endif %} {% else %} Your next invoice is due on {{ renewal_date }}. {% endif %}
Expected charge: ${{ renewal_amount }} {% if not fixed_price %} (${{ price_per_license }} x {{ licenses_at_next_renewal }} {{ 'user' if licenses_at_next_renewal == 1 else 'users' }} x {% if switch_to_annual_at_end_of_cycle %} 12 months {%- elif switch_to_monthly_at_end_of_cycle %} 1 month {%- else %} {{ "1 month" if billing_frequency == "Monthly" else "12 months" }} {%- endif -%}) {% if using_min_licenses_for_plan %} (minimum purchase) {% endif %} {% if discount_percent %}
Includes {{ discount_percent }}% discount. {% endif %} {% endif %} {% endif %} {% else %} Your plan ends on {{ renewal_date }}, and does not renew. {% endif %}
{% if free_trial and not downgrade_at_end_of_free_trial %}
{% elif downgrade_at_end_of_cycle or downgrade_at_end_of_free_trial %}
{% elif is_server_on_legacy_plan %}
{% else %}
{% endif %}
{% if free_trial %} {% elif downgrade_at_end_of_free_trial %} {% elif downgrade_at_end_of_cycle or is_server_on_legacy_plan %} {% else %} {% endif %}

{% else %}

Zulip Cloud billing for {{ org_name }}

You must be an organization owner or a billing administrator to view this page.

{% endif %}
{% endblock %}