Viewing Workbench XML Data

Your company's business applications submit transaction data to ONESOURCE Indirect Tax Determination in the form of Input XML. The data is passed through any optional TransEditors (input filters) you have configured, and then sent for tax calculation. Once the calculation takes place, Output XML is generated and returned to the calling business application.

When you create a scenario using the Workbench, the associated Input and Output XML is automatically generated. You can see what XML is expected for a transaction meeting the criteria you enter, and the XML that Determination returns once the calculation was complete.

You can view:

  • XML Input: The input XML as submitted and before any TransEditors or Allocations relevant to the scenario are applied.
  • Filtered XML Input: The input XML after relevant TransEditors are applied, but before Allocations are applied.
  • Allocated XML Input: The input XML after both relevant TransEditors and Allocations are applied.
  • XML Output: The resulting output XML.

To do so, choose the associated item from the Actions menu. You can choose more than one, so that you can compare (for example) Input and Output XML for a single transaction.

All XML Output associated with a transaction is displayed, regardless of settings on the XML Output page.

This example shows the first portion of the Input XML generated by the scenario used in this help topic:

  1. <?xml version="1.0" encoding="UTF-8" ?>

  2. <INDATA version="G">

  3. <SCENARIO_NAME>1</SCENARIO_NAME>

  4. <INVOICE>

    • <CALCULATION_DIRECTION>F</CALCULATION_DIRECTION>

    • <COMPANY_ID>304</COMPANY_ID>

    • <COMPANY_NAME>Sample Parent Co</COMPANY_NAME>

    • <COMPANY_ROLE>B</COMPANY_ROLE>

    • <CURRENCY_CODE>USD</CURRENCY_CODE>

    • + <ESTABLISHMENTS>

    • <EXTERNAL_COMPANY_ID>SBXTOP</EXTERNAL_COMPANY_ID>

    • <INVOICE_DATE>20060914</INVOICE_DATE>

    • <IS_AUDITED>N</IS_AUDITED>

    • <IS_REPORTED>N</IS_REPORTED>

    • <IS_REVERSED>N</IS_REVERSED>

    • <POINT_OF_TITLE_TRANSFER>I</POINT_OF_TITLE_TRANSFER>

    • + <REGISTRATIONS>

    • <SHIP_FROM>

      • <COUNTRY>US</COUNTRY>

      • <STATE>CALIFORNIA</STATE>

      • <COUNTY>SAN FRANCISCO</COUNTY>

      • <CITY>SAN FRANCISCO</CITY>

      • <POSTCODE>94121</POSTCODE>

    • </SHIP_FROM>

    • + <SHIP_TO>

    • <TRANSACTION_TYPE>GS</TRANSACTION_TYPE>

    • <LINE ID="1">

      • <GROSS_AMOUNT>250</GROSS_AMOUNT>

      • <LINE_NUMBER>1</LINE_NUMBER>

      • <PRODUCT_CODE>TIRENW1</PRODUCT_CODE>

      • <QUANTITIES>

        • <QUANTITY>

          • <AMOUNT>4</AMOUNT>

          • <UOM>each</UOM>

        • </QUANTITY>

      • </QUANTITIES>

    • </LINE>

    • + <LINE ID="2">

  5. </INVOICE>

  6. </INDATA>