Gets the Account's Tax Category with additional details from the Client.

Syntax

finAccount.GetTaxCategoryWithClient(dateAsAt, taxCategoryPk, [taxCategoryFromClient], [reference], [futureChange], [nextChangeDate], [transactionResidentStatus], [exempt], [clientTaxCategoryPk], [exemptionExpiryDate], [isDeclaredRate], [rate])

Parameters

NameTypeOptionalByRefDescription
dateAsAt Date The Date As At.
taxCategoryPk Integer ByRef The primary key of the Tax Category.
taxCategoryFromClient Boolean Optional ByRef Indicates whether the Tax Category is blank and has therefore been retrieved from the 'Main' Client. If omitted, a value of False is assumed.
reference String Optional ByRef The change Reference.
futureChange Boolean Optional ByRef Indicates whether there are Future Changes recorded (relative to dateAsAt). If omitted, a value of False is assumed.
nextChangeDate Date Optional ByRef If there is a future change the next change date. If omitted, a value of Nothing is assumed.
transactionResidentStatus isefinAccountTransactionResidentStatus Optional ByRef Indicates whether the Tax Category is flagged as 'Resident'. If omitted, a value of isefinAccountTransactionResidentStatus.NotApplicable is assumed.
exempt Boolean Optional ByRef Indicates whether the Tax Category is flagged as 'Exempt'. If omitted, a value of False is assumed.
clientTaxCategoryPk Integer Optional ByRef The 'Main' Client's Tax Category. Should generally match the Account's Tax Category. If omitted, a value of 0 is assumed.
exemptionExpiryDate Date Optional ByRef If Exempt, the 'Main' Client's Exemption Expiry Date or Nothing if the Client does not have an Expiry Date entered. If omitted, a value of Nothing is assumed.
isDeclaredRate Boolean Optional ByRef Indicates whether the Withholding Tax Rate is the 'Declared' Rate. If omitted, a value of False is assumed.
rate Double Optional ByRef The Withholding Tax Rate. If omitted, a value of 0 is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finAccount
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0