# 6. Bulk Billing — Test Cases

User Type: **Organization**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: bulk_billing.md — every feature, sub-feature, and rule covered

## Test Execution Policy

- Zero tolerance: any deviation from the documented behavior is a defect.
- Every failed test is logged with a Bug ID, the feature, the sub-feature, the expected vs actual result, and the severity; 100% of bugs are fixed before the group passes.
- 100% pass rate is required for the group to be marked complete.

## Coverage Matrix

| Feature | Sub-feature / Rule | Test IDs |
|---------|--------------------|----------|
| 6.1 | Bulk invoice generation for seats | TC-ORG-6-01-001 |
| 6.1 | Seat-based pricing summary | TC-ORG-6-01-002 |
| 6.1 | License term management | TC-ORG-6-01-003 |
| 6.1 | Bulk invoice status tracking | TC-ORG-6-01-004 |
| 6.1 | Bulk invoice download | TC-ORG-6-01-005 |
| 6.1 | Bulk License Billing available on web and mobile | TC-ORG-6-01-006 |
| 6.1 | bulk license billing event logging (viewed) | TC-ORG-6-01-007 |
| 6.1 | Audit logging of bulk license billing | TC-ORG-6-01-008 |
| 6.1 | Rule: Bulk invoice generation for seats. | TC-ORG-6-01-009 |
| 6.1 | Rule: Seat-based pricing summary. | TC-ORG-6-01-010 |
| 6.1 | Rule: License term management. | TC-ORG-6-01-011 |
| 6.1 | Rule: Bulk invoice status tracking. | TC-ORG-6-01-012 |
| 6.1 | Rule: Bulk invoice download. | TC-ORG-6-01-013 |
| 6.2 | Tax invoice format generation | TC-ORG-6-02-014 |
| 6.2 | Purchase order reference on invoices | TC-ORG-6-02-015 |
| 6.2 | Statutory compliance fields | TC-ORG-6-02-016 |
| 6.2 | Invoice approval workflow | TC-ORG-6-02-017 |
| 6.2 | Invoice archive | TC-ORG-6-02-018 |
| 6.2 | Government Invoicing available on web and mobile | TC-ORG-6-02-019 |
| 6.2 | government invoicing event logging (viewed) | TC-ORG-6-02-020 |
| 6.2 | Audit logging of government invoicing | TC-ORG-6-02-021 |
| 6.2 | Rule: Tax invoice format generation. | TC-ORG-6-02-022 |
| 6.2 | Rule: Purchase order reference on invoices. | TC-ORG-6-02-023 |
| 6.2 | Rule: Statutory compliance fields. | TC-ORG-6-02-024 |
| 6.2 | Rule: Invoice approval workflow. | TC-ORG-6-02-025 |
| 6.2 | Rule: Invoice archive. | TC-ORG-6-02-026 |

## 6.1 Bulk License Billing

### TC-ORG-6-01-001 — Bulk invoice generation for seats
**Type:** Positive
**Covers:** 6.1 → Bulk invoice generation for seats; Rule: Bulk invoice generation for seats.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Bulk invoice generation for seats.
2. Observe the result and verify the full behavior: Bulk invoice generation for seats.
**Expected Result:** Bulk invoice generation for seats — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-6-01-002 — Seat-based pricing summary
**Type:** Positive
**Covers:** 6.1 → Seat-based pricing summary; Rule: Seat-based pricing summary.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Seat-based pricing summary.
2. Observe the result and verify the full behavior: Seat-based pricing summary.
**Expected Result:** Seat-based pricing summary — delivered exactly as documented.
**Priority:** High

### TC-ORG-6-01-003 — License term management
**Type:** Positive
**Covers:** 6.1 → License term management; Rule: License term management.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: License term management.
2. Observe the result and verify the full behavior: License term management.
**Expected Result:** License term management — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-01-004 — Bulk invoice status tracking
**Type:** Positive
**Covers:** 6.1 → Bulk invoice status tracking; Rule: Bulk invoice status tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Bulk invoice status tracking.
2. Observe the result and verify the full behavior: Bulk invoice status tracking.
**Expected Result:** Bulk invoice status tracking — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-01-005 — Bulk invoice download
**Type:** Positive
**Covers:** 6.1 → Bulk invoice download; Rule: Bulk invoice download.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Bulk invoice download.
2. Observe the result and verify the full behavior: Bulk invoice download.
**Expected Result:** Bulk invoice download — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-01-006 — Bulk License Billing available on web and mobile
**Type:** Positive
**Covers:** 6.1 → Bulk License Billing available on web and mobile; Rule: Bulk invoice generation for seats.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Bulk License Billing available on web and mobile.
2. Observe the result and verify the full behavior: Bulk License Billing available on web and mobile.
**Expected Result:** Bulk License Billing available on web and mobile — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-01-007 — bulk license billing event logging (viewed)
**Type:** Positive
**Covers:** 6.1 → bulk license billing event logging (viewed); Rule: Seat-based pricing summary.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: bulk license billing event logging (viewed).
2. Observe the result and verify the full behavior: bulk license billing event logging (viewed).
**Expected Result:** bulk license billing event logging (viewed) — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-01-008 — Audit logging of bulk license billing
**Type:** Positive
**Covers:** 6.1 → Audit logging of bulk license billing; Rule: License term management.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Audit logging of bulk license billing.
2. Observe the result and verify the full behavior: Audit logging of bulk license billing.
**Expected Result:** Audit logging of bulk license billing — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-01-009 — Rule: Bulk invoice generation for seats.
**Type:** Positive
**Covers:** 6.1 → Rule: Bulk invoice generation for seats.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Bulk invoice generation for seats.
2. Observe the result and verify the full behavior: Bulk invoice generation for seats.
**Expected Result:** Bulk invoice generation for seats. — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-6-01-010 — Rule: Seat-based pricing summary.
**Type:** Positive
**Covers:** 6.1 → Rule: Seat-based pricing summary.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Seat-based pricing summary.
2. Observe the result and verify the full behavior: Seat-based pricing summary.
**Expected Result:** Seat-based pricing summary. — delivered exactly as documented.
**Priority:** High

### TC-ORG-6-01-011 — Rule: License term management.
**Type:** Positive
**Covers:** 6.1 → Rule: License term management.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: License term management.
2. Observe the result and verify the full behavior: License term management.
**Expected Result:** License term management. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-01-012 — Rule: Bulk invoice status tracking.
**Type:** Positive
**Covers:** 6.1 → Rule: Bulk invoice status tracking.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Bulk invoice status tracking.
2. Observe the result and verify the full behavior: Bulk invoice status tracking.
**Expected Result:** Bulk invoice status tracking. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-01-013 — Rule: Bulk invoice download.
**Type:** Positive
**Covers:** 6.1 → Rule: Bulk invoice download.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Bulk invoice download.
2. Observe the result and verify the full behavior: Bulk invoice download.
**Expected Result:** Bulk invoice download. — delivered exactly as documented.
**Priority:** Medium

## 6.2 Government Invoicing

### TC-ORG-6-02-014 — Tax invoice format generation
**Type:** Positive
**Covers:** 6.2 → Tax invoice format generation; Rule: Tax invoice format generation.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Tax invoice format generation.
2. Observe the result and verify the full behavior: Tax invoice format generation.
**Expected Result:** Tax invoice format generation — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-6-02-015 — Purchase order reference on invoices
**Type:** Positive
**Covers:** 6.2 → Purchase order reference on invoices; Rule: Purchase order reference on invoices.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Purchase order reference on invoices.
2. Observe the result and verify the full behavior: Purchase order reference on invoices.
**Expected Result:** Purchase order reference on invoices — delivered exactly as documented.
**Priority:** High

### TC-ORG-6-02-016 — Statutory compliance fields
**Type:** Positive
**Covers:** 6.2 → Statutory compliance fields; Rule: Statutory compliance fields.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Statutory compliance fields.
2. Observe the result and verify the full behavior: Statutory compliance fields.
**Expected Result:** Statutory compliance fields — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-02-017 — Invoice approval workflow
**Type:** Positive
**Covers:** 6.2 → Invoice approval workflow; Rule: Invoice approval workflow.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Invoice approval workflow.
2. Observe the result and verify the full behavior: Invoice approval workflow.
**Expected Result:** Invoice approval workflow — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-02-018 — Invoice archive
**Type:** Positive
**Covers:** 6.2 → Invoice archive; Rule: Invoice archive.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Invoice archive.
2. Observe the result and verify the full behavior: Invoice archive.
**Expected Result:** Invoice archive — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-02-019 — Government Invoicing available on web and mobile
**Type:** Positive
**Covers:** 6.2 → Government Invoicing available on web and mobile; Rule: Tax invoice format generation.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Government Invoicing available on web and mobile.
2. Observe the result and verify the full behavior: Government Invoicing available on web and mobile.
**Expected Result:** Government Invoicing available on web and mobile — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-02-020 — government invoicing event logging (viewed)
**Type:** Positive
**Covers:** 6.2 → government invoicing event logging (viewed); Rule: Purchase order reference on invoices.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: government invoicing event logging (viewed).
2. Observe the result and verify the full behavior: government invoicing event logging (viewed).
**Expected Result:** government invoicing event logging (viewed) — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-02-021 — Audit logging of government invoicing
**Type:** Positive
**Covers:** 6.2 → Audit logging of government invoicing; Rule: Statutory compliance fields.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform: Audit logging of government invoicing.
2. Observe the result and verify the full behavior: Audit logging of government invoicing.
**Expected Result:** Audit logging of government invoicing — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-02-022 — Rule: Tax invoice format generation.
**Type:** Positive
**Covers:** 6.2 → Rule: Tax invoice format generation.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Tax invoice format generation.
2. Observe the result and verify the full behavior: Tax invoice format generation.
**Expected Result:** Tax invoice format generation. — delivered exactly as documented.
**Priority:** Critical

### TC-ORG-6-02-023 — Rule: Purchase order reference on invoices.
**Type:** Positive
**Covers:** 6.2 → Rule: Purchase order reference on invoices.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Purchase order reference on invoices.
2. Observe the result and verify the full behavior: Purchase order reference on invoices.
**Expected Result:** Purchase order reference on invoices. — delivered exactly as documented.
**Priority:** High

### TC-ORG-6-02-024 — Rule: Statutory compliance fields.
**Type:** Positive
**Covers:** 6.2 → Rule: Statutory compliance fields.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Statutory compliance fields.
2. Observe the result and verify the full behavior: Statutory compliance fields.
**Expected Result:** Statutory compliance fields. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-02-025 — Rule: Invoice approval workflow.
**Type:** Positive
**Covers:** 6.2 → Rule: Invoice approval workflow.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Invoice approval workflow.
2. Observe the result and verify the full behavior: Invoice approval workflow.
**Expected Result:** Invoice approval workflow. — delivered exactly as documented.
**Priority:** Medium

### TC-ORG-6-02-026 — Rule: Invoice archive.
**Type:** Positive
**Covers:** 6.2 → Rule: Invoice archive.
**Preconditions:** A Organization account is active and the Organization is in the state required for this behavior.
**Steps:**
1. As a Organization, set up the precondition and perform the action that triggers the rule: Invoice archive.
2. Observe the result and verify the full behavior: Invoice archive.
**Expected Result:** Invoice archive. — delivered exactly as documented.
**Priority:** Medium
