{
  "test_id": "ORCL.P2P.AP.INV.CREATE.STANDARD",
  "scenario_name": "Create Standard Supplier Invoice",
  "application": "Oracle Fusion Cloud",
  "product": "Financials",
  "module": "Accounts Payable",
  "process": "Invoice Processing",
  "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/invoice-processing/create-standard-invoice/",
  "objective": {
    "intro": "The objective of this test is to verify that an authorised Accounts Payable user can successfully create a standard supplier invoice in Oracle Fusion Payables using valid business unit, supplier, invoice header, invoice line and accounting distribution information.",
    "confirms": [
      "the selected Business Unit is accepted",
      "the correct supplier can be selected",
      "invoice header information can be entered",
      "invoice amount and line amount are accepted",
      "a valid accounting distribution is assigned",
      "the invoice can be saved successfully",
      "the saved invoice is available for subsequent lifecycle processing"
    ],
    "scope_note": "This scenario does not claim that the invoice is validated, approved, accounted or paid \u2014 those are separate downstream test cases."
  },
  "preconditions": [
    "Oracle Fusion Payables is configured and available.",
    "Relevant Business Unit exists.",
    "Supplier exists and is active.",
    "Supplier Site is active and valid for the Business Unit.",
    "Invoice currency is configured.",
    "Accounting period is open.",
    "Valid accounting distribution combination is available.",
    "Appropriate payment terms are configured.",
    "The test user has permission to create Payables invoices."
  ],
  "test_data": [
    {
      "field": "Business Unit",
      "example": "Vision Operations"
    },
    {
      "field": "Supplier",
      "example": "ABC Office Supplies"
    },
    {
      "field": "Supplier Site",
      "example": "PRIMARY"
    },
    {
      "field": "Invoice Number",
      "example": "SYN-AP-10001"
    },
    {
      "field": "Invoice Type",
      "example": "Standard"
    },
    {
      "field": "Invoice Date",
      "example": "Current Test Date"
    },
    {
      "field": "Invoice Amount",
      "example": "1,000.00"
    },
    {
      "field": "Currency",
      "example": "USD"
    },
    {
      "field": "Line Amount",
      "example": "1,000.00"
    },
    {
      "field": "Description",
      "example": "Syntra Standard AP Invoice Test"
    },
    {
      "field": "Payment Terms",
      "example": "Net 30"
    },
    {
      "field": "Distribution Account",
      "example": "Valid test account combination"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign in to Oracle Fusion",
      "action": "Sign in to the Oracle Fusion environment using an authorised Accounts Payable 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": "Open the Navigator",
      "action": "Open the Oracle Fusion Navigator.",
      "test_data": "",
      "expected_result": "The Navigator menu is displayed and available application areas can be accessed.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Navigate to Payables > Invoices",
      "action": "Navigate to the Payables Invoices work area.",
      "test_data": "",
      "expected_result": "The Payables Invoices work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Open Create Invoice",
      "action": "Open Tasks and select Create Invoice.",
      "test_data": "",
      "expected_result": "The Create Invoice page is displayed.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Enter Business Unit",
      "action": "Select or enter the required Business Unit.",
      "test_data": "Vision Operations",
      "expected_result": "The Business Unit is accepted and invoice-entry fields are available.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Search for and Select Supplier",
      "action": "Open Supplier search, search for the required supplier, select the supplier and confirm the selection.",
      "test_data": "ABC Office Supplies",
      "expected_result": "The correct supplier is selected and supplier-related details are populated or available.",
      "validation_type": "action",
      "note": "This single business step replaces multiple technical actions such as opening search, entering supplier, clicking Search, selecting the result and clicking OK."
    },
    {
      "step_number": 7,
      "step_name": "Enter Invoice Number",
      "action": "Enter the supplier invoice number.",
      "test_data": "${INVOICE_NUMBER} \u2014 e.g. SYN-AP-10001",
      "expected_result": "Invoice number is accepted.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Enter Invoice Amount",
      "action": "Enter the total invoice amount.",
      "test_data": "${INVOICE_AMOUNT}",
      "expected_result": "Invoice amount is accepted and displayed correctly.",
      "validation_type": "action"
    },
    {
      "step_number": 9,
      "step_name": "Enter Invoice Description",
      "action": "Enter a meaningful invoice description.",
      "test_data": "${INVOICE_DESCRIPTION}",
      "expected_result": "Description is accepted and retained.",
      "validation_type": "action"
    },
    {
      "step_number": 10,
      "step_name": "Enter Invoice Date",
      "action": "Select or enter the invoice date.",
      "test_data": "${INVOICE_DATE}",
      "expected_result": "The required invoice date is populated correctly.",
      "validation_type": "action",
      "note": "The automation may use several date-picker actions internally. Individual increment/decrement actions are not exposed as separate business test steps."
    },
    {
      "step_number": 11,
      "step_name": "Enter Invoice Line Amount",
      "action": "Enter the amount for invoice line 1.",
      "test_data": "${LINE_AMOUNT}",
      "expected_result": "The line amount is accepted and agrees with the intended invoice total.",
      "validation_type": "action"
    },
    {
      "step_number": 12,
      "step_name": "Enter Accounting Distribution",
      "action": "Enter or select the valid accounting distribution for the invoice line.",
      "test_data": "${DISTRIBUTION_ACCOUNT}",
      "expected_result": "The accounting distribution is accepted without unexpected validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 13,
      "step_name": "Review Invoice Details",
      "action": "Review invoice header, supplier, invoice amount, date, line amount and accounting distribution.",
      "test_data": "",
      "expected_result": "Required invoice information is complete and internally consistent. Invoice amount and line amount agree for this single-line scenario.",
      "validation_type": "action"
    },
    {
      "step_number": 14,
      "step_name": "Save the Invoice",
      "action": "Select Save.",
      "test_data": "",
      "expected_result": "Oracle Fusion successfully processes the save request without unexpected errors.",
      "validation_type": "action"
    },
    {
      "step_number": 15,
      "step_name": "Verify Invoice Creation",
      "action": "Confirm the Oracle save acknowledgement and verify that the newly created invoice record is available.",
      "test_data": "",
      "expected_result": "The invoice is successfully created and can be identified by the entered invoice number or generated record identifier. Where technically possible, the invoice is retrieved or confirmed after Save.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario \u2014 the test does not stop merely because Save was clicked successfully."
    }
  ],
  "expected_results": [
    "Standard supplier invoice is created successfully.",
    "Correct Business Unit is associated with the invoice.",
    "Correct supplier is associated with the invoice.",
    "Invoice number, date, amount and description are retained.",
    "Invoice line amount is entered successfully.",
    "Valid accounting distribution is associated with the line.",
    "Invoice total and line total are consistent.",
    "No unexpected save errors occur.",
    "Newly created invoice can be identified or retrieved after Save.",
    "Invoice is available for subsequent validation, approval, accounting and payment scenarios."
  ],
  "validation_checkpoints": [
    "Business Unit matches the intended test data.",
    "Supplier selection is correct.",
    "Invoice number is populated correctly.",
    "Invoice number satisfies applicable duplicate rules.",
    "Invoice amount is correct.",
    "Invoice date is correct.",
    "Line amount equals expected value.",
    "Header amount and line amount are consistent.",
    "Accounting distribution is valid.",
    "Save acknowledgement is received.",
    "Invoice record exists after Save.",
    "Captured invoice number/identifier can be used by subsequent automated scenarios."
  ]
}