Example Payloads: Project Unprocessed Expense Report Transaction

The example payload in this topic demonstrates how to create and validate an expense report transaction, and then associate it to an existing project and project task.

Before you use this payload, ensure that a project is created from the Projects work area.
<!--Request-->
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns1:validateExpenseReportTransaction xmlns:ns1="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionService/types/">
            <ns1:list xmlns:ns2="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionService/">

<!--User can enter BU Name or ID -->				
                <ns2:BusinessUnitName>Vision College</ns2:BusinessUnitName>
                <ns2:BatchName>Batch_Vision_College</ns2:BatchName>

<!--Enter third party transaction source, doc and doc entry -->					
                <ns2:SourceName>Vision City Corp Payables</ns2:SourceName>
                <ns2:DocumentName>Vision City Corp Expense Report</ns2:DocumentName>
                <ns2:DocumentEntryName>Vision City Corp Item Cost</ns2:DocumentEntryName>

<!--Expenditure item date should be in the project active window -->				
                <ns2:ExpenditureItemDate>2015-09-11</ns2:ExpenditureItemDate>
                <ns2:PersonNumber>53</ns2:PersonNumber>

<!--User can enter the Project/task Number/Name/ID -->					
                <ns2:ProjectName>Project_Vision_Corp_2017</ns2:ProjectName>
                <ns2:TaskNumber>3</ns2:TaskNumber>
                <ns2:ExpenditureTypeName>Airfare</ns2:ExpenditureTypeName>
                <ns2:ExpenditureOrganizationName>Vision Corporation</ns2:ExpenditureOrganizationName>
                <ns2:Quantity>20</ns2:Quantity>

<!--Transaction reference is user defined -->				
                <ns2:OrigTransactionReference>Project_Vision_City_Corp_Expenses</ns2:OrigTransactionReference>
                <ns2:TransactionCurrency>USD</ns2:TransactionCurrency>
                <ns2:TransactionRawCost>35.00</ns2:TransactionRawCost>
                <ns2:ProviderLedgerRawCost>35.00</ns2:ProviderLedgerRawCost>
                <ns2:AccountingDate>2015-09-11</ns2:AccountingDate>
                <ns2:RawCostDebitAccountId>15684</ns2:RawCostDebitAccountId>
                <ns2:RawCostCreditAccountId>15685</ns2:RawCostCreditAccountId>              
            </ns1:list>
        </ns1:validateExpenseReportTransaction>
    </soap:Body>
</soap:Envelope>
<!--Response-->
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns1:receiveExpenseReportTransaction xmlns:ns1="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionService/types/">
            <ns1:list xmlns:ns2="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionService/">

<!--User can enter BU Name or ID -->				
                <ns2:BusinessUnitName>Vision College</ns2:BusinessUnitName>
                <ns2:BatchName>Batch_Vision_College</ns2:BatchName>

<!--Enter third party transaction source, doc and doc entry -->					
                <ns2:SourceName>Vision City Corp Payables</ns2:SourceName>
                <ns2:DocumentName>Vision City Corp Expense Report</ns2:DocumentName>
                <ns2:DocumentEntryName>Vision City Corp Item Cost</ns2:DocumentEntryName>

<!--Expenditure item date should be in the project active window -->				
                <ns2:ExpenditureItemDate>2015-09-11</ns2:ExpenditureItemDate>
                <ns2:PersonNumber>53</ns2:PersonNumber>

<!--User can enter the Project/task Number/Name/ID -->					
                <ns2:ProjectName>Project_Vision_Corp_2017</ns2:ProjectName>
                <ns2:TaskNumber>3</ns2:TaskNumber>
                <ns2:ExpenditureTypeName>Airfare</ns2:ExpenditureTypeName>
                <ns2:ExpenditureOrganizationName>Vision Corporation</ns2:ExpenditureOrganizationName>
                <ns2:Quantity>20</ns2:Quantity>

<!--Transaction reference is user defined -->				
                <ns2:OrigTransactionReference>Project_Vision_City_Corp_Expenses</ns2:OrigTransactionReference>
                <ns2:TransactionCurrency>USD</ns2:TransactionCurrency>
                <ns2:TransactionRawCost>35.00</ns2:TransactionRawCost>
                <ns2:ProviderLedgerRawCost>35.00</ns2:ProviderLedgerRawCost>
                <ns2:AccountingDate>2015-09-11</ns2:AccountingDate>
                <ns2:RawCostDebitAccountId>15684</ns2:RawCostDebitAccountId>
                <ns2:RawCostCreditAccountId>15685</ns2:RawCostCreditAccountId>
            </ns1:list>
            <ns1:partialFailureAllowed>TRUE</ns1:partialFailureAllowed>
            <ns1:fullConfirmation>TRUE</ns1:fullConfirmation>
        </ns1:receiveExpenseReportTransaction>
    </soap:Body>
</soap:Envelope>