Skip to main content
Navigation
02Oracle Fusion Financials

Spend Authorization to Expense Report Automation

Approved spend authorizations converted into Oracle Expenses reports through incremental BI Publisher extraction and nested REST payloads carrying headers, lines and attachments, removing manual entry for a workflow covering about 300 employees.

Domain
Oracle Fusion Financials
Employer
Mastek
My part
Design to post go live support
01Problem

What had to be solved

Approved spend authorizations had to become expense reports. Doing this by hand meant re keying header details, every expense line and any supporting attachments, for each approved authorization, on a repeating basis.

My contribution

My assigned module at Mastek, from technical design through deployment and post go live support.

  • The incremental BI Publisher extraction of approved spend authorizations.
  • Payload construction in OIC for headers, lines and attachments.
  • Submission through the Oracle Fusion REST APIs, from technical design through post go live support.
02Sequence

How the integration runs

The steps in order, then where each one runs and what happens when a record fails.

  1. 01

    Extract incrementally

    Developed a BI Publisher extraction that selected only records approved after the preceding run, so each execution handled new work rather than reprocessing the full population.

  2. 02

    Retrieve the full record

    Retrieved header information, the multiple expense lines belonging to each header, and zero to many attachments, returned as structured XML source data.

  3. 03

    Build the payload

    Constructed the expense report payload inside Oracle Integration Cloud, appending header data, then line data, then attachment data while maintaining the nested structure Oracle Fusion expects.

  4. 04

    Submit

    Submitted the completed payload through Oracle Fusion REST APIs to create the expense report, including its lines and attachments, in one controlled operation.

Fig. 02

Architecture

  1. Source

    Files, events and external APIs

    • 01Approved authorizationsSelected after the preceding run
  2. Integration layer

    Oracle Integration Cloud, staging and BI Publisher

    • 02BI Publisher extractionHeader, multiple lines and zero to many attachments
    • 03XML dataStructured source returned to OIC
    • 04Payload constructionNested header, lines and attachments assembled in OIC
  3. Oracle Fusion

    HCM and Financials

    • 05Oracle Expenses REST APIExpense report created
Incremental extraction and nested payload construction for expense report automation.
03Outcome

What it changed

  • Manual expense report creation was eliminated for this automated workflow.
  • The process supported approximately 300 employees in one client environment.
  • Attachments travel with the record, so supporting documents do not need a separate manual upload step.

Challenges

  • Selecting only authorizations approved since the previous run, so each run handles new work only.
  • Keeping the nested header, line and attachment structure Oracle Fusion expects while building the payload.

Technologies

  • Oracle Integration Cloud
  • Oracle Fusion Financials
  • Oracle Expenses
  • BI Publisher
  • XML
  • REST APIs
  • Nested payload construction
  • Attachment handling
  • Incremental extraction
Next case study

03. Employee Lifecycle Synchronization