{
  "test_id": "ORCL.O2C.AR.RCP.REVERSE",
  "scenario_name": "Reverse Receipt",
  "application": "Oracle Fusion Cloud",
  "product": "Financials",
  "module": "Accounts Receivable",
  "process": "Receipts",
  "business_flow": "Order-to-Cash",
  "scenario_type": "Positive / Functional",
  "priority": "High",
  "automation_status": "SyntraFlow Ready",
  "library": "Syntra Standard",
  "canonical_url": "https://www.syntraflow.cloud/oracle-erp-testing-tool/test-library/financials/accounts-receivable/receipts/reverse-receipt/",
  "objective": {
    "intro": "The objective of this test is to verify that an authorised Accounts Receivable user can reverse an eligible customer receipt in Oracle Fusion Receivables, and that the resulting receipt, transaction and accounting status correctly reflect the reversal.",
    "confirms": [
      "the selected receipt is eligible for reversal and has not already been reversed",
      "the reversal date and reversal reason are accepted",
      "the receipt is correctly marked as reversed",
      "any existing receipt applications are reversed or adjusted appropriately",
      "transaction balances affected by the original receipt are restored where expected",
      "accounting impact of the reversal is updated where applicable",
      "the reversal remains traceable back to the original receipt"
    ],
    "scope_note": "This scenario does not claim that every downstream lockbox, bank reconciliation or accounting-period configuration is covered — those depend on the customer's specific Oracle Fusion configuration and are addressed by separate test scenarios."
  },
  "preconditions": [
    "Oracle Fusion Receivables is configured and available.",
    "An existing receipt is recorded against a customer and is eligible for reversal (for example, it has not already been reversed).",
    "The accounting period intended for the reversal is open, or reversal is otherwise permitted per configuration.",
    "Reversal reason lookup values required for the reversal are available.",
    "The test user has permission to reverse receipts in Oracle Fusion Receivables."
  ],
  "test_data": [
    {
      "field": "Customer",
      "example": "${CUSTOMER}"
    },
    {
      "field": "Receipt Number",
      "example": "${RECEIPT_NUMBER}"
    },
    {
      "field": "Receipt Amount",
      "example": "${RECEIPT_AMOUNT}"
    },
    {
      "field": "Receipt Method",
      "example": "${RECEIPT_METHOD}"
    },
    {
      "field": "Receipt Date",
      "example": "${RECEIPT_DATE}"
    },
    {
      "field": "Reversal Date",
      "example": "${REVERSAL_DATE}"
    },
    {
      "field": "Reversal Reason",
      "example": "${REVERSAL_REASON}"
    },
    {
      "field": "Application Status Before Reversal",
      "example": "Applied / Unapplied / Partially Applied"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Search for the Existing Receipt",
      "action": "Search for the existing receipt by customer and receipt number.",
      "test_data": "${CUSTOMER} / ${RECEIPT_NUMBER}",
      "expected_result": "The correct receipt is located.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening receipt search, entering the customer and receipt number, and selecting the result."
    },
    {
      "step_number": 2,
      "step_name": "Open the Receipt",
      "action": "Open the located receipt to review its current details.",
      "test_data": "",
      "expected_result": "Receipt details, including status and any existing applications, are displayed.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Check Reversal Eligibility",
      "action": "Review the receipt to confirm it is eligible for reversal, including that it has not already been reversed.",
      "test_data": "",
      "expected_result": "Receipt status confirms it is eligible for reversal.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Select Reverse",
      "action": "Select the Reverse action on the receipt.",
      "test_data": "",
      "expected_result": "The reversal entry page opens for the selected receipt.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Enter Reversal Date",
      "action": "Enter the reversal date.",
      "test_data": "${REVERSAL_DATE}",
      "expected_result": "Reversal date is accepted without unexpected validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Enter Reversal Reason",
      "action": "Enter or select the reversal reason.",
      "test_data": "${REVERSAL_REASON}",
      "expected_result": "Reversal reason is accepted.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Confirm Reversal",
      "action": "Select Save/Confirm to complete the reversal.",
      "test_data": "",
      "expected_result": "Oracle Fusion processes the reversal request without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Verify Receipt Status Updated",
      "action": "Confirm the receipt's status following the reversal.",
      "test_data": "",
      "expected_result": "The receipt is marked Reversed, with the reversal date and reversal reason correctly retained.",
      "validation_type": "action"
    },
    {
      "step_number": 9,
      "step_name": "Verify Applications/Balances Updated Accordingly",
      "action": "Confirm that any receipt applications and affected transaction balances reflect the reversal, and verify the overall reversed receipt record.",
      "test_data": "",
      "expected_result": "Receipt applications are reversed or adjusted appropriately, transaction balances are restored where expected, and accounting impact is updated where applicable.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — the test does not stop merely because Save was clicked successfully."
    }
  ],
  "expected_results": [
    "An eligible customer receipt reverses successfully.",
    "The receipt is correctly marked as reversed.",
    "Reversal date and reversal reason are correctly retained on the transaction.",
    "Receipt applications are reversed or adjusted appropriately.",
    "Transaction balances affected by the original receipt are restored where expected.",
    "Accounting impact of the reversal is updated where applicable.",
    "No unexpected save errors occur.",
    "The reversal remains traceable to the original receipt for audit purposes."
  ],
  "validation_checkpoints": [
    "Receipt marked reversed.",
    "Reversal date correct.",
    "Reversal reason retained.",
    "Receipt applications reversed/adjusted appropriately.",
    "Transaction balances restored where expected.",
    "Accounting impact updated where applicable.",
    "Reversal remains traceable."
  ]
}
