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
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.
How the integration runs
The steps in order, then where each one runs and what happens when a record fails.
- 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.
- 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.
- 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.
- 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.
Architecture
Source
- 01Approved authorizations
Integration layer
- 02BI Publisher extraction
- 03XML data
- 04Payload construction
Oracle Fusion
- 05Oracle Expenses REST API
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
03. Employee Lifecycle Synchronization