{
  "test_id": "ORCL.P2P.AP.PAY.CREATE",
  "scenario_name": "Create Payment",
  "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/create-payment/",
  "objective": {
    "intro": "This test validates that Oracle Fusion Payables can create a supplier payment for an eligible, validated invoice using a valid supplier, invoice, payment method, disbursement bank account, currency and payment date.",
    "confirms": [
      "the correct supplier, supplier site and invoice are selected for payment",
      "the payment method and disbursement bank account are valid and accepted for the transaction",
      "the payment amount, currency and payment date are correctly applied",
      "Oracle Fusion creates the payment and returns a unique payment identifier",
      "the source invoice's payment status is updated to reflect the new payment",
      "the resulting payment record is available for subsequent validation, processing and accounting steps"
    ],
    "scope_note": "This scenario validates creation of the payment itself. Downstream payment validation, processing (including electronic payment file generation), void handling and payment accounting are covered by separate test scenarios within the same AP Payment lifecycle."
  },
  "preconditions": [
    "The invoice exists in Oracle Fusion Payables and has been validated.",
    "The invoice satisfies any required approval status before it can be paid.",
    "The invoice is not subject to an applicable payment hold.",
    "The supplier and supplier site are active and configured for payment.",
    "Supplier payment information — such as banking details and payment method — is valid and complete.",
    "A disbursement bank account is configured for the business unit and payment method.",
    "The applicable payment method and, where required, payment process profile are available.",
    "The accounting date and payment date fall within a valid, open period."
  ],
  "test_data": [
    {
      "field": "Business Unit",
      "example": "${BUSINESS_UNIT}"
    },
    {
      "field": "Supplier",
      "example": "${SUPPLIER}"
    },
    {
      "field": "Supplier Site",
      "example": "${SUPPLIER_SITE}"
    },
    {
      "field": "Invoice Number",
      "example": "${INVOICE_NUMBER}"
    },
    {
      "field": "Invoice Amount",
      "example": "${INVOICE_AMOUNT}"
    },
    {
      "field": "Payment Amount",
      "example": "${PAYMENT_AMOUNT}"
    },
    {
      "field": "Payment Method",
      "example": "${PAYMENT_METHOD}"
    },
    {
      "field": "Payment Currency",
      "example": "${PAYMENT_CURRENCY}"
    },
    {
      "field": "Disbursement Bank Account",
      "example": "${DISBURSEMENT_BANK_ACCOUNT}"
    },
    {
      "field": "Payment Date",
      "example": "${PAYMENT_DATE}"
    },
    {
      "field": "Payment Process Profile",
      "example": "${PAYMENT_PROCESS_PROFILE} — where applicable"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In to Oracle Fusion",
      "action": "Sign in to Oracle Fusion Cloud with a user account that has Accounts Payable payment processing access.",
      "test_data": "",
      "expected_result": "The Oracle Fusion Cloud home page loads successfully for the authenticated user.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Payables",
      "action": "Navigate to the Payables work area.",
      "test_data": "",
      "expected_result": "The Payables work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Open Payments",
      "action": "Open the Payments task within Payables to begin creating a new payment.",
      "test_data": "",
      "expected_result": "The Create Payment page opens.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Select Eligible Supplier/Invoice",
      "action": "Select the supplier, supplier site and eligible validated invoice to be paid.",
      "test_data": "${SUPPLIER} / ${SUPPLIER_SITE} / ${INVOICE_NUMBER}",
      "expected_result": "The selected supplier, site and invoice are accepted, and invoice details are displayed.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as searching for the supplier, selecting the site, filtering eligible invoices and selecting the invoice line."
    },
    {
      "step_number": 5,
      "step_name": "Enter Payment Details",
      "action": "Enter the payment amount, currency and payment date for the selected invoice.",
      "test_data": "${PAYMENT_AMOUNT} / ${PAYMENT_CURRENCY} / ${PAYMENT_DATE}",
      "expected_result": "Payment details are accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Select Payment Method",
      "action": "Select the payment method to be used for the payment.",
      "test_data": "${PAYMENT_METHOD}",
      "expected_result": "The selected payment method is accepted and applicable payment process profile options are updated accordingly.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Select Disbursement Bank Account",
      "action": "Select the disbursement bank account from which the payment will be issued.",
      "test_data": "${DISBURSEMENT_BANK_ACCOUNT}",
      "expected_result": "The selected bank account is accepted as a valid disbursement account for the payment method and business unit.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Review Payment Amount",
      "action": "Review the calculated payment amount against the invoice amount and any applicable discount before submitting.",
      "test_data": "${INVOICE_AMOUNT} / ${PAYMENT_AMOUNT}",
      "expected_result": "The payment amount displayed matches the expected amount for the selected invoice.",
      "validation_type": "action"
    },
    {
      "step_number": 9,
      "step_name": "Create Payment",
      "action": "Submit the payment for creation.",
      "test_data": "",
      "expected_result": "Oracle Fusion creates the payment and returns a confirmation.",
      "validation_type": "action"
    },
    {
      "step_number": 10,
      "step_name": "Confirm Payment Status",
      "action": "Review the resulting payment status.",
      "test_data": "",
      "expected_result": "The payment status reflects successful creation, consistent with the customer's payment status configuration.",
      "validation_type": "action"
    },
    {
      "step_number": 11,
      "step_name": "Capture Payment Identifier",
      "action": "Capture the system-generated payment number for traceability.",
      "test_data": "",
      "expected_result": "A unique payment identifier is generated and retrievable.",
      "validation_type": "action"
    },
    {
      "step_number": 12,
      "step_name": "Verify Invoice Payment Status",
      "action": "Navigate to the source invoice and confirm its payment status has been updated to reflect the new payment.",
      "test_data": "",
      "expected_result": "The invoice payment status and applied amount correctly reflect the created payment rather than remaining unpaid.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — the test does not stop merely because the payment was created; the source invoice must correctly reflect the resulting payment."
    }
  ],
  "expected_results": [
    "A payment is created successfully for the selected supplier and invoice using a valid payment method, bank account, currency and date.",
    "The correct payment amount is applied against the invoice.",
    "The payment method and disbursement bank account match the selected values.",
    "Payment status reflects successful creation.",
    "A unique payment identifier is generated.",
    "Invoice payment status updates correctly to reflect the new payment.",
    "The payment record is retrievable for subsequent validation, processing and accounting scenarios."
  ],
  "validation_checkpoints": [
    "Payment created successfully.",
    "Correct supplier used.",
    "Correct invoice referenced.",
    "Correct payment amount.",
    "Correct payment method.",
    "Correct bank account.",
    "Correct payment date.",
    "Invoice payment status updated appropriately.",
    "Payment identifier generated.",
    "Payment record retrievable."
  ]
}
