Subject: Required Field for Payables Open Interface Invoice Import Records Doc ID: 205331.

1 Type: BULLETIN Modified Date: 01-MAR-2007 Status: PUBLISHED Checked for relevance on 01-MAR-2007 PURPOSE ------Overview of Required fields for Payables Open Interface Import Records ================================================================= TEST CASE FOR SIMPLE INVOICES - NOT PO MATCHED OR PROJECT RELATED ================================================================= AP_INVOICE_INTERFACE ==================== Required Columns ================ INVOICE_ID (Populated from AP_INVOICES_INTERFACE _S.NEXTVAL) INVOICE_NUM (Must be unique to the supplier) VENDOR_ID or VENDOR_NUM or VENDOR_NAME (An active vendor. Validated against PO_VENDORS) VENDOR_SITE_ID or VENDOR_SITE_CODE (An active pay site. Validated agains t PO_VENDOR_SITES) INVOICE_AMOUNT (Positive amount for 'STANDARD' type, Negative amount for 'CREDIT' type) ORG_ID (Required in Multi-Org Environment. V alidated against AP_SYSTEM_PARAMETERS.ORG_ID) SOURCE (Must be in select lookup_code from a p_lookup_codes where lookup_type='SOURCE') Optional Columns ================ INVOICE_DATE INVOICE_TYPE_LOOKUP_CODE STANDARD' or 'CREDIT') INVOICE_CURRENCY_CODE CE_CURRENCY_CODE) EXCHANGE_RATE_TYPE DEFAULT_EXCHANGE_RATE_TYPE) TERMS_ID or TERMS_NAME _ID) DOC_CATEGORY_CODE ucher number) PAYMENT_METHOD_LOOKUP_CODE NT_METHOD_LOOKUP_CODE) PAY_GROUP_LOOKUP_CODE ROUP_LOOKUP_CODE) ACCTS_PAY_CODE_COMBINATION_ID _PAY_CODE_COMBINAITON_ID) GROUP_ID STATUS

(Defaulted to SYSDATE) (Defaulted to 'STANDARD'. It can be ' (Defaulted from PO_VENDOR_SITES.INVOI (Defaulted from AP_SYSTEM_PARAMETERS. (Defaulted from PO_VENDOR_SITES.TERMS (Only populated if using automatic vo (Defaulted from PO_VENDOR_SITES.PAYME (Defaulted from PO_VENDOR_SITES.PAY_G (Defaulted from PO_VENDOR_SITES.ACCTS (Group identifier. Suggest to use it) (DO NOT POPULATE IT)

If one of them is populated.DIST_CODE_COMBINATION_ID must be i n select code_combination_id from gl _code_combinations where account_type = 'E' and enabl ed_flag = 'Y' and summary_flag = 'N' and sysdate between nvl(start_date _active.'Parent' must be 'No' for All the segments values .DIST_CODE_CONCATENATED needs to me et the security rules .INVOICE_ID) INVOICE_LINE_ID (Populated from AP_INVOICE_LINES_INTE RFACE_S. Defaulted from AP_TAX_CODES. sysdate-1) and nvl(end_date_active. Defaulted from INVOICE_DAT E or SYSDATE) DIST_CODE_CONCATENATED or DIST_CODE_COMBINATION_ID (Validated against .NEXTVAL) LINE_NUMBER (A unique number to the invoice) LINE_TYPE_LOOKUP_CODE ('ITEM') AMOUNT ACCOUNTING_DATE (Optional.'Parent' must be 'No' for All the segments values .DIST_CODE_CONCATENATED needs to me et the security rules . Defaulted from INVOICE_DAT E or SYSDATE) DIST_CODE_CONCATENATED or DIST_CODE_COMBINATION_ID (Optional.NEXTVAL) LINE_NUMBER (A unique number to the invoice) LINE_TYPE_LOOKUP_CODE ('TAX') TAX_CODE or TAX_CODE_ID (Validated against AP_TAX_CODES_ALL) AMOUNT ACCOUNTING_DATE (Optional.INVOICE_ID) INVOICE_LINE_ID (Populated from AP_INVOICE_LINES_INTE RFACE_S. then va lidated against .DIST_CODE_COMBINATION_ID must be i n select code_combination_id from gl _code_combinations where account_type = 'E' and enabl ed_flag = 'Y' and summary_flag = 'N' and sysdate between nvl(start_date .AP_INVOICE_LINES_INTERFACE ========================== Required Columns for LINE_TYPE_LOOKUP_CODE = 'ITEM' =================================================== INVOICE_ID (Populated from AP_INVOICES_INTERFACE . sysdate+1 )) Required Columns for LINE_TYPE_LOOKUP_CODE = 'TAX' =================================================== INVOICE_ID (Populated from AP_INVOICES_INTERFACE .TAX_CODE _COMBINATION_ID.

_active. then va lidated against .'Parent' must be 'No' for All the segments values .DIST_CODE_CONCATENATED needs to me et the security rules . V alidated against AP_SYSTEM_PARAMETERS_ALL. not clos Validated against PO_HEADERS) INVOICE_AMOUNT (Positive Amount) SOURCE (Must be in select lookup_code from a p_lookup_codes where lookup_type='SOURCE') ORG_ID (Required in Multi-Org Environment. sysdate+1 )) Required Columns for LINE_TYPE_LOOKUP_CODE = 'FREIGHT' =================================================== INVOICE_ID (Populated from AP_INVOICES_INTERFACE . Defaulted from INVOICE_DAT E or SYSDATE) DIST_CODE_CONCATENATED or DIST_CODE_COMBINATION_ID (Optional. sysdate+1 )) ================================= TEST CASE FOR PO MATCHED INVOICES ================================= AP_INVOICE_INTERFACE ==================== Required Columns ================ INVOICE_ID _S. not cancelled. (Populated from AP_INVOICES_INTERFACE (Must be unique to the supplier) (An approved. sysdate-1) and nvl(end_date_active. sysdate-1) and nvl(end_date_active.DIST_CODE_COMBINATION_ID must be i n select code_combination_id from gl _code_combinations where account_type = 'E' and enabl ed_flag = 'Y' and summary_flag = 'N' and sysdate between nvl(start_date _active.INVOICE_ID) INVOICE_LINE_ID (Populated from AP_INVOICE_LINES_INTE RFACE_S.ORG_ID) Optional Columns . If one of them is populated. FREIGHT_CODE_COMBINATION_ID.NEXTVAL) LINE_NUMBER (A unique number to the invoice) LINE_TYPE_LOOKUP_CODE ('FREIGHT') AMOUNT ACCOUNTING_DATE (Optional.NEXTVAL) INVOICE_NUM PO_NUMBER ed or final closed PO. Defaulted from AP_SYSTEM_PARAMETERS.

then populate: RECEIPT_NUMBER (Validated against RCV_SHIPMENT _HEADERS. then populate: RELEASE_NUM or PO_RELEASE_ID dated against PO_RELEASES_ALL) PO_NUMBER or PO_HEADER_ID L) PO_LINE_NUMBER or PO_LINE_ID ) PO_SHIPMENT_NUM or PO_LINE_LOCATION_ID TIONS_ALL) (For Blanket Release only.PAYME (Defaulted from PO_VENDOR_SITES.TERMS (Only populated if using automatic vo (Defaulted from PO_VENDOR_SITES.PAY_G (Defaulted from PO_VENDOR_SITES.RECEIPT_NUM) RCV_TRANSACTION_ID or PO_LINE_LOCATION_ID (Validated against RCV_TRANSACT IONS) Optional Columns for PO Matched Lines ===================================== QUANTITY_INVOICED (Populated if different from PO shipm ent) UNIT_PRICE ent) MATCH_OPTION OR_SITES.INVOI (Defaulted from AP_SYSTEM_PARAMETERS. Suggest to use it) (DO NOT POPULATE IT) (Populated from AP_INVOICES_INTERFACE (Populated from AP_INVOICE_LINES_INTE (A unqiue number to the invoice) ('ITEM') (Should be QUANTITY_INVOICED * UNIT_P If MATCH_OPTION is 'P'.MATCH_OPTION) ACCOUNTING_DATE ('P' or 'R' or Defaulted from PO_VEND (Defaulted from INVOICE_DATE or SYSDA (Populated if different from PO shipm .NEXTVAL) LINE_NUMBER LINE_TYPE_LOOKUP_CODE AMOUNT RICE) (Defaulted to SYSDATE) (Defaulted to 'STANDARD') (Defaulted from PO_VENDOR_SITES. (Defaulted from PO_VENDOR_SITES.================ INVOICE_DATE INVOICE_TYPE_LOOKUP_CODE INVOICE_CURRENCY_CODE CE_CURRENCY_CODE) EXCHANGE_RATE_TYPE DEFAULT_EXCHANGE_RATE_TYPE) TERMS_ID or TERMS_NAME _ID) DOC_CATEGORY_CODE ucher number) PAYMENT_METHOD_LOOKUP_CODE NT_METHOD_LOOKUP_CODE) PAY_GROUP_LOOKUP_CODE ROUP_LOOKUP_CODE) ACCTS_PAY_CODE_COMBINATION_ID _PAY_CODE_COMBINAITON_ID) GROUP_ID STATUS AP_INVOICE_LINES_INTERFACE ========================== Required Columns for PO Matched Lines ===================================== INVOICE_ID .INVOICE_ID) INVOICE_LINE_ID RFACE_S. vali (Validated against PO_HEADER_AL (Validated against PO_LINES_ALL (Validated against PO_LINE_LOCA If MATCH_OPTION is 'R'.ACCTS (Group identifier.

Suggest to use it) (DO NOT POPULATE IT) . V alidated against AP_SYSTEM_PARAMETERS_ALL. (Defaulted from PO_VENDOR_SITES.ACCTS (Group identifier.PAYME (Defaulted from PO_VENDOR_SITES.NEXTVAL) INVOICE_NUM (Must be unique to the supplier) VENDOR_ID or VENDOR_NUM or VENDOR_NAME (An active vendor.INVENTORY (Populated if different from PO shipm (Populated 'Y' if it is price correct (Populated 'Y' if it is final matchin (Defaulted to SYSDATE) (Defaulted to 'STANDARD') (Defaulted from PO_VENDOR_SITES.TERMS (Only populated if using automatic vo (Defaulted from PO_VENDOR_SITES. Validated agains t PO_VENDOR_SITES) INVOICE_AMOUNT (Positive amount) ORG_ID (Required in Multi-Org Environment.INVOI (Defaulted from AP_SYSTEM_PARAMETERS.ORG_ID) SOURCE (Must be in select lookup_code from a p_lookup_codes where lookup_type='SOURCE') Optional Columns ================ INVOICE_DATE INVOICE_TYPE_LOOKUP_CODE INVOICE_CURRENCY_CODE CE_CURRENCY_CODE) EXCHANGE_RATE_TYPE DEFAULT_EXCHANGE_RATE_TYPE) TERMS_ID or TERMS_NAME _ID) DOC_CATEGORY_CODE ucher number) PAYMENT_METHOD_LOOKUP_CODE NT_METHOD_LOOKUP_CODE) PAY_GROUP_LOOKUP_CODE ROUP_LOOKUP_CODE) ACCTS_PAY_CODE_COMBINATION_ID _PAY_CODE_COMBINAITON_ID) GROUP_ID STATUS AP_INVOICE_LINES_INTERFACE ========================== (Validated against PO_LINES. Validated against PO_VENDORS) VENDOR_SITE_ID or VENDOR_SITE_CODE (An active pay site.INVENTORY (Validated against PO_LINES.PAY_G (Defaulted from PO_VENDOR_SITES.TE) FINAL_MATCH_FLAG g) INVENTORY_ITEM_ID _ITEM_ID) INVENTORY_DESCRIPTION _ITEM_DESCRIPTION) SHIP_TO_LOCATION_CODE ent) PRICE_CORRECTION_FLAG ion) ====================================== TEST CASE FOR PROJECT RELATED INVOICES ====================================== AP_INVOICE_INTERFACE ==================== Required Columns ================ INVOICE_ID (Populated from AP_INVOICES_INTERFACE _S.

TASK_ID) EXPENDITURE_TYPE (Validated against PA_EXPENDITURE_TYP ES.NEXTVAL) LINE_NUMBER (A unique number to the invoice) LINE_TYPE_LOOKUP_CODE ('ITEM') AMOUNT PROJECT_ID (Validated against PA_PROJECTS_ALL.PR OJECT_ID) TASK_ID (Validated against PA_TASKS.EXPENDITURE_TYPE) EXPENDITURE_ITEM_DATE (Needs to be between the task start d ate and end date) EXPENDITURE_ORGANIZATION_ID (Validated against PA_EXP_ORGS_IT.INVOICE_ID) INVOICE_LINE_ID (Populated from AP_INVOICE_LINES_INTE RFACE_S.ORG ANIZATION_ID) PA_QUANTITY Optional Columns for project related lines ========================================== ACCOUNTING_DATE (Defaulted from Invoice Date or SYSDA TE) PA_ADDITION_FLAG nsferred into Oracle Projects) . ('Y' if the distribution has been tra .Required Columns for project related lines ========================================== INVOICE_ID (Populated from AP_INVOICES_INTERFACE .

Related Interests