Vertex
Vertex
Vertex
April 2009
Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide, Release
12.1
Part No. E13632-02
Copyright 2006, 2009, Oracle and/or its affiliates. All rights reserved.
Primary Author: Stacey Tucker-Blosch
Contributing Author: Desh Deepak, Robert MacIsaac
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks
of their respective owners.
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf
of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS
Programs, software, databases, and related documentation and technical data delivered to U.S. Government
customers are "commercial computer software" or "commercial technical data" pursuant to the applicable
Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication,
disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the
applicable Government contract, and, to the extent applicable by the terms of the Government contract, the
additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle
USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software is developed for general use in a variety of information management applications. It is not
developed or intended for use in any inherently dangerous applications, including applications which may
create a risk of personal injury. If you use this software in dangerous applications, then you shall be
responsible to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of
this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software in dangerous applications.
This software and documentation may provide access to or information on content, products and services
from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all
warranties of any kind with respect to third party content, products and services. Oracle Corporation and its
affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third
party content, products or services.
Contents
Business Processes
Transaction Options in Oracle Receivables..............................................................................3-1
Working with Service Provider Tax Jurisdiction Codes.......................................................... 3-1
Monthly Procedures.................................................................................................................. 3-2
Exemption Handling................................................................................................................. 3-3
Reconciliation and Audit Procedures....................................................................................... 3-4
Support Procedures................................................................................................................... 3-5
Technical Reference
Available Parameters................................................................................................................. 4-1
Customizable Tax Functions..................................................................................................... 4-1
iii
iv
Send Us Your Comments
Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation
Guide, Release 12.1
Part No. E13632-02
Oracle welcomes customers' comments and suggestions on the quality and usefulness of this document.
Your feedback is important, and helps us to best meet your needs as a user of our products. For example:
If you find any errors or have any other suggestions for improvement, then please tell us your name, the
name of the company who has licensed our products, the title and part number of the documentation and
the chapter, section, and page number (if available).
Note: Before sending us your comments, you might like to check that you have the latest version of the
document and if any concerns are already addressed. To do this, access the new Applications Release
Online Documentation CD available on My Oracle Support and www.oracle.com. It contains the most
current Documentation Library plus all documents revised or released recently.
Send your comments to us using the electronic mail address: appsdoc_us@oracle.com
Please give your name, address, electronic mail address, and telephone number (optional).
If you need assistance with Oracle software, then please contact your support representative or Oracle
Support Services.
If you require training or instruction in using Oracle software, then please contact your Oracle local office
and inquire about our Oracle University offerings. A list of Oracle offices is available on our Web site at
www.oracle.com.
Preface
Intended Audience
Welcome to Release 12.1 of the Oracle E-Business Tax: Vertex Q-Series and Taxware
Sales/Use Tax System Implementation Guide.
This guide assumes you have a working knowledge of the following:
If you have never used Oracle Applications, we suggest you attend one or more of the
Oracle Applications training classes available through Oracle University.
See Related Information Sources on page viii for more Oracle Applications product
information.
Documentation Accessibility
Our goal is to make Oracle products, services, and supporting documentation accessible
to all users, including users that are disabled. To that end, our documentation includes
features that make information available to users of assistive technology. This
vii
Structure
1 License and Support for the Vertex Q-Series and Taxware Sales/Use Tax System
2 Installing and Implementing the Vertex Q-Series or Taxware Sales/Use Tax System
3 Business Processes
4 Technical Reference
viii
PDF - PDF documentation is available for download from the Oracle Technology
Network at http://otn.oracle.com/documentation.
Online Help - Online help patches (HTML) are available on My Oracle Support.
Related Guides
You should have the following related books on hand. Depending on the requirements
of your particular installation, you may also need additional manuals or guides.
Oracle Applications Installation Guide: Using Rapid Install:
This book is intended for use by anyone who is responsible for installing or upgrading
Oracle Applications. It provides instructions for running Rapid Install either to carry
out a fresh installation of Oracle Applications Release 12, or as part of an upgrade from
Release 11i to Release 12. The book also describes the steps needed to install the
technology stack components only, for the special situations where this is applicable.
Oracle Applications Maintenance Procedures:
This guide describes how to use AD maintenance utilities to complete tasks such as
compiling invalid objects, managing parallel processing jobs, and maintaining snapshot
information. Part of Maintaining Oracle Applications, a 3-book set that also includes
Oracle Applications Patching Procedures and Oracle Applications Maintenance
Utilities.
Oracle Applications Maintenance Utilities:
This guide describes how to run utilities, such as AD Administration and AD
Controller, used to maintain the Oracle Applications file system and database. Outlines
the actions performed by these utilities, such as monitoring parallel processes,
generating Applications files, and maintaining Applications database entities. Part of
Maintaining Oracle Applications, a 3-book set that also includes Oracle Applications
Patching Procedures and Oracle Applications Maintenance Procedures.
Oracle Applications Patching Procedures:
ix
This guide describes how to patch the Oracle Applications file system and database
using AutoPatch, and how to use other patching-related tools like AD Merge Patch,
OAM Patch Wizard, and OAM Registered Flagged Files. Describes patch types and
structure, and outlines some of the most commonly used patching procedures. Part of
Maintaining Oracle Applications, a 3-book set that also includes Oracle Applications
Maintenance Utilities and Oracle Applications Maintenance Procedures.
Oracle Applications Upgrade Guide: Release 11i to Release 12:
This guide provides information for DBAs and Applications Specialists who are
responsible for upgrading a Release 11i Oracle Applications system (techstack and
products) to Release 12. In addition to information about applying the upgrade driver,
it outlines pre-upgrade steps and post-upgrade steps, and provides descriptions of
product-specific functional changes and suggestions for verifying the upgrade and
reducing downtime.
Oracle Alert User's Guide:
This guide explains how to define periodic and event alerts to monitor the status of
your Oracle Applications data.
Oracle Application Framework Developer's Guide:
This guide contains the coding standards followed by the Oracle Applications
development staff to produce applications built with Oracle Application Framework.
This guide is available in PDF format on My Oracle Support and as online
documentation in JDeveloper 10g with Oracle Application Extension.
Oracle Application Framework Personalization Guide:
This guide covers the design-time and run-time aspects of personalizing applications
built with Oracle Application Framework.
Oracle Applications Concepts:
This book is intended for all those planning to deploy Oracle E-Business Suite Release
12, or contemplating significant changes to a configuration. After describing the Oracle
Applications architecture and technology stack, it focuses on strategic topics, giving a
broad outline of the actions needed to achieve a particular goal, plus the installation and
configuration choices that may be available.
Oracle Applications Developer's Guide:
This guide contains the coding standards followed by the Oracle Applications
development staff. It describes the Oracle Application Object Library components
needed to implement the Oracle Applications user interface described in the Oracle
Applications User Interface Standards for Forms-Based Products. It provides information to
help you build your custom Oracle Forms Developer forms so that they integrate with
Oracle Applications. In addition, this guide has information for customizations in
features such as concurrent programs, flexfields, messages, and logging.
Oracle Applications System Administrator's Guide Documentation Set:
This documentation set provides planning and reference information for the Oracle
Applications System Administrator. Oracle Applications System Administrator's Guide Configuration contains information on system configuration steps, including defining
concurrent programs and managers, enabling Oracle Applications Manager features,
and setting up printers and online help. Oracle Applications System Administrator's Guide
- Maintenance provides information for frequent tasks such as monitoring your system
with Oracle Applications Manager, administering Oracle E-Business Suite Secure
Enterprise Search, managing concurrent managers and reports, using diagnostic
utilities including logging, managing profile options, and using alerts. Oracle
Applications System Administrator's Guide - Security describes User Management, data
security, function security, auditing, and security configurations.
Oracle Applications User's Guide:
This guide explains how to navigate, enter data, query, and run reports using the user
interface (UI) of Oracle Applications. This guide also includes information on setting
user profiles, as well as running and reviewing concurrent requests.
Oracle Applications Multiple Organizations Implementation Guide:
This guide describes the multiple organizations concepts in Oracle Applications. It
describes in detail on setting up and working effectively with multiple organizations in
Oracle Applications.
Oracle Advanced Global Intercompany System User's Guide:
This guide describes the self service application pages available for Intercompany users.
It includes information on setting up intercompany, entering intercompany
transactions, importing transactions from external sources and generating reports.
Oracle Customer Data Librarian Implementation Guide:
This guide describes how to implement Oracle Customer Data Librarian. As part of
implementing Oracle Customer Data Librarian, you must also complete all the
implementation steps for Oracle Customers Online.
Oracle Customer Data Librarian User Guide:
This guide describes how to use Oracle Customer Data Librarian to establish and
maintain the quality of the Trading Community Architecture Registry, focusing on
consolidation, cleanliness, and completeness. Oracle Customer Data Librarian has all of
the features in Oracle Customers Online, and is also part of the Oracle Customer Data
Management product family.
Oracle Customers Online Implementation Guide:
This guide describes how to implement Oracle Customers Online.
Oracle Customers Online User Guide:
This guide describes how to use Oracle Customers Online to view, create, and maintain
your customer information. Oracle Customers Online is based on Oracle Trading
Community Architecture data model and functionality, and is also part of the Oracle
Customer Data Management product family.
Oracle E-Business Suite Diagnostics User's Guide
xi
xii
This guides provides detailed information about the functional impacts of upgrading
Oracle Financials and Oracle Procurement products from Release 11i to Release 12. This
guide supplements the Oracle Applications Upgrade Guide: Release 11i to Release 12.
Oracle Financials Concepts Guide:
This guide describes the fundamental concepts of Oracle Financials. The guide is
intended to introduce readers to the concepts used in the applications, and help them
compare their real world business, organization, and processes to those used in the
applications.
Oracle Financials Country-Specific Installation Supplement:
This guide provides general country information, such as responsibilities and report
security groups, as well as any post-install steps required by some countries.
Oracle Financials for the Americas User Guide:
This guide describes functionality developed to meet specific business practices in
countries belonging to the Americas region. Consult this user guide along with your
financial product user guides to effectively use Oracle Financials in your country.
Oracle Financials for Asia/Pacific User Guide:
This guide describes functionality developed to meet specific business practices in
countries belonging to the Asia/Pacific region. Consult this user guide along with your
financial product user guides to effectively use Oracle Financials in your country.
Oracle Financials for Europe User Guide:
This guide describes functionality developed to meet specific business practices in
countries belonging to the European region. Consult this user guide along with your
financial product user guides to effectively use Oracle Financials in your country.
Oracle Financials for India User Guide:
This guide provides information on how to use Oracle Financials for India. Use this
guide to learn how to create and maintain setup related to India taxes, defaulting and
calculation of taxes on transactions. This guide also includes information about
accounting and reporting of taxes related to India.
Oracle Financials for India Implementation Guide:
This guide provides information on how to implement Oracle Financials for India. Use
this guide to understand the implementation steps required for application use,
including how to set up taxes, tax defaulting hierarchies, set up different tax regimes,
organization and transactions.
Oracle Financials Glossary:
The glossary includes definitions of common terms that are shared by all Oracle
Financials products. In some cases, there may be different definitions of the same term
for different Financials products. If you are unsure of the meaning of a term you see in
an Oracle Financials guide, please refer to the glossary for clarification. You can find the
glossary in the online help or in the Oracle Financials Implementation Guide.
xiii
xiv
xv
This glossary provides definitions of terms that are shared by all Oracle Projects
applications. If you are unsure of the meaning of a term you see in an Oracle Projects
guide, please refer to the glossary for clarification. You can find the glossary in the
online help for Oracle Projects, and in the Oracle Projects Fundamentals book.
Oracle Purchasing User's Guide:
This guide describes how to create and approve purchasing documents, including
requisitions, different types of purchase orders, quotations, RFQs, and receipts. This
guide also describes how to manage your supply base through agreements, sourcing
rules, and approved supplier lists. In addition, this guide explains how you can
automatically create purchasing documents based on business rules through integration
with Oracle Workflow technology, which automates many of the key procurement
processes.
Oracle Subledger Accounting Implementation Guide:
This guide provides setup information for Oracle Subledger Accounting features,
including the Accounting Methods Builder. You can use the Accounting Methods
Builder to create and modify the setup for subledger journal lines and application
accounting definitions for Oracle subledger applications. This guide also discusses the
reports available in Oracle Subledger Accounting and describes how to inquire on
subledger journal entries.
Oracle Receivables Implementation Guide:
This guide provides you with information on how to implement Oracle Receivables.
Use this guide to understand the implementation steps required for application use,
including how to set up customers, transactions, receipts, accounting, tax, and
collections. This guide also includes a comprehensive list of profile options that you can
set to customize application behavior.
Oracle Receivables Reference Guide:
This guide provides you with detailed information about all public application
programming interfaces (APIs) that you can use to extend Oracle Receivables
functionality. This guide also describes the Oracle Receivables open interfaces, such as
AutoLockbox which lets you create and apply receipts and AutoInvoice which you can
use to import and validate transactions from other systems. Archiving and purging
Receivables data is also discussed in this guide.
Oracle Receivables User Guide:
This guide provides you with information on how to use Oracle Receivables. Use this
guide to learn how to create and maintain transactions and bills receivable, enter and
apply receipts, enter customer information, and manage revenue. This guide also
includes information about accounting in Receivables. Use the Standard Navigation
Paths appendix to find out how to access each Receivables window.
Oracle Trading Community Architecture Administration Guide:
This guide describes how to administer and implement Oracle Trading Community
Architecture (TCA). You set up, control, and manage functionality that affects data in
xvi
the TCA Registry. It also describes how to set up and use Resource Manager to manage
resources.
Oracle Trading Community Architecture Technical Implementation Guide:
This guide explains how to use the public Oracle Trading Community Architecture
application programming interfaces (APIs) and develop callouts based on Oracle
Workflow Business Events System (BES). For each API, this guide provides a
description of the API, the PL/SQL procedure, and the Java method, as well as a table of
the parameter descriptions and validations. For each BES callout, this guide provides
the name of the logical entity, its description, and the ID parameter name. Also
included are setup instructions and sample code.
Oracle Trading Community Architecture Reference Guide:
This guide contains seeded relationship types, seeded Data Quality Management data,
D and B data elements, Bulk Import interface table fields and validations, and a
comprehensive glossary. This guide supplements the documentation for Oracle Trading
Community Architecture and all products in the Oracle Customer Data Management
family.
Oracle Trading Community Architecture User Guide:
This guide describes the Oracle Trading Community Architecture (TCA) and how to
use features from the Trading Community Manager responsibility to create, update,
enrich, and cleanse the data in the TCA Registry. It also describes how to use Resource
Manager to define and manage resources.
Integration Repository
The Oracle Integration Repository is a compilation of information about the service
endpoints exposed by the Oracle E-Business Suite of applications. It provides a
complete catalog of Oracle E-Business Suite's business service interfaces. The tool lets
users easily discover and deploy the appropriate business service interface for
integration with any system, application, or business partner.
The Oracle Integration Repository is shipped as part of the E-Business Suite. As your
instance is patched, the repository is automatically updated with content appropriate
for the precise revisions of interfaces in your environment.
xvii
Because Oracle Applications tables are interrelated, any change you make using an
Oracle Applications form can update many tables at once. But when you modify Oracle
Applications data using anything other than Oracle Applications, you may change a
row in one table without making corresponding changes in related tables. If your tables
get out of synchronization with each other, you risk retrieving erroneous information
and you risk unpredictable results throughout Oracle Applications.
When you use Oracle Applications to modify your data, Oracle Applications
automatically checks that your changes are valid. Oracle Applications also keeps track
of who changes information. If you enter information into database tables using
database tools, you may store invalid information. You also lose the ability to track who
has changed your information because SQL*Plus and other database tools do not keep a
record of changes.
xviii
1
License and Support for the Vertex Q-Series
and Taxware Sales/Use Tax System
License
Vertex Q-Series
If you wish to implement the Vertex Q-Series with Oracle E-Business Suite, you must
obtain a license from Vertex, Inc.
Visit the Vertex website at http://www.vertexinc.com for further information. All
support for the Vertex Q-Series is provided by Vertex Inc.
Support
The integrations with Vertex Q-Series and Taxware Sales/Use Tax System are supported
by Oracle for US state and local sales taxes only within the order-to-cash business flows.
For a complete list of the order-to-cash application products supported by Oracle
E-Business Tax, see: E-Business Tax and Transaction Taxes, Oracle E-Business Tax User
Guide.
License and Support for the Vertex Q-Series and Taxware Sales/Use Tax System 1-1
2
Installing and Implementing the Vertex
Q-Series or Taxware Sales/Use Tax System
Prerequisites
Where appropriate, Oracle may certify a more recent version of tax service provider
Installing and Implementing the Vertex Q-Series or Taxware Sales/Use Tax System 2-1
software than the version included with the Oracle CD. Users can download the
prepackaged tax service provider software from My Oracle Support. Contact your
Oracle support representative for more information.
Note: This section does not describe the process of the installation and
Complete the following steps in the order shown to implement the prepackaged version
of a tax service provider product:
1.
2.
3.
4.
5.
6.
7.
8.
9.
2-2 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Parameter
Parameter Name
Required
parameter1
Provider Name
Yes
parameter2
Yes
parameter3
Yes
parameter4
Yes
parameter5
Yes
parameter6
SQL*Loader Executable
(sqlldr) for loading sample
Taxware Data
Yes
The parameters in this table are required and must be passed in the order listed. An
example driver script run command based on this table for Vertex is (note that Taxware
has an additional parameter):
$ZX_TOP/bin/zxtxptnr.sh vertex system vertex USER_DATA TEMP
Installing and Implementing the Vertex Q-Series or Taxware Sales/Use Tax System 2-3
2-4 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
2.
3.
4.
5.
6.
Credit an invoice.
When you create credit memos, tax amounts should reconcile to your tax service
provider tax reports.
7.
Copy an invoice.
Verify that tax is calculated using the tax service provider on the copied invoice.
Installing and Implementing the Vertex Q-Series or Taxware Sales/Use Tax System 2-5
8.
9.
Adjust an invoice.
Verify that tax adjustments reconcile with your service provider tax reports. Only
approved adjustments of type Tax are reflected in your provider tax reports, which
lets you control which write-offs have recoverable sales tax from the state, county,
and city.
2.
3.
Recreate synonyms.
4.
5.
6.
7.
8.
9.
2-6 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Taxware
CONNECT <Taxware schema>/<Taxware password>
GRANT ALL ON TAXPKG_GEN TO <APPS Schema>
WITH GRANT OPTION;
GRANT ALL ON TAXPKG_10 TO <APPS Schema>
WITH GRANT OPTION;
GRANT DELETE ON TAXAUDIT_HEADER to <APPS Schema>;
GRANT DELETE ON TAXAUDIT_DETAIL to <APPS Schema>;
GRANT DELETE ON TAXAUDIT_TAX to <APPS Schema>;
GRANT DELETE ON TAXAUDIT_JURIS to <APPS Schema>;
Taxware
Installing and Implementing the Vertex Q-Series or Taxware Sales/Use Tax System 2-7
Step 4 to Step 7
See: Step 2 to Step 5 in the Setup Checklist for PrePackaged Tax Service Provider
Integration, page 2-1 for details of these setup steps.
2.
Step 9 to Step 14
See: Step 6 to Step 11 in the Setup Checklist for PrePackaged Tax Service Provider
Integration, page 2-1 for details of these setup steps.
2-8 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
3
Business Processes
Vertex
Vertex uses the term geocode for tax jurisdiction codes. The geocode is an internal code
that is understood by the Vertex integration. The geocode is a nine-digit numeric code
that is composed of a two-digit state code, followed by a three-digit county code,
followed by a four-digit code to identify a tax jurisdiction within a city. For example:
12-345-6789.
The Vertex integration uses the Vertex GeoCoder API to retrieve the geocode for a
ship-to customer address, if a geocode is not available on the customer address and
cannot be retrieved from the E-Business Tax jurisdiction setup. If the GeoCoder API
Taxware
The Taxware jurisdiction code is a nine-digit alphanumeric code. It is composed of the
two-character state code, the five-digit zip code, and a unique two-digit numeric code.
For example, the code CA9411401 is composed of the state code CA for California, the
zip code 94114, and the Taxware jurisdiction code 01.
The Taxware integration retrieves the jurisdiction code either from the customer
address or the E-Business Tax jurisdiction setup. If a jurisdiction code is not found, then
00 is passed as the jurisdiction code to the tax calculation API.
Monthly Procedures
Each month tax service providers send an updated version of their data file. You need
to upload the data file into both the tax service provider system and the E-Business Tax
system. This will ensure that E-Business Tax has the latest information for address
validation and tax jurisdiction code/geocode retrieval during tax calculation.
Copy the data file from your external service provider (Taxware, LP A First Data
Company or Vertex, Inc.) to a Linux or UNIX directory.
Note: E-Business Tax loads the data file into the interface table as
part of the Request Set, so you do not need to load the data file
manually.
2.
3.
In the Request Set Name field, select E-Business US Sales and Use Tax Import Program.
3-2 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
4.
Select the E-Business Tax Content Upload File Load Program radio button.
5.
Enter the directory where you have placed the data file and the file name (for
example, /home/user/zx/filename.dat).
6.
7.
1 - Vertex, Inc.
In the Tax Content Source Tax Regime Code field, select the tax regime code to
which the data should be imported.
Note: The data loaded can be shared by other tax regimes. The
E-Business US Sales and Use Tax Import Program does not load
some entities, such as geography, tax zones, and tax jurisdictions,
to specific tax regimes.
8.
9.
Exemption Handling
You can define your customer and product exemptions using a tax service provider,
E-Business Tax, or both. At transaction time, if an applicable E-Business Tax exemption
or non-jurisdiction based tax exception is found, it is passed to the tax service provider
API and applied to the tax calculation. The tax service provider tax repository includes
the exempt tax line for complete audit and reconciliation.
If you decide to build your own logic to pass exemptions to the tax service provider, for
example, by making use of E-Business Tax fiscal classifications, you can write your own
code using PL/SQL. See: Customizable Tax Functions, page 4-1 for information
customizing the exemption and exception values passed by E-Business Tax.
If the Tax Handling field is enabled on an Oracle Order Management or Oracle
Receivables transaction line, you can override the tax service provider setup and
identify a transaction as exempt, according to your tax exemption setup in E-Business
Tax. See: Setting Up Tax Exemptions, Oracle E-Business Tax User Guide for more
information.
Set the eBTax: Allow Override of Customer Exemptions profile option to control the
display of the Tax Handling field. See: Setting Profile Option Values, Oracle E-Business
Tax Implementation Guide.
Oracle Receivables
Vertex Q-Series
Taxware SUTS
Accounting Date
GL Date
Transaction Date
Fiscal Date
3-4 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Value
Oracle Receivables
Vertex Q-Series
Taxware SUTS
Transaction Date
Invoice Date
Invoice Date
Related Topics
Tax Reconciliation Report, Oracle E-Business Tax Reporting Guide
Support Procedures
Begin with E-Business Tax debug messages to review issues that arise with tax
calculation by tax service providers. The debug log contains all the input and output
parameters sent and received to and from a tax service provider. The tax service
provider returned messages are printed in the debug log after this E-Business Tax
introductory message:
An error has occurred in the tax service provider API. Please review the following messages and
contact tax service provider support for further action.
This guide does not describe the process of the installation required by tax service
providers, reports provided by tax service providers, or upgrades to newer releases.
You should refer to the tax service provider's manuals and documents and contact tax
service provider support for details.
Related Topics
System Alerts, Metrics, and Logs, Oracle Applications System Administrator's Guide Maintenance
4
Technical Reference
Available Parameters
The tax service providers tax calculation APIs get the input from the view
ZX_O2C_CALC_TXN_INPUT_V. For the list of available attributes refer to the view
description in the Oracle E-Business Suite Electronic Technical Reference Manual.
Function/Proce
dure Name
Column Name
in
ZX_O2C_CALC
_TXN_INPUT_V
Default Value
Mapped
Attribute of
Taxware API
Mapped
Attribute of
Vertex API
TRANSACTION
_DATE
LINE_EXT_DAT
E_ATTRIBUTE1
TRX_LINE_GL_
DATE of
ZX_LINES_DET
_FACTORS
TaxLink.FiscalD
ate
fTransDate
PRODUCT_CO
DE
LINE_EXT_VAR
CHAR_ATTRIB
UTE2
SEGMENT1 of
MTL_SYSTEM_I
TEMS
TaxLink.ProdCo
de
fTDMProdCd
AUDIT_FLAG
LINE_EXT_VAR
CHAR_ATTRIB
UTE8
ATTRIBUTE15
of
AR_RECEIVABL
ES_TRX
TaxLink.ReptInd
Not mapped
directly, but
determines if the
transaction
should be
recorded in the
Vertex
repository.
SHIP_TO_ADD
RESS_CODE
LINE_EXT_VAR
CHAR_ATTRIB
UTE9
TaxLink.StateCo
de =
substr(SHIP_TO
_ADDRESS_CO
DE,2,2)
.fJurisSTGeoCd =
substr(SHIP_TO
_ADDRESS_CO
DE,2,9)
1.
2.
Ship-to
address
jurisdiction
code
TAX_JURIS
DICTION_C
ODE from
ZX_JURISDI
CTIONS_B
TaxLink.PriZip =
substr(SHIP_TO
_ADDRESS_CO
DE,4,5)
.fJurisSTInCi =
substr(SHIP_TO
_ADDRESS_CO
DE,1,1)
TaxLink.PriGeo
=
substr(SHIP_TO
_ADDRESS_CO
DE,9,2)
4-2 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Function/Proce
dure Name
Column Name
in
ZX_O2C_CALC
_TXN_INPUT_V
Default Value
Mapped
Attribute of
Taxware API
Mapped
Attribute of
Vertex API
SHIP_FROM_A
DDRESS_CODE
LINE_EXT_VAR
CHAR_ATTRIB
UTE10
Warehouse
address
jurisdiction code
JurLink.ShipFr.S
tate =
substr(SHIP_FR
OM_ADDRESS_
CODE,2,2)
.fJurisSFGeoCd =
substr(SHIP_FR
OM_ADDRESS_
CODE,2,9)
JurLink.ShipFr.Z
ip =
substr(SHIP_FR
OM_ADDRESS_
CODE,4,5)
.fJurisSFInCi =
substr(SHIP_FR
OM_ADDRESS_
CODE,1,1)
JurLink.ShipFr.G
eo =
substr(SHIP_FR
OM_ADDRESS_
CODE,9,2)
POA_ADDRESS
_CODE
LINE_EXT_VAR
CHAR_ATTRIB
UTE11
Taxware:
Organization
jurisdiction code
Vertex:
Salesperson
jurisdiction code
JurLink.POA.Sta
te =
substr(POA_AD
DRESS_CODE,2,
2)
.fJurisOAGeoCd
=
substr(POA_AD
DRESS_CODE,2,
9)
JurLink.POA.Zip
=
substr(POA_AD
DRESS_CODE,4,
5)
.fJurisOAInCi =
substr(POA_AD
DRESS_CODE,1,
1)
JurLink.POA.Ge
o=
substr(POA_AD
DRESS_CODE,9,
2)
CUSTOMER_CO
DE
LINE_EXT_VAR
CHAR_ATTRIB
UTE12
Bill To Party
Number
(PARTY_NUMB
ER of
HZ_PARTIES)
TaxLink.CustNo
.fTDMCustCd
Function/Proce
dure Name
Column Name
in
ZX_O2C_CALC
_TXN_INPUT_V
Default Value
Mapped
Attribute of
Taxware API
Mapped
Attribute of
Vertex API
COMPANY_CO
DE
LINE_EXT_VAR
CHAR_ATTRIB
UTE14
01
TaxLink.Compa
nyID
.fTDMCompCd
DIVISION_COD
E
LINE_EXT_VAR
CHAR_ATTRIB
UTE15
01
TaxLink.DivCod
e
.fTDMDivCd
SERVICE_INDI
CATOR
LINE_EXT_VAR
CHAR_ATTRIB
UTE1
Profile:
ZX_TAXVDR_S
ERVICEIND
JurLink.ServInd
N/A
TAX_SEL_PAR
M
LINE_EXT_NU
MBER_ATTRIB
UTE6
Profile:
ZX_TAXVDR_T
AXSELPARAM
TaxSelParm
N/A
CUSTOMER_N
AME
LINE_EXT_VAR
CHAR_ATTRIB
UTE13
Bill To Party
Name
(PARTY_NAME
of HZ_PARTIES)
TaxLink.CustNa
me
N/A
VENDOR_CON
TROL_EXEMPTI
ONS
LINE_EXT_VAR
CHAR_ATTRIB
UTE16
Job Number
(ATTRIBUTE1
from
RA_CUST_TRX_
TYPES)
TaxLink.JobNo
N/A
USE_NEXPRO
LINE_EXT_VAR
CHAR_ATTRIB
UTE17
Profile:
ZX_TAXVDR_U
SENEXPRO
TaxLinkUseNex
proInd
N/A
4-4 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Function/Proce
dure Name
Column Name
in
ZX_O2C_CALC
_TXN_INPUT_V
Default Value
Mapped
Attribute of
Taxware API
Mapped
Attribute of
Vertex API
POO_ADDRESS
_CODE
LINE_EXT_VAR
CHAR_ATTRIB
UTE20
Salesperson
jurisdiction code
JurLink.POO.Sta
te =
substr(POO_AD
DRESS_CODE,2,
2)
N/A
JurLink.POO.Zip
=
substr(POO_AD
DRESS_CODE,4,
5)
JurLink.POO.Ge
o=
substr(POO_AD
DRESS_CODE,9,
2)
CALCULATION
_FLAG
LINE_EXT_VAR
CHAR_ATTRIB
UTE21
00000 (Calculate
tax at all
jurisdiction
levels)
TaxLink.NoStaT
ax
N/A
TaxLink.StaExe
mpt
TaxLink.NoCnT
ax
TaxLink.CnExe
mpt
TaxLink.NoLoTa
x
TaxLink.LoExem
pt
TaxLink.NoSecC
nTax
TaxLink.SecCnE
xempt
TaxLink.NoSecL
oTax
TaxLink.SecLoEx
empt
Function/Proce
dure Name
Column Name
in
ZX_O2C_CALC
_TXN_INPUT_V
Default Value
Mapped
Attribute of
Taxware API
Mapped
Attribute of
Vertex API
TRX_LINE_TYP
E
LINE_EXT_VAR
CHAR_ATTRIB
UTE1
SALE
N/A
.fTransType
CUSTOMER_CL
ASS
LINE_EXT_VAR
CHAR_ATTRIB
UTE13
Null
N/A
.fTDMCustClass
Cd
GET_EXEMPTIO
NS (parameter
state_exempt_pe
rcent)
LINE_EXT_NU
MBER_ATTRIB
UTE1
RATE_MODIFIE
R of
ZX_EXEMPTIO
NS for STATE
Tax
TaxLink.StExem
ptAmt =
TaxLink.GrossA
mt *
(GET_EXEMPTI
ONS.state_exem
pt_percent)
.fPriStExmtAmt
=
fTransExtended
Amt *
(GET_EXEMPTI
ONS.state_exem
pt_percent)
GET_EXEMPTIO
NS (parameter
county_exempt_
percent)
LINE_EXT_NU
MBER_ATTRIB
UTE2
RATE_MODIFIE
R of
ZX_EXEMPTIO
NS for COUNTY
Tax
TaxLink.CntyEx
emptAmt =
TaxLink.GrossA
mt *
(GET_EXEMPTI
ONS.county_exe
mpt_percent)
.fPriCoExmtAmt
=
fTransExtended
Amt *
(GET_EXEMPTI
ONS.county_exe
mpt_percent)
GET_EXEMPTIO
NS (parameter
city_exempt_per
cent)
LINE_EXT_NU
MBER_ATTRIB
UTE3
RATE_MODIFIE
R of
ZX_EXEMPTIO
NS for CITY Tax
TaxLink.CityExe
mptAmt =
TaxLink.GrossA
mt *
(GET_EXEMPTI
ONS.city_exemp
t_percent)
.fPriCiExmtAmt
=
fTransExtended
Amt *
(GET_EXEMPTI
ONS.city_exemp
t_percent)
GET_EXEMPTIO
NS (parameter
state_exempt_re
ason)
LINE_EXT_VAR
CHAR_ATTRIB
UTE4
NULL
TaxLink.StReaso
nCode
.fPriStExmtRsnC
d
GET_EXEMPTIO
NS (parameter
county_exempt_
reason)
LINE_EXT_VAR
CHAR_ATTRIB
UTE5
NULL
TaxLink.CntyRe
asonCode
.fPriCoExmtRsn
Cd
4-6 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Function/Proce
dure Name
Column Name
in
ZX_O2C_CALC
_TXN_INPUT_V
Default Value
Mapped
Attribute of
Taxware API
Mapped
Attribute of
Vertex API
GET_EXEMPTIO
NS (parameter
city_exempt_rea
son)
LINE_EXT_VAR
CHAR_ATTRIB
UTE6
NULL
TaxLink.CityRea
sonCode
.fPriCiExmtRsnC
d
GET_EXEMPTIO
NS (parameter
use_step)
LINE_EXT_VAR
CHAR_ATTRIB
UTE3
Taxware: 'Y'
TaxLink.UseStep
N/A
GET_EXEMPTIO
NS (parameter
step_proc_flag)
LINE_EXT_VAR
CHAR_ATTRIB
UTE7
Taxware: 1
TaxLink.StepPro
cFlg
N/A
GET_EXEMPTIO
NS (parameter
crit_flag)
LINE_EXT_VAR
CHAR_ATTRIB
UTE19
'R'
TaxLink.CritFlg
N/A
GET_EXEMPTIO
NS (parameter
sec_county_exe
mpt_percent)
LINE_EXT_NU
MBER_ATTRIB
UTE4
RATE_MODIFIE
R of
ZX_EXEMPTIO
NS for
SECONDARY
COUNTY Tax
TaxLink.SecCnE
xemptAmt =
TaxLink.GrossA
mt *
(GET_EXEMPTI
ONS.sec_county
_exempt_percent
)
N/A
GET_EXEMPTIO
NS (parameter
sec_city_exempt
_percent)
LINE_EXT_NU
MBER_ATTRIB
UTE5
RATE_MODIFIE
R of
ZX_EXEMPTIO
NS for
SECONDARY
CITY Tax
TaxLink.SecLoEx
emptAmt =
TaxLink.GrossA
mt *
(GET_EXEMPTI
ONS.sec_city_ex
empt_percent)
N/A
GET_EXEMPTIO
NS (parameter
state_certificate_
number)
LINE_EXT_VAR
CHAR_ATTRIB
UTE22
EXEMPT_CERTI
FICATE_NUMB
ER of
ZX_EXEMPTIO
NS for STATE
Tax
TaxLink.StTaxCe
rtNo
N/A
Function/Proce
dure Name
Column Name
in
ZX_O2C_CALC
_TXN_INPUT_V
Default Value
Mapped
Attribute of
Taxware API
Mapped
Attribute of
Vertex API
GET_EXEMPTIO
NS (parameter
county_certificat
e_number)
LINE_EXT_VAR
CHAR_ATTRIB
UTE23
EXEMPT_CERTI
FICATE_NUMB
ER of
ZX_EXEMPTIO
NS for COUNTY
Tax
TaxLink.CnTaxC
ertNo
N/A
GET_EXEMPTIO
NS (parameter
city_certificate_n
umber)
LINE_EXT_VAR
CHAR_ATTRIB
UTE24
EXEMPT_CERTI
FICATE_NUMB
ER of
ZX_EXEMPTIO
NS for CITY Tax
TaxLink.LoTaxC
ertNo
N/A
GET_EXEMPTIO
NS (parameter
cert_no)
LINE_EXT_VAR
CHAR_ATTRIB
UTE3
EXEMPT_CERTI
FICATE_NUMB
ER of
ZX_EXEMPTIO
NS for CITY,
COUNTY or
STATE Tax in
the order it is
found
N/A
.fPriCustExmtCr
tfNum
GET_EXEMPTIO
NS (parameter
district_exempt_
reason)
LINE_EXT_VAR
CHAR_ATTRIB
UTE7
NULL
N/A
.fPriDiExmtRsnC
d
GET_EXEMPTIO
NS (parameter
district_exempt_
percent)
LINE_EXT_NU
MBER_ATTRIB
UTE4
RATE_MODIFIE
R of
ZX_EXEMPTIO
NS for
DISTRICT Tax
N/A
.fPriDiExmtAmt
=
fTransExtended
Amt *
(GET_EXEMPTI
ONS.district_exe
mpt_percent)
4-8 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
All tax functions have a parameter named p_view_name. This parameter identifies the
transaction source context for rewriting the body of a tax function. Based on the
transaction source, the table below identifies the table from where you can fetch
transaction line attributes and join with other E-Business Suite tables.
Transaction Source
p_view_name value
for Vertex
p_view_name value
for Taxware
Table Name
AutoInvoice Invoice/Debit
Memo/On Account
Credit Memo
TAX_LINES_INVOIC
E_IMPORT_V_V
INVOICE
TAX_LINES_INVOIC
E_IMPORT_V_A
INVOICE
RA_CUSTOMER_TR
X_LINES_ALL
TAX_LINES_RMA_I
MPORT_V_V
CREDITMEMO
TAX_LINES_RMA_I
MPORT_V_A
CREDITMEMO
RA_CUSTOMER_TR
X_LINES_ALL
Recurring Invoice
TAX_LINES_RECUR
R_INVOICE_V_V
TAX_LINES_RECUR
R_INVOICE_V_A
RA_CUSTOMER_TR
X_LINES_ALL
TAX_LINES_CREAT
E_V_V INVOICE
TAX_LINES_CREAT
E_V_A INVOICE
RA_CUSTOMER_TR
X_LINES_ALL
TAX_LINES_CM_V_
V CREDITMEMO
TAX_LINES_CM_V_
A CREDITMEMO
RA_CUSTOMER_TR
X_LINES_ALL
TAX_LINES_DELETE
_V_V
TAX_LINES_DELETE
_V_A
RA_CUSTOMER_TR
X_LINES_ALL
Delete Invoice/Debit
Memo/On Account
Credit Memo/
Applied Credit Memo
TAX_LINES_CREAT
E_V_V
TAX_LINES_CREAT
E_V_A
RA_CUSTOMER_TR
X_LINES_ALL
Tax Adjustment
TAX_ADJUSTMENT
S_V_V
TAX_ADJUSTMENT
S_V_A
RA_ADJUSTMENTS_
ALL
Order Management
OE_TAX_LINES_SU
MMARY_V_V
OE_TAX_LINES_SU
MMARY_V_A
OE_ORDER_LINES_
ALL
Transaction Source
p_view_name value
for Vertex
p_view_name value
for Taxware
Table Name
Order Capture
ASO_TAX_LINES_S
UMMARY_V_V
ASO_TAX_LINES_S
UMMARY_V_A
ASO_QUOTE_LINES
_ALL
FUNCTION TRANSACTION_DATE(
p_view_name IN VARCHAR2,
p_header_id IN NUMBER,
p_line_id IN NUMBER) RETURN DATE;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores the GL Date
value on the transaction line in the LINE_EXT_DATE_ATTRIBUTE1 column of the
ZX_PRVDR_LINE_EXTNS_GT table. This value is used for reporting purposes.
FUNCTION PRODUCT_CODE(
p_view_name
IN VARCHAR2,
p_header_id
IN NUMBER,
p_line_id
IN NUMBER,
p_item_id
IN NUMBER,
p_memo_line_id
IN NUMBER) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
p_item_id
ID of inventory item
4-10 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Input
Description
p_memo_line_id
ID of memo line
The function returns NULL by default and the calling procedure stores the SEGMENT1
value from the MTL_SYSTEM_ITEMS table (System Items key flexfield) in the
LINE_EXT_VARCHAR_ATTRIBUTE2 column of the ZX_PRVDR_LINE_EXTNS_GT
table. If a memo line is passed instead of an inventory item, then a NULL value is
stored. The part number is used to determine exemptions.
FUNCTION AUDIT_FLAG(
p_view_name IN VARCHAR2,
p_header_id IN NUMBER,
p_line_id IN NUMBER) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores the value Y in
the LINE_EXT_VARCHAR_ATTRIBUTE8 column of the
ZX_PRVDR_LINE_EXTNS_GT table.
The value is used as an indicator for the auditing of tax adjustments. If Y, the tax
adjustment is posted to the tax service provider repository.
FUNCTION SHIP_TO_ADDRESS_CODE(
p_view_name
IN VARCHAR2,
p_header_id
IN NUMBER,
p_line_id
IN NUMBER
p_ship_to_address_id
IN NUMBER,
p_ship_to_location_id
IN NUMBER,
p_trx_date
IN NUMBER,
p_ship_to_state
IN VARCHAR2,
p_postal_code
IN VARCHAR2) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
p_ship_to_address_id
ID of Ship-to address
p_ship_to_location_id
ID of Ship-to location
p_trx_date
Transaction Date
p_ship_to_state
p_postal_code
The function returns NULL by default and the calling procedure stores the value in the
ZX_PRVDR_LINE_EXTNS_GT table as per the description below.
The first character represents the In/Out City Limits flag. If this value is 1, then the
Ship-to address is within the city limits; if this value is 0, then it is outside the city
limits. The rest of the string is the jurisdiction code for the Ship-to address.
The In/Out City Limits is derived from the SALES_TAX_INSIDE_CITY_LIMITS column
of the HZ_LOCATIONS table. If the In/Out City Limits flag is not found in the
SALES_TAX_INSIDE_CITY_LIMITS column of the HZ_LOCATIONS table, the default
value is within the city limits (1). For Taxware, the value of the first character is always
1.
The jurisdiction code is obtained from the SALES_TAX_GEOCODE column of the
HZ_LOCATIONS table. If SALES_TAX_GEOCODE is NULL, the
ZX_JURISDICTION_CODE column of the ZX_JURISDICTIONS_B table is returned for
the ship-to city and zip code.
FUNCTION SHIP_FROM_ADDRESS_CODE(
p_view_name
IN VARCHAR2,
p_header_id
IN NUMBER,
p_line_id
IN NUMBER,
p_warehouse_id IN NUMBER) RETURN VARCHAR2;
4-12 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
p_warehouse_id
The function returns NULL by default and the calling procedure stores the value in the
ZX_PRVDR_LINE_EXTNS_GT table as per the description below.
The first character represents the In/Out City Limits flag. If this value is 1, then the
Ship-from address is within the city limits; if this value is 0, then it is outside the city
limits. The rest of the string is the jurisdiction code for the Ship-from address. For
Taxware, the value of the first character is always 1.
The In/Out City Limits is derived from LOC_INFORMATION14 of the Location
Address descriptive flexfield. The jurisdiction code is derived from LOC_
INFORMATION13 of the Location Address descriptive flexfield.
FUNCTION POA_ADDRESS_CODE(
p_view_name IN VARCHAR2,
p_header_id IN NUMBER,
p_line_id IN NUMBER,
p_salesrep_id
IN NUMBER) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
p_salesrep_id
The function uses all four parameters for Vertex. The function does not use the
p_salesrep_id parameter for Taxware.
The function returns NULL by default and the calling procedure stores the value in the
ZX_PRVDR_LINE_EXTNS_GT table as per the description below.
The first character represents the In/Out City Limits flag. If this value is 1, then the Point
of Order Acceptance is within the city limits; if this value is 0, then it is outside the city
limits. For Taxware, the value of the first character is 1.
The rest of the string is the jurisdiction code for the Point of Order Acceptance.
For Vertex, the In/Out City Limits is derived from the
SALES_TAX_INSIDE_CITY_LIMITS column of the RA_SALESREPS view. The
jurisdiction is derived from the SALES_ TAX_GEOCODE column of the
RA_SALESREPS view.
For Taxware, the jurisdiction code is derived from SALES_TAX_GEOCODE of the
ZX_PRODUCT_OPTIONS_ALL table.
FUNCTION CUSTOMER_CODE(
p_view_name IN VARCHAR2,
p_header_id IN NUMBER,
p_line_id IN NUMBER) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores the bill to party
PARTY_NUMBER from the HZ_PARTIES table in the
LINE_EXT_VARCHAR_ATTRIBUTE12 column of the ZX_PRVDR_LINE_EXTNS_GT
table. This value is used to determine the taxability of the individual customer.
FUNCTION COMPANY_CODE(
p_view_name
p_header_id
p_line_id
IN VARCHAR2,
IN NUMBER,
IN NUMBER) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores 01 for both
4-14 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
FUNCTION DIVISION_CODE(
p_view_name
p_header_id
p_line_id
IN VARCHAR2,
IN NUMBER,
IN NUMBER) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores 01 for both
Taxware and Vertex in the LINE_EXT_VARCHAR_ATTRIBUTE15 column of the
ZX_PRVDR_LINE_EXTNS_GT table. This value is used to control the tax reporting
level and identifies exemptions defined in the tax service provider system.
FUNCTION SERVICE_INDICATOR(
p_view_name
p_header_id
p_line_id
IN VARCHAR2,
IN NUMBER,
IN NUMBER) RETURN NUMBER;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores 1, 2, or 3 in the
LINE_EXT_VARCHAR_ATTRIBUTE1 column of the ZX_PRVDR_LINE_EXTNS_GT
table. 1 indicates service; 2 indicates rental; 3 indicates non-service. The value is taken
from the eBTax Taxware: Service Indicator profile option.
FUNCTION TAX_SEL_PARM(
p_view_name
p_header_id
p_line_id
IN VARCHAR2,
IN NUMBER,
IN NUMBER) RETURN NUMBER
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores the value 2 or 3
in the LINE_EXT_NUMBER_ATTRIBUTE6 column of the
ZX_PRVDR_LINE_EXTNS_GT table. 2 means use only the ship-to address in the tax
calculation; 3 means use all jurisdiction information in the tax calculation. The value is
taken from the eBTax Taxware: Tax Selection profile option.
FUNCTION CUSTOMER_NAME(
p_view_name IN VARCHAR2,
p_header_id IN NUMBER,
p_line_id IN NUMBER) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores the bill to party
PARTY_NAME from the HZ_PARTIES table in the
LINE_EXT_VARCHAR_ATTRIBUTE13 column of the ZX_PRVDR_LINE_EXTNS_GT
table. This value is used on the Sales/Use Tax Report to report by customer name.
FUNCTION VENDOR_CONTROL_EXEMPTIONS(
p_view_name
IN VARCHAR2,
p_header_id
IN NUMBER,
p_line_id
IN NUMBER,
p_trx_type_id
IN NUMBER) RETURN VARCHAR2;
4-16 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
p_trx_type_id
The function returns NULL by default and the calling procedure stores ATTRIBUTE1 of
the RA_CUST_TRX_TYPES_ALL table in the LINE_EXT_VARCHAR_ATTRIBUTE16
column of the ZX_PRVDR_LINE_EXTNS_GT table. The value corresponds to the job
number which is used to determine exemptions.
FUNCTION USE_NEXPRO(
p_view_name
IN VARCHAR2,
p_header_id
IN NUMBER,
p_line_id
IN NUMBER) RETURN VARCHAR2
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure assigns the value Y or
N to the LINE_EXT_VARCHAR_ATTRIBUTE17 column of the
ZX_PRVDR_LINE_EXTNS_GT table.
The value indicates whether Taxware uses the Nexpro functionality: Y = Use Nexpro; N
= Do not use Nexpro. The value is taken from the eBTax Taxware: Use Nexpro profile
option.
FUNCTION POO_ADDRESS_CODE(
p_view_name
IN VARCHAR2,
p_header_id
IN NUMBER,
p_line_id
IN NUMBER,
p_salesrep_id
IN NUMBER) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
p_salesrep_id
The function returns NULL by default and the calling procedure stores the value in the
ZX_PRVDR_LINE_EXTNS_GT table as per the description below. This function is only
for Taxware.
The value of the first character is always 1. The rest of the string is the jurisdiction code
for the Point of Order Origin. It is derived from the SALES_TAX_GEOCODE column of
the RA_SALESREPS view.
FUNCTION CALCULATION_FLAG(
p_view_name
IN VARCHAR2,
p_header_id
IN NUMBER,
p_line_id
IN NUMBER) RETURN VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores a 5-character
string, to represent the five jurisdiction level calculation flags, in the
LINE_EXT_VARCHAR_ATTRIBUTE21 column of the ZX_PRVDR_LINE_EXTNS_GT
table. The first character is for the state tax; the second for the county tax; the third for
the city tax; the fourth for the secondary county tax; and the fifth for the secondary city
tax.
Each character identifies whether tax should be calculated at a particular jurisdiction
level. 1 indicates that tax should not be calculated for this level; 0 indicates that tax
should be calculated.
4-18 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
FUNCTION TRX_LINE_TYPE(
p_view_name
IN VARCHAR2,
p_header_id
IN NUMBER,
p_line_id
IN NUMBER) RETURN
VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
The function returns NULL by default and the calling procedure stores the value SALE
in the LINE_EXT_VARCHAR_ATTRIBUTE1 column of the
ZX_PRVDR_LINE_EXTNS_GT table. Valid values are PURCHASE, RENTAL, SALE,
and SERVICE.
FUNCTION CUSTOMER_CLASS(
p_view_name
IN VARCHAR2,
p_header_id
IN NUMBER,
p_line_id
IN NUMBER,
p_customer_id
IN NUMBER) RETURN
VARCHAR2;
Input
Description
p_view_name
p_header_id
ID of transaction header
p_line_id
ID of transaction line
p_customer_id
The function returns NULL by default and the calling procedure also stores the value
NULL in the LINE_EXT_VARCHAR_ATTRIBUTE13 column of the
ZX_PRVDR_LINE_EXTNS_GT table. You can customize the function to return a
customer class code to use to determine exemptions.
PROCEDURE GET_EXEMPTIONS(
p_exemption_id IN NUMBER,
p_state_exempt_percent OUT NUMBER,
p_state_exempt_reason OUT VARCHAR2,
p_state_cert_no OUT VARCHAR2,
p_county_exempt_percent OUT NUMBER,
p_county_exempt_reason OUT VARCHAR2,
p_county_cert_no OUT VARCHAR2,
p_city_exempt_percent OUT NUMBER,
p_city_exempt_reason OUT VARCHAR2,
p_city_cert_no OUT VARCHAR2,
p_sec_county_exempt_percent OUT NUMBER,
p_sec_city_exempt_percent OUT NUMBER,
p_use_step OUT VARCHAR2,
p_step_proc_flag OUT VARCHAR2,
p_crit_flag OUT VARCHAR2)
Input
Description
p_exemption_id
ID of exemption record
p_<juris>_exempt_percent
p_<juris>_exempt_reason
p_<juris>_cert_no
p_use_step
p_step_proc_flag
p_crit_flag
Criterion flag
The procedure returns NULL values by default for all output parameters and the
calling procedure assigns the value as per the description below. This procedure is
called for Taxware integration only.
E-Business Tax stores exemptions for each jurisdiction individually in the
ZX_EXEMPTIONS table. Therefore, this procedure may get called five times if the
exemptions are defined for each of the five jurisdiction levels. E-Business Tax assigns
the values stored in the ZX_EXEMPTIONS table for each jurisdiction. Only the first two
characters of the exemption reason stored in ZX_EXEMPTIONS are passed to Taxware.
If ZX_EXEMPTIONS does not have exemption records for all five jurisdictions, Taxware
is passed Y for p_use_step, 1 for p_step_proc_flag, and R for p_crit_flag.
If this procedure is re-written at an installation, E-Business Tax passes the values of the
flags p_use_step, p_step_proc_flag and p_crit_flag to Taxware from the last call
4-20 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
E-Business Tax makes to the GET_EXEMPTION procedure for a transaction line. Each
call to GET_EXEMPTION should return a jurisdiction-specific exempt percentage,
exempt reason, and exempt certificate number that is passed to Taxware.
PROCEDURE GET_EXEMPTIONS(
p_exemption_id IN NUMBER,
p_cert_no OUT VARCHAR2,
p_state_exempt_percent OUT NUMBER,
p_state_exempt_reason OUT VARCHAR2,
p_county_exempt_percent OUT NUMBER,
p_county_exempt_reason OUT VARCHAR2,
p_city_exempt_percent OUT NUMBER,
p_city_exempt_reason OUT VARCHAR2,
p_district_exempt_percent OUT NUMBER,
p_district_exempt_reason OUT VARCHAR2)
Input
Description
p_exemption_id
ID of exemption record
p_<juris>_exempt_percent
p_<juris>_exempt_reason
p_cert_no
The procedure returns NULL values by default for all output parameters and the
calling procedure assigns the value as per the description below. This procedure is
called for Vertex integration only.
E-Business Tax stores exemptions for each jurisdiction individually in the
ZX_EXEMPTIONS table. Therefore, this procedure may get called four times if the
exemptions are defined for each of the four jurisdiction levels. E-Business Tax assigns
the values stored in the ZX_EXEMPTIONS table for each jurisdiction. Only the first
character of the exemption reason stored in ZX_EXEMPTIONS is passed to Vertex.
If this procedure is re-written at an installation, each call to GET_EXEMPTION should
return a jurisdiction-specific exempt percentage and exempt reason that is passed to
Vertex. The certificate number received from the last call to this function for a
transaction line is passed to Vertex for that transaction line.
Related Topics
Tax Partner Services Plug-In, Oracle E-Business Tax Reporting Guide
Column
Window
Field Name
Description
HR_LOCATION
S _V (Location
Address
descriptive
flexfield)
LOC_
INFORMATION
13
Location
Address
Sales Tax
Override
Ship-From
jurisdiction code.
HR_LOCATION
S _V (Location
Address
descriptive
flexfield)
LOC_
INFORMATION
14
Location
Address
Inside City
Limits
Indicates
whether the
address is
considered
inside or outside
the city limits
(Vertex only).
Field Name
Column
Description
AR_
RECEIVABLES_
TRX
Receivables
Activity
Information
ATTRIBUTE15
Post Adjustment
to Service
Provider
AR_TAXVDR_Y
ES_NO
RA_CUST_TRX_
TYPES_ALL
Transaction
Type
Information
ATTRIBUTE1
Job Number
(Taxware Only)
AR_TAXVDR_C
HAR10
4-22 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide
Column
Window
Field Name
Description
JTF_RS_
SALESREPS
SALES_TAX_
GEOCODE
Sales Force
Geo Override
Point of Order
Origin
jurisdiction code
(Taxware)
Point of Order
Acceptance
GeoCode
(Vertex)
HZ_LOCATION
S
AR_SYSTEM_
PARAMTERS_
ALL
SALES_TAX_IN
SIDE_CITY_
LIMITS
Sales Force
Inside City
Limits
Indicates
whether the
POA address is
inside the city
limits (Vertex
Only)
SALES_TAX_
GEOCODE
Customer
Addresses
Geo Override
Ship-to GeoCode
SALES_TAX_IN
SIDE _CITY_
LIMITS
Customer
Addresses
Inside City
Limits
Indicates
whether the
ship-to address
is inside the city
limits (Vertex
Only)
SALES_TAX_
GEOCODE
System Options
Geo Override
Point of Order
Acceptance
jurisdiction code
(Taxware Only)
Related Topics
Defining Descriptive Flexfields, Oracle Applications Flexfields Guide
4-24 Oracle E-Business Tax: Vertex Q-Series and Taxware Sales/Use Tax System Implementation Guide