Functional Description
Purpose
This function is used to:
Calculate and validate the Check Digit for the Tax ID (NIT). The check digit is calculated using an
special mathematical routine.
Edit the Tax ID (NIT).
Setup Notes and Prerequisites
The UDC H00/TA has to be set up.
Special Logic
The business function will edit the Tax ID (NIT) when the field Person/Corporation Code is equal to
'C' or the Special Handling Code for the UDC H00/TA is equal to 'Y'.
The check digit is calculated if the UDC H00/TA takes a value of 'Y' in the field Special Handling
Code (for the person/corporation code given ).
When the field Tax ID has the character '-' in the last position, the business function calculates
the check digit.
against the check digit entered. If the check digit entered is invalid, an error (2787) is returned.
Technical Specifications
Parameters:
TAXszTaxId[21]I/ORequired
TAXCcPersonCorporationCodeIRequired
CJCNmnIdentificationNumberO
CJCDcCheckDigitO
CXTDszPersonCorporationDescription[4]O
DTAIsErrorO
^
D76C0001 - Validate Tax ID - COL - 00 - 76C
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szTaxId | TAX | char | OPT | NONE |
The identification code required by various tax authorities. This can be a social security number, federal or state corporate tax ID, sales tax
| ||||
cPersonCorporationCode | TAXC | char | OPT | NONE |
A code that designates the type of taxpayer. For 1099 reporting for U.S. suppliers and foreign suppliers, the system chooses only records
| ||||
mnIdentificationNumber | CJCN | MATH_NUMERIC | OPT | NONE |
The identification code required by various tax authorities. This can be a social security number, federal or state corporate tax ID, sales tax
| ||||
cCheckDigit | CJCD | char | OPT | NONE |
It is the NIT check digit. | ||||
szPersonCorporationDescription | CXTD | char | OPT | NONE |
A code that designates the type of taxpayer.
The allowed codes are :
"C" = Individual
"A" = Corporate Entity
"E" = Foreign Individual
| ||||
szError | DTAI | char | OPT | NONE |
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
|
X0005 Get User Defined Codes |
None |