Setup for XML Invoices

You perform setup for XML Invoices in the XML Gateway product. For additional information on the following steps, refer to Oracle XML Gateway User Guide.

To set up your system to receive XML Invoices:

  1. Define a hub for each supplier that will send you XML invoices.

    In XML Gateway, navigate to the Define Hubs window. For the following parameters, enter the following values:

    Parameter Value
    Name AP
    Protocol Type HTTP
    Protocol Address (enter the complete URL where the Transport Agent will post the XML document. The first part of this URL is the deploying enterprise's server and port)
    Username, 1 (enter the name of the supplier)
    Password, 1 (enter the password your supplier gives you)
    Hub Entity Code, 1 (enter any code)

    Save your work.

  2. Define the Inbound XML Invoices Transaction:

    In XML Gateway, navigate to the Define Transactions window. For the following parameters, enter the following values:

    Parameter Value
    Party Type Supplier
    Transaction Type AP
    Transaction Subtype INI
    Transaction Description Inbound XML Invoices
    Standard Code OAG
    Direction IN
    External Transaction Type INVOICE
    External Transaction Subtype PROCESS
    Queue APPS.ECX_IN_OAG_Q

    Save your work.

  3. Define each trading partner (supplier) that will send you XML invoices:

    In XML Gateway, navigate to the Define Trading Partners window. For the following parameters, enter the following values:

    Parameter Value
    Trading Partner Type Supplier
    Trading Partner Name (enter the name of your supplier)
    Trading Partner Site (enter the supplier site address)
    Company Admin Email (enter the supplier e-mail address)
    Transaction Type AP
    Transaction Subtype INI
    Standard Code OAG
    External Transaction Type INVOICE
    External Transaction Subtype PROCESS
    Direction IN
    Map AP_INVOICE_INBOUND
    Source Trading Partner Location Code (enter the same code you entered for the hub entity code)
    Document Confirmation 0
    Routing (leave null)

    Save your work.

  4. Submit the following information through a transport agent.

    Parameter Value
    TRANSPORT_PROTOCOL OXTA
    TRANSPORT_PROTOCOL_VERSION 1.0
    REQUEST_TYPE SEND
    MESSAGE_ID (enter any unique ID)
    MESSAGE_TYPE XML
    MESSAGE_STANDARD OAG
    TRANSACTION_TYPE INVOICE
    TRANSACTION_SUBTYPE PROCESS
    DOCUMENT_NUMBER (enter any number)
    PARTY_ID (enter any number)
    PARTY_SITE_ID (enter the same code you entered for the hub entity code)
    USERNAME (enter the username)
    PASSWORD (enter the password)

    Save your work.