Oracle ERP Testing Tool > Test Library > Financials > Accounts Payable > Invoice Processing
Syntra Standard Oracle Test Library

Oracle Fusion Invoice Accounting Test Cases

Validate that Oracle Fusion generates correct, balanced accounting entries for validated Payables invoices - covering standard, PO-matched, credit memo, and prepayment scenarios across Draft and Final accounting modes.

Test IDORCL.P2P.AP.INV.ACCOUNTING
ApplicationOracle Fusion Cloud
ProductFinancials
ModuleAccounts Payable
ProcessInvoice Processing
Business FlowProcure-to-Pay
Scenario TypePositive / Functional
Test UsageFunctional Testing / Regression Testing / UAT
PriorityHigh
AutomationSyntraFlow Ready
LibrarySyntra Standard

Note on test design: SyntraFlow executes the detailed Oracle Fusion UI interactions automatically while presenting the scenario as business-readable test steps for documentation, review and reporting. This scenario is presented as 13 business-readable test steps; SyntraFlow's automation executes approximately 36 underlying Oracle Fusion UI actions to complete it.

Test Objective

Validate that Oracle Fusion Payables correctly creates accounting for eligible invoices and confirm the resulting accounting outcome matches the expected debit and credit treatment.

The scenario should confirm that:

  • Only invoices with a Validated status (and required approvals complete) are eligible for Create Accounting
  • The Create Accounting process derives correct debit and credit lines based on Subledger Accounting rules
  • Invoice accounting status updates from Unaccounted to Accounted, or Partially Accounted where applicable
  • The accounting date assigned to generated entries falls within an Open or Future-Enterable period
  • Distribution combinations used for accounting are valid, active, and reflect the correct expense, liability, or prepayment accounts
  • Multi-line and multi-distribution invoices generate one balanced accounting entry set per invoice
  • Draft mode accounting can be previewed and reviewed before Final mode accounting is submitted
  • Accounting exceptions (invalid combination, closed period, incomplete distribution) are correctly captured and reported
  • Credit memo and prepayment invoices generate the correct reversing or asset-based accounting treatment

This scenario validates accounting creation only; it does not assert that journal entries have been transferred to or posted in the General Ledger unless that action is explicitly included in the scenario steps.

When to Use This Test

  • Validate accounting generation for standard, PO-matched, credit memo, and prepayment invoices ahead of period close
  • Confirm invoice accounting status transitions correctly during regression testing after Payables patch updates
  • Verify accounting exceptions are correctly raised for invoices in closed periods or with invalid distribution combinations
  • Test accounting derivation consistency across different ledger and chart-of-accounts configurations
  • Confirm the Draft mode accounting review workflow before committing Final mode accounting
  • Validate accounting behavior for multi-line invoices with mixed expense, freight, and tax distributions

Where This Test Fits in the Procure-to-Pay Process

Invoice
Validation
Approval where required
Create Accounting
Accounting Result
General Ledger

Create Accounting is a Subledger Accounting (SLA) process that runs after invoice validation and approval, translating invoice distributions into balanced journal entries; transfer to and posting in General Ledger are separate downstream actions outside this scenario's assertions.

Preconditions

  1. Invoice exists in Payables with Validation Status = Validated and, where required, Approval Status = Approved
  2. Invoice has no active holds that would block the accounting process
  3. The ledger and business unit configuration has an active Subledger Accounting method assigned
  4. The accounting period corresponding to the invoice's accounting date is Open or Future-Enterable in both Payables and General Ledger calendars
  5. Distribution lines reference valid, enabled natural account and distribution combinations (charge, liability, prepayment, or tax accounts as applicable)
  6. Application Accounting Definitions, Journal Line Rules, and Account Rules are configured for the Payables subledger
  7. User has role access to run Create Accounting (Submit Accounting) from the invoice or via Scheduled Processes
  8. Supplier and business unit are associated with a liability account per Payables Financial Options setup
  9. For PO-matched invoices, purchase order distribution and accrual accounts are valid and available for derivation

Exact setup and field availability may vary by Oracle Fusion implementation and security configuration.

Sample Test Data

Invoice NumberINV-AP-100245
Business UnitUS1 Business Unit
SupplierGlobal Parts Supply Inc.
Invoice TypeStandard
Invoice Amount12,450.00 USD
Accounting Date15-Aug-2026
LedgerUS Primary Ledger
Expense Distribution01-000-7420-0000-000 (Office Supplies Expense)
Liability Account01-000-2210-0000-000 (AP Trade Liability)
Accounting PeriodAug-2026
Accounting ModeDraft, then Final
CurrencyUSD (Ledger Currency)

Sample values are illustrative. Replace them with valid data from the target Oracle Fusion environment.

Test Steps

13 business-readable steps. SyntraFlow's automation executes ~36 underlying UI actions to complete these steps — see How SyntraFlow Automates This Test.

#User ActionExpected Result
1
Confirm invoice eligibility
Open the invoice in Manage Invoices and confirm Validation Status = Validated with no blocking holds
Invoice Number: INV-AP-100245
Invoice status confirmed as Validated and eligible for accounting
2
Confirm accounting period status
Verify the accounting period corresponding to the invoice's accounting date is Open in Payables and General Ledger
Period: Aug-2026
Accounting period status = Open
3
Submit Create Accounting in Draft mode
From the invoice, select Actions > Create Accounting and run with Accounting Mode = Draft
Accounting Mode: Draft
Process completes and draft accounting entries are generated for review
4
Review draft accounting entries
Open the Review Accounting Entries page and inspect the generated debit and credit lines
Draft entries display balanced debit expense and credit liability lines matching the distribution setup
5
Confirm no draft accounting errors
Check the draft accounting output for exceptions or unposted lines before proceeding to Final mode
No accounting exceptions are present in the draft run
6
Submit Create Accounting in Final mode
Rerun Create Accounting on the invoice with Accounting Mode = Final
Accounting Mode: Final
Process completes successfully and invoice accounting status updates to Accounted
7
Verify invoice accounting status
Navigate back to the invoice header and check the Accounting Status field
Accounting Status = Accounted
8
Verify accounting entries
Open View Accounting Journal Entries for the invoice and inspect the generated lines
Journal entries show a debit to the Expense/Charge account and a credit to the AP Liability account, with amounts equal to invoice line and tax totals
9
Verify accounting date and period
Confirm the accounting date on the generated journal matches the invoice's designated accounting date and period
Accounting Date: 15-Aug-2026
Accounting date = 15-Aug-2026, accounting period = Aug-2026
10
Verify distribution-to-account mapping
Compare each invoice distribution line to its corresponding generated accounting line
Every distribution line maps to a correct and traceable accounting line
11
Verify multi-line invoice balancing
For invoices with multiple distributions, sum total debits and total credits across the accounting set

Applies to multi-line and multi-distribution variations

Total debits equal total credits for the invoice's accounting entry set
12
Verify scenario-specific accounting treatment
For PO-matched, credit memo, or prepayment invoices, confirm the accounts and entry direction reflect the correct treatment (PO accrual derivation, reversed debit/credit for credit memos, or prepayment asset account for prepayments)

Applies to PO-Matched, Credit Memo, and Prepayment variations

Scenario-specific accounts and entry direction are correctly applied
13
Confirm overall invoice accounting outcomeBusiness assertion
Review the complete accounting result for the invoice against the expected accounting treatment for its scenario type
Invoice accounting reflects the correct financial treatment: accurate accounts, balanced entries, correct accounting date, and Accounted status

Expected Results

  • Invoice accounting status changes from Unaccounted to Accounted after successful Final mode processing
  • Draft mode accounting entries are available for preview prior to Final submission
  • Debit and credit accounting lines are generated in balance for each invoice distribution
  • Expense or charge accounts reflect the correct natural account per the distribution setup
  • The AP Liability account is correctly credited for the invoice liability amount
  • Accounting date and period on generated entries match the invoice's designated accounting date
  • PO-matched invoices derive distribution accounts consistent with purchase order accounting setup
  • Credit memo and prepayment invoices generate the appropriate reversing or asset-based accounting treatment
  • Accounting exceptions are captured and displayed in Review Accounting Errors for ineligible invoices
  • No unexpected system errors occur during Draft or Final accounting submission for eligible invoices

Key Validation Checkpoints

  • Accounting process completes without error for eligible invoices
  • Invoice accounting status correctly reflects Accounted, Partially Accounted, or Unaccounted
  • Expected accounting entries (debit and credit) are generated per distribution line
  • The liability account is accurately represented and equals the invoice liability amount
  • Expense, charge, or prepayment accounts are accurately represented per distribution combination
  • Accounting date assigned to journal entries matches the invoice's accounting date
  • Accounting period is correctly derived and confirmed open at time of processing
  • Accounting errors and exceptions are correctly captured for ineligible invoices (closed period, invalid combination, unvalidated invoice)
  • Draft accounting entries match Final accounting entries when no changes occur between runs
  • Multi-line invoices produce balanced accounting sets where total debits equal total credits
  • PO-matched invoice distributions correctly inherit purchase order accounting setup
  • Credit memo accounting entries correctly reverse the original invoice's accounting direction
Core Business Scenario
Invoice Accounting
Business Steps
13
Test Variations
AI-Generated
Test Data
DataVault-Driven
Execution
On-Demand / Scheduled / Batch
Automation
SyntraFlow Ready
Jarvis AI

Go Beyond the Standard Test with Jarvis AI

The Syntra Standard Test Library defines the core business scenario. Jarvis AI can extend this scenario by generating additional positive and negative test variations using customer-specific test data and configuration available through Syntra DataVault.

Teams do not need to manually duplicate the same invoice accounting test case dozens of times simply to cover different combinations of data and configuration. Jarvis uses the standard business scenario as the foundation and generates relevant variations for the customer's environment.

From Standard Test to Executed Regression Pack

01
Syntra Standard Test
Reusable business process and automation logic.
02
Customer DataVault
Provides approved customer-specific test data and configuration required for scenario generation — Business Units, Suppliers, Supplier Sites, Currencies, Payment Terms, Accounting combinations, Tax configurations, Dates, Amounts and other relevant test attributes.
03
Jarvis AI
Analyses the standard scenario together with available test data and generates relevant scenario variations.
04
Positive + Negative Test Variations
Positive, negative, boundary and configuration-specific scenarios.
05
Regression Pack
Selected variations can be grouped into an executable suite.
06
On-Demand / Scheduled / Batch Execution
Execute immediately or schedule the regression pack for unattended batch execution.
07
Results + Evidence + Exceptions
Capture execution results, business assertions, screenshots/evidence and exceptions.

Rather than maintaining dozens of near-duplicate copies of the same test, SyntraFlow maintains the core business scenario and allows Jarvis AI to generate relevant variations using the customer's available test data.

AI-Generated Test Variations

The same Create Standard Supplier Invoice business scenario can produce many test variations without creating separate public library pages. Below is a real slice of SyntraFlow's Build Scripts library, filtered to Accounts Payable Invoice Processing.

Positive Scenarios
  • Account standard invoice
  • Account PO-matched invoice
  • Account credit memo
  • Account prepayment
  • Multi-line invoice accounting
  • Multiple distributions
  • Different accounting dates
  • Different ledger/configuration combinations
Negative Scenarios
  • Unvalidated invoice
  • Invalid distribution
  • Closed accounting period
  • Accounting configuration exception
  • Incomplete accounting data
  • Other expected accounting exceptions

These are representative examples only. Expected behavior can depend on the customer's Oracle Fusion configuration, controls and security — not every Oracle configuration behaves identically.

Generated Using Your DataVault Test Data

DataVault supplies the ledger, period, account, and distribution template combinations behind each invoice accounting scenario, letting Syntra Standard generate realistic accounting variations without hand-authoring every account string.

Standard Library Definition

Invoice: INV-AP-100245
Business Unit: US1 Business Unit
Ledger: US Primary Ledger
Accounting Date: {ACCOUNTING_DATE}
Expense Distribution: {EXPENSE_ACCOUNT}
Liability Distribution: {LIABILITY_ACCOUNT}
Accounting Mode: Draft -> Final

DataVault

Ledgers: [US Primary Ledger, UK Primary Ledger, APAC Secondary Ledger]
Accounting Periods: [Jul-2026 (Closed), Aug-2026 (Open), Sep-2026 (Future-Enterable)]
Accounts: [7420-Office Supplies Expense, 7510-Freight Expense, 1410-Prepayments Asset, 2210-AP Trade Liability]
Distribution Templates: [Standard Expense, PO Accrual, Prepayment Asset, Multi-Line Mixed]

Jarvis AI Generates

GEN-01: US Primary Ledger | Aug-2026 (Open) | 7420-Office Supplies / 2210-AP Liability | Standard Expense
GEN-02: UK Primary Ledger | Aug-2026 (Open) | 7510-Freight / 2210-AP Liability | Multi-Line Mixed
GEN-03: US Primary Ledger | Jul-2026 (Closed) | 7420-Office Supplies / 2210-AP Liability | Standard Expense [Negative]
GEN-04: APAC Secondary Ledger | Sep-2026 (Future-Enterable) | 1410-Prepayments / 2210-AP Liability | Prepayment Asset
GEN-05: US Primary Ledger | Aug-2026 (Open) | 7610-PO Accrual / 2210-AP Liability | PO Accrual
GEN-06: US Primary Ledger | Aug-2026 (Open) | 9999-Invalid Combination / 2210-AP Liability | Standard Expense [Negative]

Customer-specific test data and AI-generated variations are not published to the Syntra Standard Test Library. They remain within the customer's controlled SyntraFlow environment and access model.

Example Test Variations

Explore how Syntra Standard varies invoice accounting scenarios across ledgers, periods, distribution types, and expected exceptions - each row is a Syntra-ready test case generated from the DataVault combinations above.

IDVariationTypeKey DifferenceExecution
VAR-001Standard Invoice - Draft to Final AccountingStandardSingle-line standard invoice; accounting run in Draft mode then Final modeSyntra Ready
VAR-002PO-Matched Invoice AccountingPO-MatchedDistribution combination derived from PO accrual account rather than manual entrySyntra Ready
VAR-003Credit Memo Reversal AccountingCredit MemoAccounting direction reversed relative to the original invoice: debit liability, credit expenseSyntra Ready
VAR-004Prepayment Invoice AccountingStandardDebits the Prepayment asset account instead of an expense accountSyntra Ready
VAR-005Multi-Line Mixed Distribution AccountingMulti-LineFive distribution lines spanning expense, freight, and tax accounts on one invoiceSyntra Ready
VAR-006Cross-Ledger Accounting - UK Primary LedgerStandardSame scenario re-run against the UK Primary Ledger configuration and chart of accountsSyntra Ready
VAR-007Unvalidated Invoice Accounting AttemptNegativeCreate Accounting submitted before the invoice reaches Validated statusSyntra Ready
VAR-008Closed Period Accounting ExceptionNegativeAccounting date falls within a closed Payables/GL periodSyntra Ready
VAR-009Invalid Distribution Combination ExceptionNegativeDistribution references an inactive or invalid natural account combinationSyntra Ready
VAR-010Incomplete Accounting Data ExceptionNegativeDistribution line is missing a required accounting flexfield segmentSyntra Ready

Automatically Expand Positive and Negative Test Coverage

Positive Testing

Jarvis generates scenarios using combinations expected to successfully complete the business process.

Valid data → Invoice Accounting completes successfully

Negative Testing

Jarvis can generate scenarios designed to exercise validations, business rules and exception handling.

  • Unvalidated invoice → Expected Oracle validation
  • Invalid distribution → Expected Oracle validation
  • Closed accounting period → Expected Oracle validation

A negative test should not be marked as failed simply because Oracle rejects the transaction. If the expected Oracle validation occurs, the negative test has passed.

ScenarioOracle OutcomeTest Result
Standard invoice accounting (Final mode)Accounting entries generated; invoice status = AccountedPASS
PO-matched invoice accountingDistribution accounts correctly derived from PO accrual setup; status = AccountedPASS
Accounting attempted on a closed periodOracle correctly blocks accounting with a period-not-open exceptionPASS
Accounting attempted with an invalid distribution combinationOracle correctly rejects the entry with an inactive-account-combination errorPASS
Accounting submitted for an unvalidated invoiceUnexpected system error - process failed without a clear exception message routed to Review Accounting ErrorsFAIL

Turn AI-Generated Variations into a Regression Pack

Users can select generated scenarios and group them into reusable execution packs.

AP Invoice Accounting Regression Pack

  • Standard Invoice Accounting
  • PO-Matched Invoice Accounting
  • Credit Memo Accounting
  • Prepayment Accounting
  • Multi-Line Distribution Accounting
  • Cross-Ledger Accounting
  • Unvalidated Invoice Exception
  • Closed Period Exception
  • Invalid Distribution Exception
  • Incomplete Accounting Data Exception
Add Selected to Regression Pack(coming soon)Run Now(coming soon)Schedule(coming soon)

Run On-Demand or Schedule Automated Batch Execution

SyntraFlow can execute selected scenarios individually or as a batch. Users can schedule regression packs according to their testing cycle.

Once scheduled, SyntraFlow executes the selected scenarios unattended and records the outcome of each test and business assertion.

Run immediatelyNightly regressionWeekly regressionBefore releaseAfter configuration changesAfter environment refreshQuarterly Oracle update testingPre-UAT validation
PackAP Invoice Accounting Regression Pack
ScheduleWeekly Regression
Tests20 scenarios
ExecutionBatch Mode
Start10:00 PM
EnvironmentOracle Fusion TEST
StatusScheduled

Illustrative example — not a live schedule.

Review Results Across the Entire Test Pack

Users can drill from the regression pack into a scenario, its business steps, the underlying automation actions, and the evidence captured for each.

Illustrative example data — not actual production metrics.

42
Total Scenarios
39
Passed
1
Failed
2
Exceptions
28
Positive Tests
14
Negative Tests
42
Business Assertions

Regression Pack → Scenario → Business Step → Automation Action → Evidence

From Business Scenario to Execution Evidence

Business teams get readable test documentation; automation teams retain detailed execution traceability.

Standard Business Scenario
AI-Generated Variation
Regression Pack
Business Test Step
Automation Actions
Business Assertion
Screenshot / Evidence
Execution Result

Meet Jarvis — SyntraFlow's AI Testing Engine

Jarvis extends the Syntra Standard Test Library by analysing the business scenario, available DataVault test data and expected business outcomes to generate additional test coverage for the customer's environment.

Generate
Positive and negative variations.
Parameterize
Use relevant test data from DataVault.
Assemble
Build reusable regression packs.
Execute
Run scenarios autonomously.
Schedule
Execute unattended test batches.
Validate
Evaluate expected business outcomes.

How SyntraFlow Automates This Test

The Standard Test defines the scenario; DataVault, Jarvis AI and SyntraFlow's execution engine take it from a single reusable business definition to executed, evidenced regression coverage.

Standard Library — Invoice Accounting, 13 Business Steps
DataVault — Customer-Specific Test Data
Jarvis AI — Generate Positive + Negative Variations
Regression Pack — Select Relevant Coverage
SyntraFlow Execution — Each Variation
Detailed UI Actions
Business Assertions
Evidence
PASS / FAIL

Business Step → Underlying UI Actions

Business Step
Submit Create Accounting in Final mode
May internally include
Open Invoice Workbench -> Select invoice INV-AP-100245 -> Click Actions -> Select Create Accounting -> Set Accounting Mode = Final -> Set Process Category = Payables -> Click Submit -> Confirm process completion
Business Step
Verify accounting entries and status
May internally include
Open invoice -> Click View Accounting -> Expand Journal Entries tab -> Confirm debit/credit lines and amounts -> Navigate to invoice header -> Confirm Accounting Status field = Accounted

What SyntraFlow Captures Per Run

Parameterised input valuesReusable navigationAutomation action traceScreenshots / evidence captureExecution timingPass / fail statusBusiness assertionsEnvironment-independent test data

Action Status vs. Business Validation

A successful UI interaction does not automatically prove the business outcome — this is illustrative of how SyntraFlow separates action success from business validation; it does not reflect a specific live execution.

StepAction StatusBusiness Validation
Submit Create Accounting - Draft modePass
Submit Create Accounting - Final modePassPass
Verify accounting entries balance (debit = credit)PassPass
Attempt accounting on invoice with invalid distribution combinationPassPass

Related Oracle Fusion AP Invoice Test Cases

Part of the same Procure-to-Pay invoice lifecycle. Linked cards are live; the rest are on the Syntra Standard Test Library roadmap.

Turn This Standard Test into Your Oracle Regression Suite

Start with the Syntra Standard Invoice Accounting test, use DataVault to provide environment-specific test data, let Jarvis generate additional positive and negative variations, and execute the resulting regression pack automatically with SyntraFlow.

Use This Oracle Fusion Test Case

Download Test Case

Full objective, preconditions, test data and steps.

Add to Test Library

Save to your SyntraFlow regression suite.

Coming soon

Automate with SyntraFlow

Run this script against your own tenant today.

Frequently Asked Questions

What is the difference between invoice validation and invoice accounting in Oracle Fusion Payables?
Invoice validation checks that an invoice's amounts, tax, and matching conditions are correct and moves it to a Validated status. Invoice accounting is a separate downstream step - the Create Accounting process - that translates a validated invoice's distributions into balanced subledger journal entries. A test can validate an invoice successfully but still fail during accounting if a distribution account is invalid or the period is closed.
Does this test scenario confirm that accounting entries are posted to the General Ledger?
No. This scenario validates that Create Accounting generates correct, balanced accounting entries and updates the invoice's accounting status. Transfer to General Ledger and posting are separate actions that are only asserted when a scenario explicitly includes them.
What is the difference between Draft and Final accounting mode?
Draft mode generates accounting entries for preview and review without committing them, and can be rerun freely. Final mode commits the accounting entries as the invoice's official accounting record and updates the invoice's Accounting Status to Accounted. Syntra Standard test cases typically run Draft first, then Final, to validate both stages.
How does Syntra Standard test PO-matched invoice accounting differently from standard invoice accounting?
For PO-matched invoices, Syntra Standard verifies that distribution accounts are derived from the purchase order's accrual or charge accounts rather than manually entered, and confirms those inherited accounts appear correctly in the generated journal entries.
What happens when Create Accounting is run against a closed accounting period?
Oracle Fusion is expected to reject the accounting attempt with a period-not-open exception rather than generate entries. Syntra Standard treats this as an expected negative outcome - the test passes when Oracle correctly blocks the transaction, not when accounting succeeds.
How does DataVault generate invoice accounting test variations?
DataVault stores reusable pools of ledgers, accounting periods, natural accounts, and distribution templates. Syntra Standard combines these pools to generate scenario-specific test data - for example, pairing an Open period with a valid expense account for positive tests, or a Closed period with a valid account for negative exception tests - without manually authoring each combination.
Download Test Case