org.kuali.kfs.fp.document.service
Interface DisbursementVoucherTaxService

All Known Implementing Classes:
DisbursementVoucherTaxServiceImpl

public interface DisbursementVoucherTaxService

This service interface defines the methods that a DisbursementVoucherTaxService implementation must provide. Handles queries and validation on tax id numbers.


Method Summary
 void clearNRATaxLines(DisbursementVoucherDocument document)
          Removes non-resident alien tax lines from the document's accounting lines and updates the check total.
 org.kuali.rice.kns.util.KualiDecimal getNonResidentAlienTaxAmount(DisbursementVoucherDocument document)
          Returns the non-resident alien accounting line tax amount (if any).
 List getNRATaxLineNumbers(String taxLineString)
          Returns a list of Integers representing the non-resident alien tax line numbers parsed from the line string.
 String getUniversalId(String taxIDNumber, String taxpayerTypeCode)
          Returns the employee id number whose tax number matches the number passed in, or null if no employee is found.
 String getVendorId(String taxIDNumber, String taxpayerTypeCode)
          Returns the vendor id number whose tax number matches the number passed in, or null if no vendor is found.
 void processNonResidentAlienTax(DisbursementVoucherDocument document)
          Generates new tax lines based on associated non-resident alien information, and debits the check total
 

Method Detail

getVendorId

String getVendorId(String taxIDNumber,
                   String taxpayerTypeCode)
Returns the vendor id number whose tax number matches the number passed in, or null if no vendor is found.

Parameters:
taxIDNumber - A vendor tax id number.
taxpayerTypeCode - A vendor tax payer type code.
Returns:
The id of the vendor found with a matching tax id number and payer type code, or null if no vendor is found.

getUniversalId

String getUniversalId(String taxIDNumber,
                      String taxpayerTypeCode)
Returns the employee id number whose tax number matches the number passed in, or null if no employee is found.

Parameters:
taxIDNumber - A vendor tax id number.
taxpayerTypeCode - A vendor tax payer type code.
Returns:
The universal id of the employee found with a matching tax id number and payer type code, or null if no employee is found.

clearNRATaxLines

void clearNRATaxLines(DisbursementVoucherDocument document)
Removes non-resident alien tax lines from the document's accounting lines and updates the check total.

Parameters:
document - The disbursement voucher document being modified.

processNonResidentAlienTax

void processNonResidentAlienTax(DisbursementVoucherDocument document)
Generates new tax lines based on associated non-resident alien information, and debits the check total

Parameters:
document - The disbursement voucher document being modified.

getNonResidentAlienTaxAmount

org.kuali.rice.kns.util.KualiDecimal getNonResidentAlienTaxAmount(DisbursementVoucherDocument document)
Returns the non-resident alien accounting line tax amount (if any).

Parameters:
document - The disbursement voucher being reviewed.
Returns:
The total tax amount of the non-resident alien accounting lines for the given disbursement voucher document.

getNRATaxLineNumbers

List getNRATaxLineNumbers(String taxLineString)
Returns a list of Integers representing the non-resident alien tax line numbers parsed from the line string.

Parameters:
taxLineString - The tax line representation as as string that will be parsed for the non-resident alien tax line numbers.
Returns:
A collection of Integers representing the line numbers of non-resident alien tax lines.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.