GetColombianTaxSetUp

Get Tax Set Up - COL - 00 - 76C

Minor Business Rule

Object Name: B76C0006

Parent DLL: CLOC

Location: Client/Server

Language: C

Functional Description

Purpose
This business function gets the Colombian Tax Set Up from the UDCs 76C/PI (Tax Parameters) and 76C/AE 
(Economic Activity).


 

Setup Notes and Prerequisites 
The UDCs 76C/PI and 76C/AE need to be set up before this business function is called.

The  UDC 76C/PI indicates if a tax must be calculated. This UDC has the structure  SCTII where :

S = Indicates the system code. Example :

1.A/R Accounts Receivable
2.A/P Accounts Payable

3.G/L General Ledger


C = Indicates what type of  Tax Payer the Company is. This classification is given by the DIAN.
T = Indicates  what type of Tax Payer the Supplier or Customer is. This classification is given 

by the DIAN.

       

II = Indicates the Tax to be calculated. It has to be equal to the two first characters of the 

G/L Offset defined in the Tax Area. 

       


The UDC 76C/AE is used to defined the percentages for the tax : "ICA". This UDC has the strcuture 

IICCCAAA where :

II =   Indicates the Tax to be calculated. It has to be equal to the two first characters of 
the G/L Offset defined in the Tax Area.

             

CCC=   Code of the city where the tax applied. This code has to be equal to the category code 

20 of the Cost Center.

            

AAA=  Code of the City and Economic Activity of the Supplier. This code has to be equal to 

either the Address Book Category Code 007 or Voucher Category Code 007.

              



Special Logic

If the taxes, that make the tax area, must be  calculated, a flag will take a value of 'Y'.  This 
flag will be used by the Colombian Tax Calculator . 

If a percentage was defined in the field Special Handling Code of the UDCs, this percentage will be 

returned,  so the tax calculator will calculated taxes based on this rate when the rate specified in 

the Tax Area has a value of 0.



Technical Specifications

Parameters:
AN8mnAddressNumberIRequired
AC07szReportCode007INo Required

EV01cSystemCodeFlagIRequired. Values:

'1' = A/P

'2' = A/R

'3' = G/L

COszCompanyIRequired

TXR1mnTaxRate1I/ONo Required

TXR2mnTaxRate2I/ONo Required

TXR3mnTaxRate3I/ONo Required

TXR4mnTaxRate4I/ONo Required

TXR5mnTaxRate5I/ONo Required

GL01szGlClassByTaxArea1IRequired

GL02szGlClassByTaxArea2IRequired

GL03szGlClassByTaxArea3IRequired

GL04szGlClassByTaxArea4IRequired

GL05szGlClassByTaxArea5IRequired

DTAIszErrorMessageONo Required

EV01cCalculateTax1FlagONo Required

EV01cCalculateTax2FlagONo Required

EV01cCalculateTax3FlagONo Required

EV01cCalculateTax4FlagONo Required

EV01cCalculateTax5FlagONo Required

MCUszCostCenterIRequired

EV01cManualTaxInputFlagONo Required

EV01cControlMinimTax1FlagONo Required

EV01cControlMinimTax2FlagONo Required

EV01cControlMinimTax3FlagONo Required

EV01cControlMinimTax4FlagONo Required

EV01cControlMinimTax5FlagONo Required

MATH01mnMaximumCostTax1ONo Required

MATH02mnMaximumCostTax2ONo Required

MATH03mnMaximumCostTax3ONo Required

MATH04mnMaximumCostTax4ONo Required

MATH05mnMaximumCostTax5ONo Required





2.2Related Tables 

Table Table Description
F0010Company

F0101Address Book

F0006Cost Center


^

Data Structure

D76C0006 - Get Colombian Tax  Set Up - COL - 00                  - 76C

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szReportCode007AC07charNONENONE

One of 30 reporting codes that you can assign to an address in the Address Book system. Category Code 07 is used in the 1099 process to 
identify the box on the 1099 form in which a voucher or pay item should be reported. Examples include: 01 Rents 13 Nontaxable 
distributions 61  Interest income A7  Nonemployee compensation

cSystemCodeFlagEV01charNONENONE

An option that specifies the type of processing for an event.

szCompanyCOcharNONENONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

mnTaxRate1TXR1MATH_NUMERICNONENONE

A number that identifies the percentage of tax that should be assessed or paid to the corresponding tax authority, based on the tax area.  
Enter the percentage as a whole number and not as the decimal equivalent. For example, to specify 7 percent, enter 7, not .07. 

mnTaxRate2TXR2MATH_NUMERICNONENONE

A number that identifies the percentage of tax that should be assessed or paid to the corresponding tax authority, based on the tax area.  
Enter the percentage as a whole number and not as the decimal equivalent. For example, to specify 7 percent, enter 7, not .07. 

mnTaxRate3TXR3MATH_NUMERICNONENONE

A number that identifies the percentage of tax that should be assessed or paid to the corresponding tax authority, based on the tax area.  
Enter the percentage as a whole number and not as the decimal equivalent. For example, to specify 7 percent, enter 7, not .07. 

mnTaxRate4TXR4MATH_NUMERICNONENONE

A number that identifies the percentage of tax that should be assessed or paid to the corresponding tax authority, based on the tax area.  
Enter the percentage as a whole number and not as the decimal equivalent. For example, to specify 7 percent, enter 7, not .07. 

mnTaxRate5TXR5MATH_NUMERICNONENONE

A number that identifies the percentage of tax that should be assessed or paid to the corresponding tax authority, based on the tax area.  
Enter the percentage as a whole number and not as the decimal equivalent. For example, to specify 7 percent, enter 7, not .07.

szGlClassByTaxArea1GL01charNONENONE

A code that indicates how to locate the tax account for general ledger entries. This field points to automatic accounting instructions (AAIs) 
that, in turn, point to the tax account. Examples are:        PTyyyy - for A/P (VAT only)        RTyyyy - for A/R (VAT only)        GTyyyy - for G/L (VAT 
only)        4320 - for Sales Orders        4400 and 4410 - for Purchase Orders  When setting up VAT and Canadian GST, PTyyyy, RTyyyy, and 
GTyyyy are the only valid values. For the A/P system, a second G/L Offset (PT_ _ _ _) is required when your tax setup involves VAT plus use 
taxes (tax explanation code B). Use AAI PT_ _ _ _ to designate the use tax portion of the setup. For sales taxes, the Accounts Payable and 
Accounts Receivable systems ignore the values in this field. However, the Sales Order Management and Procurement systems require values in 
this field.

szGlClassByTaxArea2GL02charNONENONE

Code that indicates how to locate the tax account for general ledger entries. This field points to automatic accounting instructions (AAIs) that, 
in turn, point to the tax account. Examples are:   PTxxxx       for A/P (VAT only)   RTxxxx      for A/R (VAT only)   GTxxxx      for G/L (VAT only)   
SOTxxx      for Sales Orders    OPTxxx and OPAxxx      for Purchase Orders  For VAT and Canadian GST, only PTxxxx, RTxxxx, and GTxxxx are valid. 
For sales taxes, the A/P and A/R systems ignore the values in this field. For sales taxes, the Sales Order and Purchaser Order systems 
require values in this field. For the General Accounting system, VAT journal entries require values in this field. At this time, however, the system 
only uses the first G/L offset.

szGlClassByTaxArea3GL03charNONENONE

Code that indicates how to locate the tax account for general ledger entries. This field points to automatic accounting instructions (AAIs) that, 
in turn, point to the tax account. Examples are:   PTxxxx       for A/P (VAT only)   RTxxxx        for A/R (VAT only)   GTxxxx       for G/L (VAT only)   
SOTxxx       for Sales Orders    OPTxxx and OPAxxx       for Purchase Orders  For VAT and Canadian GST, only PTxxxx, RTxxxx, and GTxxxx are 
valid. For sales taxes, the A/P and A/R systems ignore the values in this field. For sales taxes, the Sales Order and Purchaser Order systems 
require values in this field. For the General Accounting system, VAT journal entries require values in this field. At this time, however, the system 
only uses the first G/L offset.

szGlClassByTaxArea4GL04charNONENONE

Code that indicates how to locate the tax account for general ledger entries. This field points to automatic accounting instructions (AAIs) that, 
in turn, point to the tax account. Examples are:   PTxxxx     for A/P (VAT only)   RTxxxx     for A/R (VAT only)   GTxxxx     for G/L (VAT only)   SOTxxx   
  for Sales Orders    OPTxxx and OPAxxx     for Purchase Orders  For VAT and Canadian GST, only PTxxxx, RTxxxx, and GTxxxx are valid. 
For sales taxes, the A/P and A/R systems ignore the values in this field. For sales taxes, the Sales Order and Purchaser Order systems require 
values in this field. For the General Accounting system, VAT journal entries require values in this field. At this time, however, the system only 
uses the first G/L offset.

szGlClassByTaxArea5GL05charNONENONE

Code that indicates how to locate the tax account for general ledger entries. This field points to automatic accounting instructions (AAIs) that, 
in turn, point to the tax account. Examples are:   PTxxxx     for A/P (VAT only)   RTxxxx     for A/R (VAT only)   GTxxxx     for G/L (VAT only)   SOTxxx   
  for Sales Orders    OPTxxx and OPAxxx     for Purchase Orders  For VAT and Canadian GST, only PTxxxx, RTxxxx, and GTxxxx are valid. 
For sales taxes, the A/P and A/R systems ignore the values in this field. For sales taxes, the Sales Order and Purchaser Order systems require 
values in this field. For the General Accounting system, VAT journal entries require values in this field. At this time, however, the system only 
uses the first G/L offset.

szErrorMessageDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cCalculateTax1FlagEV01charNONENONE

An option that specifies the type of processing for an event.

cCalculateTax2FlagEV01charNONENONE

An option that specifies the type of processing for an event.

cCalculateTax3FlagEV01charNONENONE

An option that specifies the type of processing for an event.

cCalculateTax4FlagEV01charNONENONE

An option that specifies the type of processing for an event.

cCalculateTax5FlagEV01charNONENONE

An option that specifies the type of processing for an event.

szCostCenterMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

cManualTaxInputFlagEV01charNONENONE

An option that specifies the type of processing for an event.

cControlMinimTax1FlagEV01charNONENONE

An option that specifies the type of processing for an event.

cControlMinimTax2FlagEV02charNONENONE

An option that specifies the type of processing for an event.

cControlMinimTax3FlagEV03charNONENONE

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cControlMinimTax4FlagEV04charNONENONE

PeopleSoft event point processing flag 04.

cControlMinimTax5FlagEV05charNONENONE

A flag that indicates whether automatic spell check is turned on.

mnMaximumCostTax1MATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

mnMaximumCostTax2MATH02MATH_NUMERICNONENONE

- - - Good Performance High Value. 

mnMaximumCostTax3MATH03MATH_NUMERICNONENONE

- - - Bad Performance Low Value. 

mnMaximumCostTax4MATH04MATH_NUMERICNONENONE

Event point for Math Numeric.

mnMaximumCostTax5MATH05MATH_NUMERICNONENONE

Event point for Math Numeric.

jdDateServiceCurrencyDSVJJDEDATEOPTNONE

A date that indicates when you purchased goods or services, or when you incurred a tax liability. 

Related Functions

None

Related Tables

None