Skip to content

Test cases: Vendor finance

VersionDate (UTC)Summary
1.0.02026-05-13Initial split; dense TCs on money movement


IDClassScenarioAutomation
TC-VFN-001HappyTransaction list loads with date + store filtersE2E*
TC-VFN-002HappyOpen order-linked transaction detail matches order totalsE2E*
TC-VFN-003UnhappyFilter produces empty set → empty state, no spinner hangE2E*
TC-VFN-004UnhappyUnauthorized store in query → 403Unit
IDClassScenarioAutomation
TC-VFN-010HappyCreate expense with category + attachment (if supported)E2E*
TC-VFN-011UnhappyAmount ≤ 0 or invalid currency rejectedUnit
TC-VFN-012HappyExpense list pagination + export (if any)E2E*
IDClassScenarioAutomation
TC-VFN-020HappyRefund record appears after approved refund flowUnit + E2E*
TC-VFN-021UnhappyRefund exceeds paid total → 400Unit
TC-VFN-022UnhappyIdempotent refund id replay handledUnit
IDClassScenarioAutomation
TC-VFN-030HappyReceivable list + aging columns match APIE2E*
TC-VFN-031HappyRecord payment allocates to open invoices in order policyUnit + E2E*
TC-VFN-032UnhappyOverpayment rejected or credited per product rulesUnit
TC-VFN-033UnhappyCustomer not eligible → clear messageUnit
IDClassScenarioAutomation
TC-VFN-040HappyInvoice create from template / lines saves and appears in listE2E*
TC-VFN-041UnhappyTax / line validation failure maps to field errorsUnit
TC-VFN-042HappyFinance report section loads with client pagination (if used)E2E*
TC-VFN-043UnhappyReport range too large → throttle or capped exportUnit

  • Receivable vs expense separation documented (no double GL) — see internal finance architecture if present
  • Cross-check with Admin orders for refund visibility
  • Rounding / FX (if multi-currency) unhappy paths added when product ships

Parent index: System test cases (index) · Cross-cutting: Vendor backend