{
  "test_id": "ORCL.P2P.AP.PAY.ACCOUNTING",
  "scenario_name": "Payment Accounting",
  "application": "Oracle Fusion Cloud",
  "product": "Financials",
  "module": "Accounts Payable",
  "process": "Payments",
  "business_flow": "Procure-to-Pay",
  "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-payable/payments/payment-accounting/",
  "objective": {
    "intro": "Validate creation of accounting for eligible Payables payments and confirm expected cash, liability and related accounting results.",
    "confirms": [
      "accounting is generated successfully for an eligible, completed payment",
      "the liability account is relieved appropriately for the paid invoice(s)",
      "the cash or cash-clearing account is represented correctly for the payment method used",
      "total debits and credits balance across the generated accounting event",
      "the accounting date is correct and falls within an open accounting period",
      "the payment's accounting status updates correctly once accounting is generated",
      "General Ledger transfer/posting is reflected correctly where included in the scenario's scope",
      "no unexpected accounting errors occur during accounting generation"
    ],
    "scope_note": "This scenario does not claim that General Ledger posting is validated for every payment — that depends on the customer's specific Oracle Fusion configuration and is confirmed only where GL transfer is included in the tested scope."
  },
  "preconditions": [
    "Oracle Fusion Payables is configured and available, with appropriate user access to payment accounting functions.",
    "A payment exists that is completed and eligible for accounting generation.",
    "The accounting period intended for the payment is open.",
    "Valid liability and cash/clearing accounts are configured for the business unit and payment method involved.",
    "A valid ledger is available and assigned for the payment's business unit.",
    "The test user has permission to generate accounting for Payables payments."
  ],
  "test_data": [
    {
      "field": "Supplier",
      "example": "${SUPPLIER}"
    },
    {
      "field": "Payment Number",
      "example": "${PAYMENT_NUMBER}"
    },
    {
      "field": "Payment Amount",
      "example": "${PAYMENT_AMOUNT}"
    },
    {
      "field": "Payment Currency",
      "example": "${PAYMENT_CURRENCY}"
    },
    {
      "field": "Payment Method",
      "example": "Check / EFT / Wire, per payment configuration"
    },
    {
      "field": "Liability Account",
      "example": "${LIABILITY_ACCOUNT}"
    },
    {
      "field": "Cash/Clearing Account",
      "example": "${CASH_CLEARING_ACCOUNT}"
    },
    {
      "field": "Accounting Date",
      "example": "${ACCOUNTING_DATE}"
    },
    {
      "field": "Ledger",
      "example": "${LEDGER}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Locate Eligible Payment",
      "action": "Search for and open the Payables payment that is completed and eligible for accounting generation.",
      "test_data": "${PAYMENT_NUMBER}",
      "expected_result": "The correct payment is located and its status confirms it is eligible for accounting generation.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening payment search, entering the payment number, clicking Search and selecting the result."
    },
    {
      "step_number": 2,
      "step_name": "Confirm Payment Completion Status",
      "action": "Review the payment's status to confirm it has completed processing and is eligible for accounting.",
      "test_data": "",
      "expected_result": "The payment status confirms it is complete and ready for accounting generation.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Initiate Accounting Generation",
      "action": "Initiate the Create Accounting process for the selected payment.",
      "test_data": "",
      "expected_result": "The Create Accounting request is accepted and accounting generation begins without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Review Liability Accounting",
      "action": "Review the liability distribution generated for the paid invoice(s), confirming the account relieved.",
      "test_data": "${LIABILITY_ACCOUNT}",
      "expected_result": "The liability account is relieved appropriately and reflects the expected amount.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Review Cash/Clearing Accounting",
      "action": "Review the cash or cash-clearing distribution generated for the payment method used.",
      "test_data": "${CASH_CLEARING_ACCOUNT}",
      "expected_result": "The cash or cash-clearing account is represented correctly for the payment amount and method.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Verify Debit and Credit Entries Balance",
      "action": "Review the total debit and credit amounts across all distributions generated for the accounting event.",
      "test_data": "",
      "expected_result": "Total debits equal total credits for the accounting event.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Verify Accounting Status",
      "action": "Review the payment's accounting status and accounting date following accounting generation.",
      "test_data": "${ACCOUNTING_DATE}",
      "expected_result": "The accounting status updates correctly to reflect that accounting has been generated, and the accounting date falls within the open period.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Confirm GL Transfer/Posting State If In Scope",
      "action": "Where General Ledger transfer is included in the tested scope, review the transfer/posting status of the generated accounting; otherwise confirm the accounting is complete with no unexpected errors.",
      "test_data": "${LEDGER}",
      "expected_result": "Where GL transfer is included in the tested scope, the transfer/posting status is reflected correctly; otherwise the accounting is confirmed complete with balanced liability and cash/clearing distributions and no unexpected accounting errors.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario. GL transfer/posting is validated only where explicitly included in the tested scope — this step does not assert that posting occurs universally."
    }
  ],
  "expected_results": [
    "Accounting is generated successfully for the eligible, completed payment.",
    "The liability account is relieved appropriately for the paid invoice(s).",
    "The cash or cash-clearing account is represented correctly for the payment method used.",
    "Total debits equal total credits across the generated accounting event.",
    "The accounting date falls within the open accounting period.",
    "The payment's accounting status updates correctly to reflect that accounting has been generated.",
    "Where GL transfer is included in the tested scope, General Ledger transfer/posting reflects the expected status.",
    "No unexpected accounting errors occur."
  ],
  "validation_checkpoints": [
    "Accounting process completes without unexpected errors.",
    "Payment accounting status updates correctly.",
    "Liability account is relieved appropriately.",
    "Cash/clearing account is represented correctly.",
    "Debit and credit entries are balanced for the accounting event.",
    "Accounting date is correct and within the open period.",
    "Currency and accounting amounts are correct.",
    "Accounting exceptions, if any, are captured with an expected reason.",
    "GL transfer/posting state is correct only where explicitly included in the tested scope."
  ]
}
