# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod. id: O2C-AR-002 title: Create and complete a manual AR invoice module: O2C process: Billing priority: P2 priority_rationale: "Manual invoice; secondary to AutoInvoice billing. I4 x C3 x U4 = 48 -> P2 (map row BIL-02 is P2, score 48). Usage placeholder\ \ drove tier: usage 3 would give P3." priority_source: case-level risk x usage (analysis/o2c-coverage-map.md ยง4 method) scored on what this case tests; not the row tier priority_score: impact: 4 change_likelihood: 3 usage: 4 usage_basis: ASSUMED (placeholder until Scout usage counts) risk: 12 score: 48 tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20 usage_sensitive: true map_ids: - BIL-02 verification: UNVERIFIED approval_status: draft - pending consultant approval (architecture approval gate) client_questions: - O2C-Q08 type: happy tags: - ar - manual-invoice - o2c - p2 roles: - billing_specialist preconditions: - None beyond referenced data recipes. data_recipes: - DR-O2C-USR-001 - DR-O2C-ORG-001 - DR-O2C-CUS-001 - DR-O2C-AR-002 - DR-O2C-TAX-001 - DR-O2C-PER-001 test_values: lines: - 250.0 - 150.0 subtotal: 400.0 tax_rate: 8% (ASSUMED) tax: 32.0 total: 432.0 steps: - n: 1 action: login_as value: "{{users.billing_specialist}}" expected: Home page loads for the billing_specialist test user; no error banner. - n: 2 action: navigate value: "{{nav.billing}}" expected: Work area 'billing' opens (path resolved from ui-glossary nav map). - n: 3 action: click target: role: link name: Create Transaction note: Tasks panel link expected: Create Transaction page opens. - n: 4 action: fill target: role: combobox name: Business Unit value: "{{org.o2c_bu}}" expected: Value accepted; no field-level error. - n: 5 action: fill target: role: combobox name: Transaction Source value: "{{data.ar_source_manual}}" expected: Value accepted; no field-level error. - n: 6 action: fill target: role: combobox name: Transaction Type value: "{{data.ar_type_invoice}}" expected: Value accepted; no field-level error. - n: 7 action: fill target: role: combobox name: Bill-to Name value: "{{data.customer_name}}" expected: Value accepted; no field-level error. - n: 8 action: fill target: role: textbox name: Transaction Date value: "{{dates.today}}" expected: Value accepted; no field-level error. - n: 9 action: click target: role: button name: Add Row expected: Action completes without error. - n: 10 action: fill target: role: textbox name: Memo Line value: "{{data.memo_line}}" expected: Value accepted; no field-level error. - n: 11 action: fill target: role: spinbutton name: Quantity value: '1' expected: Value accepted; no field-level error. - n: 12 action: fill target: role: textbox name: Unit Price value: '250.00' expected: Value accepted; no field-level error. - n: 13 action: click target: role: button name: Add Row expected: Action completes without error. - n: 14 action: fill target: role: textbox name: Memo Line value: "{{data.memo_line}}" expected: Value accepted; no field-level error. - n: 15 action: fill target: role: spinbutton name: Quantity value: '1' expected: Value accepted; no field-level error. - n: 16 action: fill target: role: textbox name: Unit Price value: '150.00' expected: Value accepted; no field-level error. - n: 17 action: click target: role: button name: Complete and Close expected: "Transaction completed; capture {{run.ar_invoice_number}}." - n: 18 action: verify_api target: method: GET path: "{{env.rest_base}}/receivablesInvoices?q=TransactionNumber='{{run.ar_invoice_number}}'&expand=receivablesInvoiceLines" expected: Lines 250.00 + 150.00 = 400.00; tax 32.00; total 432.00; status Complete. expected_result: Lines 250.00 + 150.00 = 400.00; tax 32.00; total 432.00; status Complete. notes: - Runs against a mock prove only the mock, never Oracle Fusion.