{
  "test_id": "ORCL.O2C.AR.BILL.TXN.ACCOUNT",
  "scenario_name": "Receivables Transaction Accounting",
  "application": "Oracle Fusion Cloud",
  "product": "Receivables",
  "module": "Accounts Receivable",
  "process": "Billing",
  "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/billing/transaction-accounting/",
  "objective": {
    "intro": "The objective of this test is to verify that Oracle Fusion correctly generates accounting distributions for a completed Receivables billing transaction, including receivable, revenue and, where applicable, tax distributions using valid account combinations within an open accounting period.",
    "confirms": [
      "a valid, completed transaction is available and ready for accounting generation",
      "a receivable distribution is generated using a valid account combination",
      "a revenue distribution is generated using a valid account combination",
      "a tax distribution is generated where applicable, using a valid account combination",
      "the accounting period is open and accepts the accounting entries",
      "generated distribution amounts reconcile to the transaction amount",
      "the transaction's accounting status reflects successful generation",
      "posting/transfer status is updated where applicable, subject to configuration"
    ],
    "scope_note": "This scenario does not claim that every generated accounting entry is automatically valid for every Oracle Fusion configuration, or that transfer to General Ledger always completes automatically — those outcomes depend on the customer's subledger accounting rules, ledger setup and GL configuration."
  },
  "preconditions": [
    "Oracle Fusion Receivables is configured and available.",
    "The test user has access to Receivables and Billing functionality.",
    "A valid, completed Receivables transaction exists and is ready for accounting.",
    "The accounting period covering the transaction date is open.",
    "Valid account combinations are configured for receivable, revenue and, where applicable, tax accounts.",
    "Subledger accounting rules are configured for Receivables transactions.",
    "An appropriate accounting method and ledger are assigned to the business unit.",
    "The test user has permission to generate accounting for Receivables transactions."
  ],
  "test_data": [
    {
      "field": "Transaction",
      "example": "Completed AR transaction (e.g. SYN-AR-10045)"
    },
    {
      "field": "Receivable Account",
      "example": "Valid account combination (Receivable)"
    },
    {
      "field": "Revenue Account",
      "example": "Valid account combination (Revenue)"
    },
    {
      "field": "Tax Account",
      "example": "Valid account combination (Tax), where applicable"
    },
    {
      "field": "Accounting Period",
      "example": "Open (current test period)"
    },
    {
      "field": "Distribution Type",
      "example": "Receivable, Revenue, Tax, or Multiple"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign in to Oracle Fusion",
      "action": "Sign in to the Oracle Fusion environment using an authorised Receivables test user.",
      "test_data": "",
      "expected_result": "Oracle Fusion home page is displayed successfully and the user session is established.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Receivables",
      "action": "Navigate to the Receivables work area.",
      "test_data": "",
      "expected_result": "The Receivables work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Open Billing",
      "action": "Open the Billing task within Receivables.",
      "test_data": "",
      "expected_result": "The Manage Transactions / Billing page is displayed.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Locate the Completed Transaction",
      "action": "Search for and open the completed Receivables transaction that requires accounting.",
      "test_data": "${TRANSACTION_NUMBER}",
      "expected_result": "The correct transaction is located and opened.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening search, entering the transaction number, clicking Search and selecting the result."
    },
    {
      "step_number": 5,
      "step_name": "Open the Transaction for Accounting Review",
      "action": "Open the transaction's accounting and distributions view.",
      "test_data": "",
      "expected_result": "The transaction's accounting details are accessible for review.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Initiate Accounting Generation",
      "action": "Initiate the accounting generation action for the transaction.",
      "test_data": "",
      "expected_result": "The accounting generation process starts without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Review Receivable Distribution",
      "action": "Review the receivable distribution generated for the transaction.",
      "test_data": "${RECEIVABLE_ACCOUNT}",
      "expected_result": "A receivable distribution is present and uses a valid account combination.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Review Revenue Distribution",
      "action": "Review the revenue distribution generated for the transaction.",
      "test_data": "${REVENUE_ACCOUNT}",
      "expected_result": "A revenue distribution is present and uses a valid account combination.",
      "validation_type": "action"
    },
    {
      "step_number": 9,
      "step_name": "Review Tax Distribution Where Applicable",
      "action": "Review the tax distribution generated for the transaction, where tax applies.",
      "test_data": "${TAX_ACCOUNT}",
      "expected_result": "A tax distribution is present and uses a valid account combination, where applicable.",
      "validation_type": "action"
    },
    {
      "step_number": 10,
      "step_name": "Validate Account Combinations",
      "action": "Validate that the receivable, revenue and tax account combinations used are valid and active.",
      "test_data": "",
      "expected_result": "All account combinations used are valid for the ledger and business unit.",
      "validation_type": "action"
    },
    {
      "step_number": 11,
      "step_name": "Validate Accounting Period Status",
      "action": "Confirm the accounting period covering the transaction date is open.",
      "test_data": "${ACCOUNTING_PERIOD}",
      "expected_result": "The accounting period status is Open and accepts the accounting entries.",
      "validation_type": "action"
    },
    {
      "step_number": 12,
      "step_name": "Generate / Create Accounting",
      "action": "Complete the accounting generation (Create Accounting) for the transaction.",
      "test_data": "",
      "expected_result": "Oracle Fusion successfully processes the accounting generation request without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 13,
      "step_name": "Review Accounting Status",
      "action": "Review the transaction's accounting status after generation.",
      "test_data": "",
      "expected_result": "Accounting status reflects successful generation (e.g. Accounted).",
      "validation_type": "action"
    },
    {
      "step_number": 14,
      "step_name": "Validate Distribution Amounts Reconcile",
      "action": "Confirm that receivable, revenue and tax distribution amounts reconcile to the transaction amount, and confirm posting/transfer status where applicable.",
      "test_data": "",
      "expected_result": "Distribution amounts sum to the transaction total, and posting/transfer status is reflected where applicable, subject to configuration.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — the test confirms both distribution accuracy and posting/transfer status where applicable, not merely that accounting generation was initiated."
    }
  ],
  "expected_results": [
    "Oracle Fusion successfully generates accounting for the completed transaction.",
    "A receivable distribution is generated using a valid account combination.",
    "A revenue distribution is generated using a valid account combination.",
    "A tax distribution is generated where applicable, using a valid account combination.",
    "Distribution amounts reconcile to the transaction amount.",
    "The accounting period accepts the transaction without period-status errors.",
    "Accounting status reflects successful generation.",
    "Posting/transfer status is updated where applicable, subject to configuration.",
    "No unexpected accounting validation errors occur."
  ],
  "validation_checkpoints": [
    "Transaction is complete and available for accounting.",
    "Receivable distribution account combination is valid.",
    "Revenue distribution account combination is valid.",
    "Tax distribution account combination is valid, where applicable.",
    "Distribution amounts sum to the transaction total.",
    "Accounting period status is Open.",
    "Accounting status updates to reflect successful generation.",
    "Posting/transfer status is reflected where applicable."
  ]
}
